Delete an SMS campaign

Delete an SMS campaign

DELETE/api/v1/sms/campaigns/{id}

DELETE /sms/campaigns/{id}
curl -X DELETE 'https://www.unitpost.com/api/v1/sms/campaigns/cmp_123' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'User-Agent: my-app/1.0'

Archive a draft or finished SMS campaign; its delivery history is kept and an already archived campaign returns 204 again. Restore it with { "archived": false } on Update an SMS campaign. A scheduled, sending or paused campaign returns 409: cancel it first with Cancel an SMS campaign. Requires the campaigns:write capability.

Parameters1 field
FieldTypeDescription
idrequiredstring · path—
204401403404409

Search docs and guides

Search the docs and product guides.