Docs Rizler

Phone Numbers

Spam Protect Number

POSThttps://app.rizzdial.com/api/phone-numbers/{id}/spam-protect
Spam Protect Number
curl --request POST \
  --url https://app.rizzdial.com/api/phone-numbers/12/spam-protect \
  --header 'Authorization: Bearer <token>'
{
  "message": "Number added successfully.",
  "success": true
}

Spam Protect Number#

Adds this company number to spam protection. Same result as adding it from Spam Protected Numbers.

Authorizationstringheaderrequired

Bearer token in the format: Bearer {access_token}

idstringpathrequired

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

curl --request POST \
  --url https://app.rizzdial.com/api/phone-numbers/12/spam-protect \
  --header 'Authorization: Bearer {{bearer_token}}'
successboolean

true when protection is added

messagestring

Result text