Audience

get
Get audience list

https://partner-api.sddan.com/api/v1/public/event-notify/audience
Get token
Request
Response
Request
Headers
Authorization
required
string
token
Response
200: OK
Cake successfully retrieved.
[
{
"id": "xxxxxxx-e8ad-4f53-9234-2fca87fe9d86",
"id_partner": 12345,
"name": "My Audience",
"type": "EMAIL_HASH",
"status": "UPLOADING",
"last_update": "2019-07-29 12:50:38"
}
]

get
Get audience

https://partner-api.sddan.com/api/v1/public/event-notify/audience/:id
Request
Response
Request
Path Parameters
id
required
string
audience id
Headers
Authorization
required
string
token
Response
200: OK
{
"id": "xxxxxxx-e8ad-4f53-9234-2fca87fe9d86",
"id_partner": 12345,
"name": "My Audience",
"type": "EMAIL_HASH",
"status": "UPLOADING",
"last_update": "2019-07-29 12:50:38"
}
404: Not Found
audience id not found

post
Create audience

https://partner-api.sddan.com/api/v1/public/event-notify/audience
Post csv (comma separator) with 3 columns : - hash type : hd_m (md5) or hd_s256 (sha 256) - hash value - reference id
Request
Response
Request
Headers
name
optional
string
audience name
Authorization
required
string
token
Response
200: OK
{
"id": "xxxxxxx-e8ad-4f53-9234-2fca87fe9d86",
"id_partner": 12345,
"name": "My Audience",
"type": "EMAIL_HASH",
"status": "UPLOADING",
"last_update": "2019-07-29 12:50:38"
}
400: Bad Request