Docs Rizler

Spam Protected Numbers

List Spam Protected Numbers

GEThttps://app.rizzdial.com/api/spam-protected-numbers
List Spam Protected Numbers
curl --request GET \
  --url 'https://app.rizzdial.com/api/spam-protected-numbers?per_page=15&search=555&status=All&type=Custom' \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "records": [
      {
        "id": 12,
        "type": "Custom",
        "status": "In Progress",
        "pnumber": "+15551234567",
        "can_edit": true,
        "flagged_carriers": []
      }
    ],
    "pagination": {
      "to": 1,
      "from": 1,
      "total": 1,
      "per_page": 15,
      "last_page": 1,
      "current_page": 1
    }
  },
  "success": true
}

List Spam Protected Numbers#

Returns a paginated list of spam protected numbers for the signed-in company, newest first. Needs the view-spam-protected-numbers permission.

Authorizationstringheaderrequired

Bearer token in the format: Bearer {access_token}

per_pageintegerquery

Rows per page. Default 15. Maximum 100

searchstringquery

Matches phone number, type, or status

statusstringquery

All, In Progress, Flagged, or Clean. Omit or send All for every status

typestringquery

All, AI, Rizz, or Custom. Omit or send All for every type

curl --request GET \
  --url https://app.rizzdial.com/api/spam-protected-numbers?per_page=15 \
  --header 'Authorization: Bearer {{bearer_token}}'
data.recordsarray

Each row has id, pnumber, type, status, renewal, latest check, flagged carriers, and can_edit

data.paginationobject

total, current_page, per_page, last_page, from, and to