Skip to main content
3 of 3
source formatting
Adam Spriggs
  • 31.1k
  • 6
  • 44
  • 88

Keyword association to contact number

I need help with Marketing Cloud MobileConnect. Is it possible to link a keyword and a ShortCode to a contact number per REST API?

I found the example below in the documentation, but it does not work.

Example QueueMO API Request

POST https://YOUR_SUBDOMAIN.rest.marketingcloudapis.com/sms/v1/queueMO
Content-Type: application/json
Authorization: Bearer YOUR_OAUTH_ACCESS_TOKEN
{
  "mobileNumbers": [
    "15555551212"
  ],
  "shortCode": "Code",
  "messageText": "KEYWORD"
}

Mobile Connect API documentation