POST
/
linkedin
/
link_csv_audience_file
Link CSV Audience
curl --request POST \
  --url https://public.plai.io/linkedin/link_csv_audience_file \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "userId": "<string>",
  "csvFileId": "<string>"
}'
{
  "success": true,
  "results": {
    "success": true,
    "audienceId": "<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.
csvFileId
string
required
Csv File ID of the CSV file to link. If not already created, make a CSV file on create CSV audience page first.

Response

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