Skip to main content
GET
/
audiences
/
global
Get global audience
curl --request GET \
  --url https://api.kameleoon.com/audiences/global \
  --header 'Authorization: Bearer <token>'
{
  "dataCode": "89599333501501534304101214660291496129464311669540935471556471877530843827432"
}

Documentation Index

Fetch the complete documentation index at: https://docs.kameleoon.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

request
object
required

Response

OK

dataCode
string

Hash code containing information about the data request, such as dates, goals, variations, format, filters, and so on. Use this code in the AudienceController#poll or DataController functions to obtain actual results. There are two possible formats for the code, depending on the context: 123...123 or 123...123|123...123. For example, AudienceController#global generates the latter.

Example:

"89599333501501534304101214660291496129464311669540935471556471877530843827432"