POST
/
linkedin
/
get_audiences_list
Get Audiences List
curl --request POST \
  --url https://public.plai.io/linkedin/get_audiences_list \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "userId": "<string>"
}'
{
  "success": true,
  "results": {
    "success": true,
    "audiences": [
      {
        "name": "<string>",
        "sourcePlatform": "<string>",
        "id": 123,
        "type": "<string>",
        "account": "<string>",
        "destinations": [
          {
            "destination": "<string>",
            "lastModified": 123,
            "audienceSize": 123,
            "created": 123,
            "destinationSegmentId": "<string>",
            "status": "<string>",
            "matchedCount": 123
          }
        ],
        "inputCount": 123
      }
    ],
    "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.

Response

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