POST
/
v1
/
sms
/
update
Update SMS Number
curl --request POST \
  --url https://app.luly.ai/api/v1/sms/update \
  --header 'Content-Type: application/json' \
  --header 'authorization: <authorization>' \
  --data '{
  "phone_number": "<string>",
  "prompt": "<string>",
  "ignore_keywords": [
    {}
  ],
  "temperature": 123
}'
{
  "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.
prompt
string
The prompt for the AI to use when replying.
ignore_keywords
array
Pass in an array of strings, that if present, the AI should not respond to. Set to null to disable.
temperature
number
The temperature for prompt and underlying model.
{
  "status": "success",
  "pathway_id": "9d404c1b-6a23-4426-953a-a52c392ff8f1"
}