Campaigns
Cancel campaign
Cancel a campaign.
409 if already terminal. Requires campaigns:write.
Request
curl -X POST "https://api.blueticks.co/v1/campaigns/string/cancel"{
"success": true,
"data": {
"id": "string",
"name": "string",
"audience_id": "string",
"status": "pending",
"total_count": 0,
"sent_count": 0,
"delivered_count": 0,
"read_count": 0,
"failed_count": 0,
"from": "string",
"created_at": "2019-08-24T14:15:22Z",
"started_at": "2019-08-24T14:15:22Z",
"completed_at": "2019-08-24T14:15:22Z",
"aborted_at": "2019-08-24T14:15:22Z"
}
}{
"success": false,
"error": {
"code": "string",
"message": "string",
"request_id": "string",
"details": [
{
"path": "string",
"code": "string",
"message": "string"
}
]
}
}Path Parameters
id*string
Response
Response Body
application/json
application/json