POST
/
meta
/
get_custom_audiences
Get Custom Audiences
curl --request POST \
  --url https://public.plai.io/meta/get_custom_audiences \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "userId": "<string>",
  "pagination": "<string>"
}'
{
  "success": true,
  "results": {
    "success": true,
    "customAudiences": [
      {
        "id": "<string>",
        "name": "<string>",
        "subtype": "<string>"
      }
    ],
    "next": "<string>",
    "previous": "<string>",
    "error": "<string>"
  }
}

Request Body

userId
string
required
User ID, If not already created, make a user on create user page first. If already created, retrieve the user ID from get profile page.
pagination
string
If the number of results exceeds the page limit, the response will include pagination links (next and previous) to help you navigate through the result set.

Response

success
boolean
Indicates that the HTTP response was successful (status code 200 OK).
results
object