PATCH
/
phone-numbers
/
{phone_number_id}
curl --request PATCH \
  --url https://api.puretalk.ai/api/phone-numbers/{phone_number_id} \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '{
  "ai_assistant": "<string>"
}'
{
  "err": true,
  "msg": "<string>"
}

Authorizations

X-API-KEY
string
header
required

Path Parameters

phone_number_id
string
required

ID of phone number to connect

Body

application/json
ai_assistant
string
required

Response

200
application/json
Phone number connected
err
boolean
required
msg
string
required