latestOpenAPI 3.0.02026-08-10416661.5 MB

e96b3e58b041

Messages

Send SMS by conversation

REQUIRED SCOPES <code>['messages:write']</code><br>Send SMS message via API. This API endpoint allows for sending an SMS by conversation that belongs to an authenticated account. <br><br>Messages are sent on behalf of a user, may include attachments. Actual links included in text messages will be sent as clickable hyperlinks.

post/messages/{conversation}

Path parameters

conversationinteger required

Conversation id

Query parameters

messagestring textarea required

Message

send_atstring date
Example:2023-05-25T17:30:15Z

Send At

media_url[][url]string[]

Url for media

[
  "https://example.com/image.png"
]
enable_quiet_hoursboolean

Is enable quiet hours сheck

Response

OK

idinteger
conversation_idinteger
automatedboolean
statusstring
typestring
mms_statusstring
bodystring
body_rawstring
has_taggingboolean
iconstring
received_atstring
send_atstring
queued_atstring
sent_atstring
delivered_atstring
failed_atstring
failed_reasonstring
created_atstring
stop_on_responseboolean
is_hipaaboolean
user_idinteger
source_idstring
sourcestring