Skip to Content
1MSG
ReferenceCampaigns API

List stoplist keywords

GET
/api/v1/campaigns/stoplist/keywords

Lists protected default stop/opt-in keywords and custom stop keywords for a channel.

  • channelId query parameter is required; protected defaults are seeded lazily on first read.
  • Returns customStopRemaining (up to 5 custom stop keywords per channel).

Authorization

bearer
headerAuthorizationBearer <API key>

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

Query Parameters

channelId?string

Channel id.

Response Body

application/json
  1. response
items*array<>
customStopRemaining*number

How many custom (non-protected) stop words remain allowed.

Example Request
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}