Headers
Your API key for authentication.
Body
The phone number to update.
Turn human mode on or off.true means that the AI will not reply. false means the AI will reply
curl --request POST \
--url https://app.luly.ai/api/v1/sms/toggle \
--header 'Content-Type: application/json' \
--header 'authorization: <authorization>' \
--data '{
"phone_number": "<string>",
"on": true
}'
{
"status": "success",
"pathway_id": "9d404c1b-6a23-4426-953a-a52c392ff8f1"
}
Turn on or off the AI replying for a given phone number.
curl --request POST \
--url https://app.luly.ai/api/v1/sms/toggle \
--header 'Content-Type: application/json' \
--header 'authorization: <authorization>' \
--data '{
"phone_number": "<string>",
"on": true
}'
{
"status": "success",
"pathway_id": "9d404c1b-6a23-4426-953a-a52c392ff8f1"
}
{
"status": "success",
"pathway_id": "9d404c1b-6a23-4426-953a-a52c392ff8f1"
}