Campaigns

Delete (cancel) a campaign

DELETE
/api/campaigns/{id}

Cancels a campaign and releases its reserved SMS quota for the scheduled date. Sent or in-progress campaigns cannot be cancelled.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/api/campaigns/string"
{  "success": true,  "message": "Campaign cancelled"}