PUT
/
pixels
/
{id}
Update Pixel Profile
curl --request PUT \
  --url https://connextify.com/api/v1/pixels/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "type": "<string>",
  "pixel_id": "<string>",
  "access_token": "<string>",
  "api_secret": "<string>",
  "test_event_code": "<string>",
  "delivery_mode": "<string>"
}
'
{
  "success": true,
  "data": {}
}
Update properties, external tag IDs, or CAPI credentials on an existing pixel profile. Updating a pixel automatically invalidates cached redirect handlers across all associated short links.

Path Parameters

id
string
required
The UUID of the pixel profile to update.

Body Parameters

name
string
required
Descriptive name for the pixel profile (1-100 characters).
type
string
required
Ad platform type (facebook, google, gtm, tiktok, linkedin, twitter, pinterest, microsoft, snapchat, reddit, etc.).
pixel_id
string
required
The external Pixel ID or Measurement ID (1-2000 characters).
access_token
string
Updated CAPI access token.
api_secret
string
Updated CAPI secret key.
test_event_code
string
Updated Meta or TikTok test event code.
delivery_mode
string
Event delivery mode: auto, server, or client.
Live Credential Validation on Update
Updating an existing pixel’s credentials triggers immediate validation with Meta, TikTok, or Google. Broken tokens return a 400 VALIDATION_ERROR. Successful updates automatically invalidate redirect caches across all short links using this pixel profile.

Response

success
boolean
Indicates if the update was successful.
data
object
The updated pixel profile object.

Request Examples

curl -X PUT "https://connextify.com/api/v1/pixels/7b3c29e1-4d82-4fa0-8f92-9118c7e91240" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Updated Meta CAPI Tag",
    "type": "facebook",
    "pixel_id": "849204918204918",
    "delivery_mode": "server"
  }'