curl --request POST \
--url https://api.bland.ai/v1/sms/toggle \
--header 'Content-Type: application/json' \
--header 'authorization: <authorization>' \
--data '{
"phone_number": "<string>",
"on": true
}'
{
"status": "Turned human mode on"
}
Turn on or off the AI replying for a given phone number.
curl --request POST \
--url https://api.bland.ai/v1/sms/toggle \
--header 'Content-Type: application/json' \
--header 'authorization: <authorization>' \
--data '{
"phone_number": "<string>",
"on": true
}'
{
"status": "Turned human mode on"
}
true
means that the AI will not reply.
false
means the AI will reply{
"status": "Turned human mode on"
}
Was this page helpful?