API ReferenceSmart Links
List conversion pixels
Lists the Meta/TikTok CAPI pixel configurations attached to a smart link. The access token is never returned, only whether one is set. Requires a read-scoped key.
Authorization
bearerAuth AuthorizationBearer <token>
Your al_live_<prefix>_<secret> API key. Mint and manage keys in the dashboard.
In: header
Path Parameters
provider_id*string
The smart link's provider_id.
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/admin/smart-links/string/pixels"{ "items": [ { "platform": "meta", "pixel_id": "1234567890", "active": true, "event_map_json": "{\"subscription\":\"Subscribe\",\"ppv\":\"Purchase\"}", "has_token": true, "updated_at": 1719705600 } ]}{ "detail": { "code": "unauthorized", "message": "Invalid or missing API key" }}{ "detail": { "code": "engine_not_connected", "message": "Connect your engine to access this data." }}{ "detail": { "code": "smart_link_not_found", "message": "Smart link 'lnk_unknown' not found" }}Enable or disable a smart link
Sets the active flag on a smart link. Requires a write-scoped key.
Create or update a conversion pixel
Creates or updates the Meta/TikTok CAPI pixel config for a smart link. The access token is write-only; omitting or blanking it on an update keeps the existing token, and a token is required when creating a new pixel. Requires a write-scoped key.