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" }
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"
}