POST
/
v1
/
sms
/
webhook
/
update
curl --request POST \
  --url https://app.luly.ai/api/v1/sms/webhook/update \
  --header 'Content-Type: application/json' \
  --header 'authorization: <authorization>' \
  --data '{
  "phone_number": "<string>",
  "webhook": 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.

webhook
boolean

The webhook to fire when an SMS is received.

{
  "status": "success",
  "pathway_id": "9d404c1b-6a23-4426-953a-a52c392ff8f1"
}