Skip to Content
1MSG
ReferenceCampaigns API

Remove a stoplist entry

DELETE
/api/v1/campaigns/stoplist

Removes an active opt-out entry from a channel's stoplist.

  • Provide either entryId, or channelId together with phone and/or bsuid.
  • Emits a stoplist.updated webhook event with action: "removed" and source: "api".

Authorization

bearer
headerAuthorizationBearer <API key>

Key issued in Settings → Developer → API key. Inbox methods need the Inbox scope. Campaigns methods need the Campaigns scope.

Request Body

application/json
  1. body
entryId?string

Existing entry id. When set, channelId/phone/bsuid are ignored.

channelId?string

Channel id. Required when entryId is omitted.

phone?string

E.164 phone to remove.

bsuid?string

BSUID to remove.

Response Body

response?unknownapplication/json
Example Request
curl -X DELETE 'https://api.1msg.io/api/v1/campaigns/stoplist' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "removed": true,  "id": "string"}