Campaign
Campaign list
GET
https://partner-api.sddan.com/api/v1/public/event-notify/campaign
Get campaign list
Query Parameters
Name | Type | Description |
---|---|---|
size | number | number of maximum campaign returned by call |
page | number |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | token |
Campaign
GET
https://partner-api.sddan.com/api/v1/public/event-notify/campaign/:id
Path Parameters
Name | Type | Description |
---|---|---|
id | string | campaign id |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | token |
Create campaign
POST
https://partner-api.sddan.com/api/v1/public/event-notify/campaign
JSON body
Headers
Name | Type | Description |
---|---|---|
Authorization | string | token |
Request Body
Name | Type | Description |
---|---|---|
filter_partner_audience | boolean | should used only traffic linked to partner id? |
ready_for_activation | boolean | is campaign should start? |
status_endpoint | string | if precise, notify service will call this URL to check if notifying must continue |
capping_notify_per_minute | number | max number of notify sent by minute |
webhook_endpoint | string | url called by service to notify |
delay_before_notify_same_id_in_second | number | |
max_notifying_per_id | number | max notification by hash (or reference id if used in upload) |
max_event_age_in_second | number | max event age in second before notification |
end | string | end time, example : 2019-10-01T00:09:41.32419522+02:00 |
start | string | start time, example : 2019-07-25T17:09:41.32419522+02:00 |
map_value_types | string | ["EMAIL_HASH"] |
event | array | ["ONLINE"] |
devices | array | ["DESKTOP","MOBILE"] |
notify_method | string | only value for now : WEBHOOK |
name | string | campaign name |
id_audience | string | audience id |
Update campaign
PUT
https://partner-api.sddan.com/api/v1/public/event-notify/campaign/:id
Use same parameters as create campaign
Path Parameters
Name | Type | Description |
---|---|---|
id | string | campaign id |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | token |
Last updated