Skip to main content
POST
/
v2.0
/
sales-agent
/
message
/
email
/
send-to-agent
Send Email to Agent
curl --request POST \
  --url https://api.lofty.com/v2.0/sales-agent/message/email/send-to-agent \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: <content-type>' \
  --data '
{
  "subject": "You have a new lead assigned.",
  "content": "<p>Hello, you have a new lead.</p>"
}
'
{
  "message": "Operation successful"
}

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.

Headers

Authorization
string
required

Bearer [access_token]

Content-Type
string
required

application/json

Body

application/json

Send system email to agent request

subject
string
required

Email subject

Example:

"You have a new lead assigned."

content
string
required

Email body content (HTML supported)

Example:

"<p>Hello, you have a new lead.</p>"

Response

Email sent successfully

Generic message response

message
string

Result message

Example:

"Operation successful"