Skip to Content
1MSG
ReferenceCampaigns API

Add a custom stop keyword

POST
/api/v1/campaigns/stoplist/keywords

Adds a custom inbound stop keyword for a WABA channel.

  • Body requires channelId and value (1–64 characters after trim).
  • Rejects normalized duplicates and requests when 5 custom stop keywords already exist on the channel. Opt-in keywords are fixed defaults and cannot be customized.

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.

value*string

Custom stop keyword display text (1–64 chars after trim).

Length1 <= length <= 64

Response Body

application/json
  1. response
id*string
channelId*string
kind*string
Value in"stop""start"
displayValue*string
normalizedValue*string
isProtected*boolean
createdAt*string
Formatdate-time
updatedAt*string
Formatdate-time
Example Request
curl -X POST 'https://api.1msg.io/api/v1/campaigns/stoplist/keywords' \  -H 'Content-Type: application/json' \  -d '{  "channelId": "string",  "value": "string"}'
Example Response
{  "id": "string",  "channelId": "string",  "kind": "stop",  "displayValue": "string",  "normalizedValue": "string",  "isProtected": true,  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z"}