Compliance Keywords Messages
SMS Compliance keywords messages endpoints allow you to manage answers that are sent to compliance keywords (as STOP for unsubscription )
Compliance Keyword messages are only available for SMS
Types of KeyWords (KW field)
In order to set customized compliance keyword messages you will need to associate them with a type of keyword ( kw ) . Several types exist
Codebeispiel
type: string
enum:
- "optin"
- "optout"
- "help"
OPT IN
Categories all keywords that indicate a subscriber's intention to subscribe or resubscribe to a service (ex START)
OPT-OUT
Categories all keywords that indicate a subscriber's intention to unsubscribe from a service (ex STOP)
HELP
Categories all keywords intended to provide simplified instructions to subscribers (ex HELP) .
Good practices require structuring HELP messages as follows
brand_name , support_contact (both URL or TFN or email ) followed by common_keywords . For example:
Bird CRM: you can contact us at support@bird.com, send START to subscribe, STOP to unsbscribe. Msg & data charges may applies
Languages
Compliance Keywords Messages are always associated with the language; so for example. optin:en Identify all keywords in English ( en ) that are used to identify a contact opting in to receive communications from a brand
Default Keywords
Bird CRM system always listens for predetermined keywords categorized by type and language as below. Via the Compliance Keywords Messages endpoint you can customize the acknowledgment message each category will trigger otherwise the default response will be sent
| Type | Language | Keywords | Default Response |
|---|---|---|---|
| help | de | HILFE | Verwalten Sie Ihre Einstellungen. Senden Sie HALT, um sich abzumelden. Standardnachrichten- und Datentarife gelten. |
| help | en | HELP, INFO | Manage your preferences. Reply STOP to opt out. Msg&Data rates may apply. |
| help | es | AYUDA | Administre sus preferencias. Envíe DETENER para cancelar la suscripción. Se pueden aplicar tarifas estándar de mensajes y datos. |
| help | fr | AIDE | Gerez vos preferences. Repondez ARRET pour vous desabonner. Frais std de mgs et donnees appl. |
| help | it | AIUTO | Gestisci le tue preferenze. Invia FERMA per annullare l'iscrizione. Si applicano le tariffe standard per messaggi e dati. |
| help | nl | HULP | Beheer uw voorkeuren. Stuur STOP om u af te melden. Standaard bericht- en datatarieven zijn van toepassing. |
| help | pl | POMOCY | Zarządzaj swoimi preferencjami. Wyślij ZATRZYMAJ, aby anulować subskrypcję. Obowiązują standardowe opłaty za wiadomości i dane. |
| help | pt | AJUDA | Gerencie suas preferências. Envie PARAR para cancelar a inscrição. Podem ser aplicadas taxas padrão de mensagens e dados. |
| help | ru | ПОМОЩЬ | Управляйте своими предпочтениями. Отправьте ОСТАНОВИТЬ, чтобы отказаться от подписки. Применяются стандартные тарифы за сообщения и данные. |
| help | zh | 帮助 | 管理您的偏好。回复 停止 退订。可能会收取标准消息和数据费用。 |
| optin | de | START | INFO: Sie haben sich für Marketingnachrichten angemeldet. Senden Sie HALT, um sich abzumelden. Senden Sie HILFE für Informationen. Standardnachrichten- und Datentarife gelten. |
| optin | en | START, BEGIN, RESUME, REVERT, UNSTOP | INFO: You have opted in for marketing messages. REPLY STOP to opt out. Reply HELP for info. Msg&Data rates may apply. |
| optin | es | START | INFO: Se ha suscrito a mensajes de marketing. Envíe DETENER para cancelar la suscripción. Responda AYUDA para obtener información. Se pueden aplicar tarifas estándar de mensajes y datos. |
| optin | fr | NONARRET | INFO: Vous avez opte pour recevoir des messages. Repondez ARRET pour vous desabonner. Frais std de mgs et donnees appl. |
| optin | it | START | INFO: Ti sei iscritto per ricevere messaggi di marketing. Invia FERMA per annullare l'iscrizione. Rispondi AIUTO per informazioni. Si applicano le tariffe standard per messaggi e dati. |
| optin | nl | START | INFO: U heeft zich aangemeld voor marketingberichten. Stuur STOP om u af te melden. Stuur HULP voor info. Standaardbericht- en datatarieven zijn van toepassing. |
| optin | pl | START | INFO: Zapisano się na wiadomości marketingowe. Wyślij ZATRZYMAJ, aby anulować subskrypcję. Odpowiedz POMOCY, aby uzyskać dodatkowe informacje. Obowiązują standardowe opłaty za wiadomości i dane. |
| optin | pt | START | INFO: Você se inscreveu para receber mensagens de marketing. Envie PARAR para cancelar a inscrição. Responda AJUDA para obter informações. Podem ser aplicadas taxas padrão de mensagens e dados. |
| optin | ru | START | INFO: Вы подписались на маркетинговые сообщения. Отправьте ОСТАНОВИТЬ, чтобы отказаться от подписки. Ответьте ПОМОЩЬ для получения информации. Применяются стандартные тарифы за сообщения и данные. |
| optin | zh | 起头 | INFO: 您已选择接收营销消息。回复 停止 退订。回复 帮助 获取信息。可能会收取标准消息和数据费用。 |
| optout | de | HALT | Sie haben sich abgemeldet und erhalten keine weiteren Nachrichten. Senden Sie START, um sich erneut anzumelden. Standardnachrichten- und Datentarife gelten. |
| optout | en | STOP, STOPALL, END, QUIT, CANCEL, UNSUBSCRIBE | You replied STOP and will be opted-out of further marketing messages. REPLY START to opt-in again or HELP for info. Msg&Data rates may apply. |
| optout | es | DETENER | Se ha dado de baja y no recibirá más mensajes. Envíe START para volver a suscribirse. Se pueden aplicar tarifas estándar de mensajes y datos. |
| optout | fr | ARRET | Vous avez ete desabonne et ne recevrez plus de messages. Envoyez START pour vous réabonner Frais std de mgs et donnees appl. |
| optout | it | FERMA | Ti sei disiscritto e non riceverai più messaggi. Invia START per iscriverti nuovamente. Si applicano le tariffe standard per messaggi e dati. |
| optout | nl | STOP | U bent afgemeld en ontvangt geen berichten meer. Stuur START om u opnieuw aan te melden. Standaardbericht- en datatarieven zijn van toepassing. |
| optout | pl | ZATRZYMAJ | Zrezygnowałeś i nie otrzymasz więcej wiadomości. Wyślij START, aby ponownie się zarejestrować. Obowiązują standardowe opłaty za wiadomości i dane. |
| optout | pt | PARAR | Você foi removido e não receberá mais mensagens. Envie START para se inscrever novamente. Podem ser aplicadas taxas padrão de mensagens e dados. |
| optout | ru | ОСТАНОВИТЬ | Вы отписались и больше не будете получать сообщения. Отправьте START, чтобы подписаться снова. Применяются стандартные тарифы за сообщения и данные. |
| optout | zh | 停止 | 您已退订,将不再收到消息。回复 起头 重新订阅。可能会收取标准消息和数据费用。 |
Endpoints
List all messages
GET
/workspaces/{workspaceId}/keyword-messages
List all keyword messages for this workspace
Antwort-Payload
results
array of object
Untergeordnete Attribute anzeigen
results.Key
string
results.KW
string
Possible values: optin, optout, help, subscriptionRequest
results.Lang
string
results.Value
string
Codebeispiel
curl -X GET 'https://api.bird.com/workspaces/{workspaceId}/keyword-messages' \
-H 'Authorization: AccessKey YOUR_ACCESS_KEY'This endpoint will return all the costume messages you have set in the target workspace
Codebeispiel
{
"results": [
{
"key": "optout:en",
"kw": "optout",
"lang": "en",
"value": "We are sorry to see you go, please send OOPS if that was a mistake"
}
}
Define a message for a given keyword
POST
/workspaces/{workspaceId}/keyword-messages
Set a keyword message
Anfrage-Payload
kw
string
erforderlich
Possible values: optin, optout, help, subscriptionRequest
lang
string
erforderlich
value
string
erforderlich
Codebeispiel
curl -X POST 'https://api.bird.com/workspaces/{workspaceId}/keyword-messages' \
-H 'Authorization: AccessKey YOUR_ACCESS_KEY'Codebeispiel
{
"kw": "optout",
"lang": "en",
"value": "We are sorry to see you go, please send OOPS if that was a mistake",
}
You can only define a message for a type of keyword and language (keywordMessageKey ). You cannot have multiple messages for the same combination of type and language
If you want to revert to the default message, use the below methods with an empty value "value": ""
Check a Singel Compliance Keyword Message
GET
/workspaces/{workspaceId}/keyword-messages/{keywordMessageKey}
Get keyword messages for this workspace and key (keyword:lang)
Antwort-Payload
Key
string
KW
string
Possible values: optin, optout, help, subscriptionRequest
Lang
string
Value
string
Codebeispiel
curl -X GET 'https://api.bird.com/workspaces/{workspaceId}/keyword-messages/{keywordMessageKey}' \
-H 'Authorization: AccessKey YOUR_ACCESS_KEY'keywordMessageKey indicates the keyword type and languages, for example for the example above it would be optout:en