ReferenceCampaigns API
List stoplist keywords
GET
Lists protected default stop/opt-in keywords and custom stop keywords for a channel.
channelIdquery parameter is required; protected defaults are seeded lazily on first read.- Returns
customStopRemaining(up to 5 custom stop keywords per channel).
bearerheader
AuthorizationBearer <API key>Key issued in Settings → Developer → API key. Inbox methods need the Inbox scope. Campaigns methods need the Campaigns scope.
channelId?stringChannel id.
application/json- response
items*array<>customStopRemaining*numberHow many custom (non-protected) stop words remain allowed.
curl -X GET 'https://api.1msg.io/api/v1/campaigns/stoplist/keywords'Example Response
{ "items": [ { "id": "string", "channelId": "string", "kind": "stop", "displayValue": "string", "normalizedValue": "string", "isProtected": true, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" } ], "customStopRemaining": 0}