Update a pixel (pause, activate, or set path filters)
Pixels
Update a pixel (pause, activate, or set path filters)
Updates a pixel. Accepts status, excludedPaths, includedPaths, or any combination. Set paths to null to clear. Mutually exclusive: cannot have both includedPaths and excludedPaths set. Authenticates via X-API-Key header.
PATCH
Update a pixel (pause, activate, or set path filters)
Authorizations
Organization API key (sk_...). Get yours from Settings > API Keys in the dashboard.
Path Parameters
Body
application/json
Available options:
active, paused Example:
"paused"
Denylist: URL path prefixes where tracking is skipped. Mutually exclusive with includedPaths.
Maximum array length:
50Required string length:
2 - 500Pattern:
^\/Example:
["/blog", "/careers"]Allowlist: if set, tracking fires ONLY on matching path prefixes. Mutually exclusive with excludedPaths.
Maximum array length:
50Required string length:
2 - 500Pattern:
^\/Example:
["/pricing", "/demo"]Response
Pixel updated