API Join campaigns with array campaign id
ENDPOINT: /join/multi/campaigns
METHOD: POST
PARAMETER
HEADER : “Authorization: Bearer {access_token}”
HEADER: “X-Port-Type: {type}” (type: PUB)
BODY:
{
"campaign_ids": [1, 2, 3, 4, 12, 13, 14]
}
RESPONSE:
1.Status: Error
{
"status": "error",
"message": "join campaigns error"
}
1.Status: Success
{
"status": "success",
"data": {
"success":[
{
"id" : 1,
"name": "campaign 1"
}
],
"errors":[
{
"id" : 2,
"name": "campaign 2"
}
]
}
}
Last updated
Was this helpful?