Skip to main content
POST
cURL

Authorizations

X-Auth-ID
string
header
required

Your Vobiz account Auth ID (MA_XXXXXXXX).

X-Auth-Token
string
header
required

Your Vobiz account Auth Token.

Path Parameters

auth_id
string
required

Your account Auth ID. It must match the X-Auth-ID header.

Example:

"MA_XXXXXXXX"

Body

application/json

What to send, from which sender, to whom and on which channel, plus optional scheduling, idempotency, RCS and India DLT settings.

from
string
required

The sender. For sms and mms, a number on your account in E.164 format, for example +14155550100. Alphanumeric sender IDs are not available self-serve outside India. For rcs, the senderName of your RCS sender (from GET /Sender/) or a number on your account. With failoverToSms, the SMS copy is sent from this same from, so for US and Canadian recipients the fallback needs a number here.

Example:

"+14155550100"

to
string[]
required

One or more recipient numbers in E.164 format. Each one becomes a separate message with its own id; blank entries and duplicates are skipped. At least one recipient is required.

Minimum array length: 1
Example:
channel
enum<string>
default:sms

Channel to send on: sms, mms or rcs. Defaults to sms. An sms with mediaUrls to US or Canadian recipients is sent as MMS automatically.

Available options:
sms,
mms,
rcs
text
string

Message body. Required for sms and for a plain rcs text message. With rcsTemplateName or rcsContent it is used only as the SMS fallback text, and is required when failoverToSms is true. A long SMS is split into segments and billed per segment (160 GSM-7 or 70 UCS-2 characters fit in one segment). For mms, provide text, mediaUrls or both, with text up to 5000 characters.

Example:

"Your verification code is 482913"

mediaUrls
string<uri>[]

Publicly reachable https URLs of media to attach. MMS accepts up to 10. RCS sends only the first URL, as a file message, and text is not shown with it (it is still the SMS fallback text). Cannot be combined with rcsTemplateName or rcsContent; put media in a card instead. An SMS to recipients outside the US and Canada is sent as text only.

Maximum array length: 10
title
string

Subject line of an MMS. Used only when the message is sent as MMS.

tag
string

Your own label, stored on every message the request creates. Filter GET /Message/ by it to find all recipients of one send or to group messages for reporting.

Example:

"otp"

idempotencyKey
string

A unique string you choose, for example a UUID or your own order ID, scoped to your account. Retrying with the same key returns the original message instead of sending again. With several recipients the key is applied per recipient.

Example:

"otp-482913-user-77"

scheduledAt
string<date-time>

Time to hold the message until, as an RFC 3339 / ISO 8601 timestamp such as 2026-11-01T09:00:00Z. A future time stores the message with status scheduled; a past time or now sends immediately.

failoverToSms
boolean
default:false

Used only when channel is rcs. When true and the RCS platform rejects the send at the time of the request, Vobiz sends text as SMS from the same from, and the message's channel becomes sms. A message that the platform accepts and that fails later is not resent as SMS. Defaults to false.

rcsSuggestions
object[]

Suggestion buttons (suggested replies and actions) to show under an RCS message. Used only when channel is rcs. See the RCS suggestion object for each type.

rcsTemplateName
string

Used only when channel is rcs. The templateName of an approved template (status APPROVED or APPROVED_PARTIALLY) of the RCS sender in from. The template's content is sent instead of text. Cannot be combined with rcsContent, mediaUrls or a future scheduledAt.

Example:

"order-shipped"

rcsTemplateVariables
object

Values for the {{name}} placeholders of rcsTemplateName, as an object of strings. Every placeholder needs a value and every value must match a placeholder, otherwise the request returns 400.

Example:
rcsContent
object

Rich RCS content sent inline, without a saved template. Used only when channel is rcs. Cannot be combined with rcsTemplateName, rcsTemplateVariables, mediaUrls or a future scheduledAt. rcsSuggestions, when set, are shown under the card or carousel.

dltEntityId
string

India (TRAI DLT): the Principal Entity ID you registered on a TRAI DLT portal. Pass it on every message to Indian numbers.

dltHeaderId
string

India (TRAI DLT): the ID of the sender header you registered on a TRAI DLT portal. Pass it on every message to Indian numbers.

dltTemplateId
string

India (TRAI DLT): the ID of the content template you registered on a TRAI DLT portal. text must match that template with its variables filled in.

Response

Sent or scheduled for every recipient. Body is the first recipient's message.

One message sent from or received by your account. Each recipient of a send gets its own message object with its own id, status and conversation.

id
string<uuid>

Unique identifier of the message (UUID). Use it with GET /Message/{id}/ and to match status events.

Example:

"9b2e1c40-8a3d-4f5e-9c1a-7d6b2e8f4a01"

accountId
string

Your Vobiz account ID (Auth ID), for example MA_XXXXXXXX.

Example:

"MA_XXXXXXXX"

direction
enum<string>

out for a message you sent, in for a message one of your numbers received.

Available options:
out,
in
channel
enum<string>

Channel the message actually used: sms, mms or rcs. It can differ from the one you requested, for example mms after an SMS with media to US or Canadian numbers, or sms after an RCS send fell back with failoverToSms.

Available options:
sms,
mms,
rcs
from
string

Sender. For outbound messages, your number in E.164 format or the senderName of your RCS sender; for inbound messages, the contact's number.

Example:

"+14155550100"

to
string

Recipient. For outbound messages, the contact's number in E.164 format; for inbound messages, your number.

Example:

"+14155550123"

text
string

Message body. An empty string when the message has no text, for example an MMS with media only.

Example:

"Your verification code is 482913"

mediaUrls
string<uri>[] | null

HTTPS URLs of the media attached to the message. null or an empty array when there is no media.

status
enum<string>

Where the message is in its lifecycle: scheduled (held for scheduledAt), sent (handed to the network), delivered (delivery confirmed), failed (see errorCode and errorMessage), received (inbound) or unknown (the network reported a status that maps to none of the others).

Available options:
scheduled,
sent,
delivered,
failed,
received,
unknown
errorCode
string

Error code reported for a failed message. Omitted when there is no error.

errorMessage
string

Human-readable reason a message failed. Omitted when there is no error; quote it to support when you need help with a failure.

tag
string

The label you set when sending, for filtering and reporting. Omitted when none was set.

conversationId
string<uuid>

UUID of the conversation the message belongs to. Use it with GET /Conversation/{id}/Message/ to load the thread.

scheduledAt
string<date-time>

The time you asked the message to be held until (ISO 8601, UTC). Omitted for messages that were not scheduled.

createdAt
string<date-time>

When the message was created, as an RFC 3339 / ISO 8601 timestamp in UTC.

Example:

"2026-10-12T10:30:00Z"

updatedAt
string<date-time>

When the message last changed, for example on a status update (ISO 8601, UTC).

Example:

"2026-10-12T10:30:00Z"