POST
/v1/destinations/{provider}/syncSync an audience to a destination provider
Queues an existing audience for activation in Meta, Google Ads, or TikTok.
Authentication
Requires Authorization: Bearer ${API_KEY}. Create and rotate keys from the TrackLayer dashboard.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
provider | string | Yes | Provider slug: meta, google, google-ads, or tiktok. |
Request body schema
{
"audience_id": "string"
}Response schema · 202
{
"provider": "meta",
"audience_id": "aud_123",
"syncs": []
}Response example
{
"provider": "meta",
"audience_id": "aud_123",
"syncs": []
}Code examples
curl https://api.tracklayer.com/v1/destinations/{provider}/sync \
-X POST \
-H "Authorization: Bearer ${API_KEY}" \
-H "Content-Type: application/json" \
-d '{"event_name":"purchase","user_id":"u_123","properties":{"order_id":"100045","value":129}}'Try it out
Use the dashboard to create an API key, then run one of the examples above with TRACKLAYER_API_KEY set in your environment.