Skip to main content
PUT
Attach a pixel to a link
PUT /v1/tracking-pixel/{pixel_id}/links/{link_id} attaches a pixel; DELETE detaches it. Both require tracking_pixels.update and links.view. The operation is idempotent and returns the two public IDs, the resulting attached state, and changed. Detaching does not delete either resource.

Shared API behavior

Authentication is workspace-scoped; see Authentication. Errors use the standard envelope and request IDs described in Errors, and requests are subject to Rate limits.

Authorizations

Authorization
string
header
required

A workspace API key beginning with biqli_.

Path Parameters

pixel
string
required
Pattern: ^biq_pxl_[0-9A-HJKMNP-TV-Z]{26}$
Pattern: ^biq_lnk_[0-9A-HJKMNP-TV-Z]{26}$

Response

Attachment state.

resource_id
string
required
Pattern: ^biq_lnk_[0-9A-HJKMNP-TV-Z]{26}$
attached
boolean
required
changed
boolean
required
status
string
required
Allowed value: "success"