Skip to main content
GET/v1/audiences/{audience_id}

Get an audience

Returns audience configuration, current membership count, and activation status.

Authentication

Requires Authorization: Bearer ${API_KEY}. Create and rotate keys from the TrackLayer dashboard.

Path parameters

NameTypeRequiredDescription
audience_idstringYesAudience identifier.

Response schema · 200

{
  "id": "aud_123",
  "name": "High LTV",
  "count": 2401,
  "status": "ready"
}

Response example

{
  "id": "aud_123",
  "name": "High LTV",
  "count": 2401,
  "status": "ready"
}

Code examples

curl https://api.tracklayer.com/v1/audiences/aud_123 \
  -H "Authorization: Bearer ${API_KEY}"

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.

Open API key settings

We use essential cookies to keep the site secure and functional. Analytics and third-party tags run only with your consent. See our Cookie Policy.

We use essential cookies to keep the site secure and functional. Analytics and third-party tags run only with your consent. See our Cookie Policy.