Skip to main content
POST
/
inbox
/
email
Send Email
curl --request POST \
  --url https://api.lemlist.com/api/inbox/email \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "sendUserId": "usr_h47tiJr87Zn7XtQHi",
  "sendUserEmail": "john@example.com",
  "sendUserMailboxId": "usm_CE8QtNtgMjTHjfaL8",
  "contactId": "ctc_yHXD3NWjPg7Z9MuWZ",
  "leadId": "lea_7HAh3odqPKamkBTv9",
  "subject": "Follow up",
  "message": "<p>Hello,</p><p>Following up on our conversation...</p>",
  "cc": []
}'
{
  "ok": true
}
This endpoint sends an email 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

sendUserEmail
string
required

Sender email address

sendUserMailboxId
string
required

Sender mailbox ID

contactId
string
required

Contact ID

leadId
string
required

Lead ID

subject
string
required

Email subject

message
string
required

Email message (HTML)

cc
string[]

CC email addresses

Response

Success

The response is of type object.