ReferenceCampaigns API
Update stoplist settings
PATCH
Updates per-channel stoplist suppression settings.
- Body requires
channelIdand booleanblockUtilityAuth. - When
blockUtilityAuthistrue,UTILITYandAUTHENTICATIONtemplate sends also suppress stoplisted contacts alongsideMARKETINGtemplates.
bearerheader
AuthorizationBearer <API key>Key issued in Settings → Developer → API key. Inbox methods need the Inbox scope. Campaigns methods need the Campaigns scope.
application/json- body
channelId*stringChannel id.
blockUtilityAuth*booleanWhen true, UTILITY and AUTHENTICATION template campaigns also suppress stoplisted recipients.
application/json- response
channelId*stringblockUtilityAuth*booleancurl -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}