AI Sync

Spam Protected Numbers

Add Spam Protected Number

POSThttps://app.rizzdial.com/api/spam-protected-numbers
Add Spam Protected Number
curl --request POST \
  --url https://app.rizzdial.com/api/spam-protected-numbers \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "pnumber": "+15551234567"
}'
{
  "data": {
    "id": 12,
    "type": "Custom",
    "status": "In Progress",
    "pnumber": "+15551234567",
    "can_edit": true
  },
  "message": "Number added successfully.",
  "success": true
}

Add Spam Protected Number#

Adds a custom number to spam protection. The number must not already be on the list. A default campaign must already exist for the company.

Authorizationstringheaderrequired

Bearer token in the format: Bearer {access_token}

pnumberstringbodyrequired

Phone number to protect. Max 20 characters

curl --request POST \
  --url https://app.rizzdial.com/api/spam-protected-numbers \
  --header 'Authorization: Bearer {{bearer_token}}' \
  --header 'Content-Type: application/json' \
  --data '{"pnumber":"+15551234567"}'
successboolean

true when the number is added

messagestring

Number added successfully.

dataobject

The new row, including id, pnumber, type (Custom), and status (In Progress)

POST /api/spam-protected-numbers/create is the same endpoint.