Endpoint
Headers
| Header | Value |
|---|---|
Accept | application/json |
Authorization | Bearer {API_TOKEN} |
Content-Type | application/json |
Body parameters
Registered Sender ID.
Recipient phone number. Accepts local format, country code, or
+ prefix.Sender ID route. Accepted values:
transactional or promotional.RCS content type. Accepted values:
text, standalone, or carousel.Text message body. Required when
template_type is text.When
true, Sling falls back to SMS if the recipient does not support RCS.Sender ID used for the SMS fallback when
fallback_sms is true. For example, Sling while your RCS sender is RCS.Interactive suggestion chip objects. See RCS Suggestions.
Required when
template_type is standalone.Required when
template_type is carousel.SMS fallback
Set
fallback_sms to true and Sling will re-send the message as a standard SMS if the recipient does not support RCS. Use fallback_sms_sender to set the SMS Sender ID for that fallback (for example, Sling when your RCS sender is RCS).Response fields
"success" when the message is accepted.Unique message ID. Use it with Message Status.
Sender ID used for delivery.
Text content for
text messages.Normalized recipient phone number.
Credits deducted for this message.
Error responses
| Status | Meaning |
|---|---|
400 | Missing or invalid request fields |
400 | Insufficient credit |
