Sends an email to the specified lead using the caller’s outgoing email configuration.
Notes:
curl --request POST \
--url https://api.lofty.com/v1.0/message/email/send \
--header 'Authorization: <authorization>' \
--header 'Content-Type: <content-type>' \
--data '
{
"subject": "Welcome to our service",
"content": "Hello, this is a test email",
"leadId": 563172647619608,
"toEmail": "recipient@example.com"
}
'{
"messageId": "<string>",
"toEmail": "<string>",
"subject": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://developer.lofty.com/llms.txt
Use this file to discover all available pages before exploring further.
Email send request payload.
Email subject
"Welcome to our service"
Email content
"Hello, this is a test email"
Lead ID. When toEmail is not provided or no matching email is found for the lead, the system will use the primary email address of this lead. At least one of toEmail or leadId must be provided.
563172647619608
Recipient email address.
"recipient@example.com"
curl --request POST \
--url https://api.lofty.com/v1.0/message/email/send \
--header 'Authorization: <authorization>' \
--header 'Content-Type: <content-type>' \
--data '
{
"subject": "Welcome to our service",
"content": "Hello, this is a test email",
"leadId": 563172647619608,
"toEmail": "recipient@example.com"
}
'{
"messageId": "<string>",
"toEmail": "<string>",
"subject": "<string>"
}