Skip to main content
POST
cURL

Authorizations

X-API-Key
string
header
required

Customer API key created in the Sendora dashboard.

Headers

X-API-Key
string | null
Authorization
string | null

Path Parameters

lead_id
string
required

The lead's id: the id from List all leads. It is also the last part of that page's address in the app.

Body

application/json
channel
enum<string>
required

Channel returned by the Sendora API.

Available options:
EMAIL,
LINKEDIN,
WHATSAPP,
SMS,
VOICE
content
string
required

Content returned by the Sendora API.

Required string length: 1 - 4096
connection_id
string | null
deprecated

Not used. The sending account is chosen automatically from the lead's existing conversation. Accepted for backward compatibility and ignored.

Maximum string length: 128

Response

Successful Response

success
boolean
required

Success returned by the Sendora API.

error
string | null

Error returned by the Sendora API.

message_id
string | null

The id of the message that was sent or drafted.