cURL
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" } '
"Bad team"
Sends a WhatsApp message to a contact through the lemlist inbox.
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
Sender user ID
WhatsApp account ID
Contact ID
Lead ID
Message content
Success
Was this page helpful?