Skip to Content
1MSG
ReferenceCampaigns API

Update stoplist settings

PATCH
/api/v1/campaigns/stoplist/settings

Updates per-channel stoplist suppression settings.

  • Body requires channelId and boolean blockUtilityAuth.
  • When blockUtilityAuth is true, UTILITY and AUTHENTICATION template sends also suppress stoplisted contacts alongside MARKETING templates.

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
channelId*string

Channel id.

blockUtilityAuth*boolean

When true, UTILITY and AUTHENTICATION template campaigns also suppress stoplisted recipients.

Response Body

application/json
  1. response
channelId*string
blockUtilityAuth*boolean
Example Request
curl -X PATCH 'https://api.1msg.io/api/v1/campaigns/stoplist/settings' \  -H 'Content-Type: application/json' \  -d '{  "channelId": "string",  "blockUtilityAuth": true}'
Example Response
{  "channelId": "string",  "blockUtilityAuth": true}