ReferenceCampaigns API
Add a custom stop keyword
POST
Adds a custom inbound stop keyword for a WABA channel.
- Body requires
channelIdandvalue(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.
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.
value*stringCustom stop keyword display text (1–64 chars after trim).
Length
1 <= length <= 64application/json- response
id*stringchannelId*stringkind*stringValue in
"stop""start"displayValue*stringnormalizedValue*stringisProtected*booleancreatedAt*stringFormat
date-timeupdatedAt*stringFormat
date-timecurl -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"}