Skip to main content
POST
Send SMS

Authorizations

Authorization
string
header
required

API key obtained from the OpenMic dashboard.

Body

application/json
to_number
string
required

Recipient phone number in E.164 format.

Example:

"+17189153182"

message
string
required

The text message to send. Must not be empty.

Example:

"Hello from OpenMic!"

from_number
string

Sender phone number in E.164 format. Optional — defaults to your account's Surge phone number if not provided.

Example:

"+16625658792"

Response

SMS queued for delivery

id
string

Unique message identifier.

Example:

"msg_01kpbgtyntfktvzseh0ykcmqm4"

from_number
string

The phone number the message was sent from.

Example:

"+16625658792"

to_number
string

The phone number the message was sent to.

Example:

"+17189153182"

message
string

The message body that was sent.

Example:

"Hello from OpenMic!"

status
enum<string>

The delivery status of the message.

Available options:
queued
Example:

"queued"