Blocked callers

Block a caller

Block a number, or every number starting with a prefix (512555*). Adding a pattern already on the list returns the existing entry with status 200.

post/blocked-callers

Request

  • Base URL: https://vocenya.com/api/public/v1
  • URL: https://vocenya.com/api/public/v1/blocked-callers
  • Auth: HTTP bearer

Request body

patternstring required

A US phone number in any common format, or a prefix of at least four digits ending in * to block every number starting with it.

notestring nullable

Example request

{
  "note": "Robocaller"
}

Response

The pattern was already on the list: the existing entry.

Example response

{
  "data": {
    "pattern": "+15125550123"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.