Send an SMS
Sends an outbound SMS from the specified line. Requires that an inbound SMS was received from the destination number within the last 24 hours (conversation window compliance).
Authentication
AuthorizationBearer
Send as Authorization: Bearer <your-key>. Obtain keys from the portal — prefix sk_live_ for production, sk_test_ for sandbox.
Request
This endpoint expects an object.
line_id
ID of the line to send from
to
Destination phone number in E.164 format
text
SMS message body
Response
SMS sent
id
Carrier message SID
line_id
to
Destination phone number (E.164)
text
Message body
status
Carrier delivery status
created_at
Errors
400
Bad Request Error
401
Unauthorized Error
402
Payment Required Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
429
Too Many Requests Error
502
Bad Gateway Error
