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

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": "success",
  "pathway_id": "9d404c1b-6a23-4426-953a-a52c392ff8f1"
}