Skip to main content
POST
/
inbox
/
whatsapp
Send WhatsApp Message
curl --request POST \
  --url https://api.lemlist.com/api/inbox/whatsapp \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "sendUserId": "usr_h47tiJr87Zn7XtQHi",
  "sendUserWhatsappAccountId": "wha_ABC123",
  "contactId": "ctc_yHXD3NWjPg7Z9MuWZ",
  "leadId": "lea_7HAh3odqPKamkBTv9",
  "message": "Hi, following up on our conversation"
}'
This response does not have an example.
This endpoint sends a WhatsApp message through the lemlist inbox.

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
sendUserId
string
required

Sender user ID

sendUserWhatsappAccountId
string
required

WhatsApp account ID

contactId
string
required

Contact ID

leadId
string
required

Lead ID

message
string
required

Message content

Response

Success