Send a single message

Sends an SMS or MMS message to a single recipient. The sender number (from) must be an active number assigned to your account. For SMS, provide a body (max 640 characters). For MMS, provide a mediaUrl pointing to a publicly accessible media file; the media is downloaded, validated, and attached to the message. You may include both body and mediaUrl for MMS with text. An optional idempotencyKey prevents duplicate sends — if a message with the same key was already sent, the original response is returned.

Content compliance: Message content is validated against messaging compliance rules (SHAFT, phishing, etc.). Messages that violate these rules are rejected with error code 33019.

Rate limit: 10 requests per 60-second window. Every response includes X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset headers. When the limit is exceeded, a 429 response is returned with a Retry-After header.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

Recipient phone number in E.164 format

string
required

Sender phone number in E.164 format

string
length ≤ 640

Message body text. Required for SMS (when mediaUrl is not provided).

string

Publicly accessible URL to a media file. When provided, the message is sent as MMS. The file is downloaded, validated, and attached to the message. Maximum file size: 1 MB. Supported types: image/jpeg, image/png, image/gif, video/mp4, video/mpeg, audio/mpeg, application/pdf, text/vcard, text/x-vcard.

string
length between 2 and 100

Idempotency key to prevent duplicate sends. Must be 2-100 characters long. Allowed characters: English letters (A-Z, a-z), digits (0-9), and : @ - _ ) (.

Responses

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json