POST
/
leads
/
{leadId}
/
turnOff
curl --request POST \
  --url https://api.attent.app/v1/leads/{leadId}/turnOff \
  --header 'x-api-key: <api-key>'
{
  "message": "Lead turned off successfully."
}

Authorizations

x-api-key
string
header
required

Path Parameters

leadId
string
required

The ID of the lead to turn off Apten for.

Response

200
application/json
Apten has successfully been turned off for the lead.
message
string

Returns "Lead turned off successfully." if Apten was turned off for the lead.