Skip to main content
POST
Send from an SMS connection

Authorizations

Authorization
string
header
required

API key (fam_..., created under Settings → API Keys) or an OAuth 2.0 access token (fam_at_...). REST operations also require API Access for the credential's workspace. Keys can be restricted to scopes such as assistants:read, calls:write, campaigns:write, automations:read, dashboards:read, dashboards:write, leads:write, segments:write, loop:read, loop:write, phone_numbers:write, sip_trunks:write, knowledge:write, voices:read, billing:read, billing:write, settings:write, platform:read, platform:write; a *:write scope implies the matching *:read. Automation and dashboard endpoints also accept the legacy calls:* scope. Keys without scope restrictions have full access within the workspace's available capabilities.

Path Parameters

id
string<uuid>
required

Owned SMS connection ID.

Body

application/json

The SMS connection is selected by its path ID; do not provide a second sender in the request body.

to
string
required

Recipient in E.164 format.

Example:

"+14155550100"

body
string
required

Message body. RCS allows up to 1,600 Unicode characters. SMS-only sends retain the 1,600 UTF-16-unit limit; channel replies may have a stricter segment limit.

Required string length: 1 - 1600
delivery_mode
enum<string>

Delivery selection within SMS. Omit to inherit the saved connection policy; SMS only prevents RCS upgrade.

Available options:
sms_only,
rcs_preferred,
rcs_only
idempotency_key
string

Unique request key for one intended send. Reusing it never dispatches again.

Required string length: 1 - 128
media_urls
string<uri>[]

One customer-authorized public HTTPS media URL for RCS. Choose media or rich content.

Maximum array length: 1
Maximum string length: 2048
Pattern: ^https://
rich_content
object

RCS card or carousel. With SMS fallback, supply an explicit text alternative.

sms_fallback_body
string

Explicit plain-text SMS alternative required for rich/media content with SMS fallback. For plain-text sends, omit this field or repeat body exactly; a different alternative is rejected. SMS segment counts determine fallback cost (maximum 1,600 UTF-16 units).

Required string length: 1 - 1600

Response

SMS accepted.

data
object
required