POST
/
v1
/
sms
/
toggle
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"
}

Headers

authorization
string
required

Your API key for authentication.

Body

phone_number
string

The phone number to update.

on
boolean

Turn human mode on or off.

true means that the AI will not reply. false means the AI will reply

{
  "status": "Turned human mode on"
}