AI Sync

Phone Numbers

Update Phone Number

PUThttps://app.rizzdial.com/api/phone-numbers/{id}
Update Phone Number
curl --request PUT \
  --url https://app.rizzdial.com/api/phone-numbers/12 \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "use_for": "both",
  "phone_title": "Main line"
}'
{
  "data": {
    "id": 12,
    "status": "Verified",
    "use_for": "both",
    "dialable": true,
    "phone_no": "+14155550100",
    "provider": "Twilio",
    "ai_active": false,
    "base64_id": "MTI=",
    "phone_type": "local",
    "phone_title": "Main line",
    "has_spam_protection": false
  },
  "message": "Phone number updated successfully.",
  "success": true
}

Update Phone Number#

Updates title, status, use, type, or 10DLC flag. Only send fields you want to change.

Authorizationstringheaderrequired

Bearer token in the format: Bearer {access_token}

idstringpathrequired

Numeric id, base64 id, or encrypted id from List Phone Numbers

phone_titlestringbody

Display name. Max 255 characters

statusstringbody

Verified or Unverified

use_forstringbody

ai, dialer, or both

phone_typestringbody

Type such as local, mobile, or tollfree

tendlcstringbody

Yes or No

curl --request PUT \
  --url https://app.rizzdial.com/api/phone-numbers/12 \
  --header 'Authorization: Bearer {{bearer_token}}' \
  --header 'Content-Type: application/json' \
  --data '{"phone_title":"Main line","use_for":"both"}'
successboolean

true when the number is updated

messagestring

Phone number updated successfully.

dataobject

The updated number