Create audiences
Create a new audience
Request body
requiredParameter | Details |
---|---|
id
| string Example: 645e0c241a93369ff53f26e0 |
name
| string Example: VIP customers |
description
| string Example: German VIP Customers from Hamburg only |
companyIds
| integer Example: 100 |
customerIds
| integer Example: 345,456,567 |
createdAt
| string Example: 2023-05-10T10:00:00.000Z |
updatedAt
| string Example: 2023-05-10T10:00:00.000Z |
Responses
201
Audience was successfully created.
application/json
Success
id
string
Example:
645e0c241a93369ff53f26e0
namerequired
string
Example:
VIP customers
descriptionrequired
string
Example:
German VIP Customers from Hamburg only
companyIdsrequired
Array of integer
customerIdsrequired
Array of integer
createdAt
string
Example:
2023-05-10T10:00:00.000Z
updatedAt
string
Example:
2023-05-10T10:00:00.000Z
400
Bad Request
application/json
Error
401
Unauthorized
application/json
Error
POST
Request samples
Response samples
201Brand:
Content type: application/json