POST
/
leads
/
{leadId}
/
sendMessage
curl --request POST \
  --url https://api.attent.app/v1/leads/{leadId}/sendMessage \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "message": "<string>",
  "scheduledTime": "<string>",
  "sendWhenOff": true,
  "scheduleFollowUps": true,
  "overrideBusinessHours": true
}'
{
  "message": "Message sent successfully."
}

Authorizations

x-api-key
string
header
required

Path Parameters

leadId
string
required

The ID of the lead to send a message to.

Body

application/json

The message to send to the lead.

The body is of type object.

Response

200
application/json

Message sent successfully.

The response is of type object.