RCS - Outgoing
Send RCS text only messages
post/v4/rcs/outgoing/text
Request
- Base URL: https://api.inmobile.com
- URL: https://api.inmobile.com/v4/rcs/outgoing/text
- Auth: one of:
- HTTP basic
- API key in query parameter apikey
Request body
Example request
{
"messages": [
{
"to": "4512345678",
"countryHint": "45",
"agentId": "65a53287-862b-44dd-afed-0e7aef22a688",
"messageTrafficType": 4,
"messageId": "PetShop",
"respectBlacklist": true,
"validityPeriodInSeconds": 90,
"msisdnCooldownInMinutes": 1440,
"webhooks": {
"statusCallbackUrl": "https://[your_domain]/your/desired/path",
"readCallbackUrl": "https://[your_domain]/your/desired/path"
},
"suggestions": [
{
"reply": {
"text": "This is text",
"postbackData": "eyJ0eXBlIjowfQ=="
}
}
],
"text": "This is a message text to be sent"
}
]
}Response
Example response
{
"results": [
{
"numberDetails": {
"countryCode": "45",
"phoneNumber": "12345678",
"rawMsisdn": "45 12 34 56 78",
"msisdn": "4512345678",
"isValidMsisdn": true,
"countryHint": "45"
},
"agentId": "foo-123-bar",
"messageId": "PetShop"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.