Tone docs
API referenceCampaigns

Delete a campaign and its recipients

The calls it already placed survive in the call log — deleting the campaign must not erase the record of what was dialled.

Requires the write scope. A key with less gets 403 insufficient_scope.

DELETE
/v1/campaigns/{id}
AuthorizationBearer <token>

Authorization: Bearer tone_live_… or tone_test_…. The prefix IS the environment: a test key reaches only the sandbox, and no request field bridges the two.

In: header

Path Parameters

id*string

The campaign's id.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/v1/campaigns/string"
{  "data": null}
Was this page helpful?