Authorizations
API Key authentication. Pass your API key in the Authorization header.
Headers
API Key
Database URL - unique key received from login API under account section as 'accountUrl'
Body
application/json
payload
curl --request POST \
--url https://api.vodex.ai/api/v1/audience \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--header 'dburl: <dburl>' \
--data '{
"audienceName": "<string>",
"source": "<string>",
"projectId": "<string>",
"audienceList": [
{
"firstName": "<string>",
"lastName": "<string>",
"phone": "<string>"
}
]
}'
{
"status": 123,
"data": {
"projectId": "<string>",
"audienceName": "<string>",
"source": "<string>",
"audienceList": [
{}
],
"audienceHeader": [
{}
],
"_id": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"__v": 123
}
}
Create a new audience list with target contacts for your campaigns
curl --request POST \
--url https://api.vodex.ai/api/v1/audience \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--header 'dburl: <dburl>' \
--data '{
"audienceName": "<string>",
"source": "<string>",
"projectId": "<string>",
"audienceList": [
{
"firstName": "<string>",
"lastName": "<string>",
"phone": "<string>"
}
]
}'
{
"status": 123,
"data": {
"projectId": "<string>",
"audienceName": "<string>",
"source": "<string>",
"audienceList": [
{}
],
"audienceHeader": [
{}
],
"_id": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"__v": 123
}
}
API Key authentication. Pass your API key in the Authorization header.
API Key
Database URL - unique key received from login API under account section as 'accountUrl'
payload