Sends a message to a lead
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." }
The ID of the lead to send a message to.
The message to send to the lead.
The body is of type object.
object
Message sent successfully.
The response is of type object.