Send an outbound SMS message

View as Markdown

Send one outbound SMS synchronously to the configured provider. A 202 response confirms provider queue acceptance, not carrier handoff or recipient delivery.

Authentication

AuthorizationBearer
Application auth. Send `Authorization: Bearer <app_uuid>:<api_key>` using any active key in the app's collection. See [Authentication](https://voice-platform.docs.buildwithfern.com/api/authentication) for details.

Headers

Idempotency-KeystringRequiredformat: "^[A-Za-z0-9._-]{1,128}$"

Request

This endpoint expects an object.
channelenumRequired
Allowed values:
contentobjectRequired
fromstringRequired
tostringRequiredformat: "^\+[1-9]\d{1,14}$"

Response

The provider accepted the SMS into its queue.
channelenum
created_atdatetime
directionenum
message_uuidstringformat: "^msg_[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
statusenum

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
409
Conflict Error
413
Content Too Large Error
415
Unsupported Media Type Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error