POST
/
audiences
/
bulk-add
curl --request POST \
  --url https://your_a2_service/audiences/bulk-add \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '[
  {
    "alt_id": {},
    "created_at": "2023-11-07T05:31:56Z",
    "id": "<string>",
    "id_type": "<string>",
    "properties": {},
    "updated_at": "2023-11-07T05:31:56Z"
  }
]'
"<any>"

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json · object[]
id
string
required
alt_id
object | null

Alternate identifier for the audience

created_at
string | null

The date and time the entity was created.

id_type
string | null
default:account_id

The type of the identifier

properties
object

Properties for the audience

The key is AudienceAttribute.code, and the value can be a list of AudienceAttributeValue.value
updated_at
string | null

The date and time the entity was last updated.

Response

200
application/json
Successful Response

The response is of type any.

Was this page helpful?