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"
}