Fetch List of Blocked Numbers

This API fetches a list of all the blocked Numbers.

Sample Request

curl --request GET \
     --url https://api.servetel.in/v1/blocked_numbers \
     --header 'accept: application/json'

📘 Important!

Before we begin, note that the * sign denotes the mandatory variables in each table.

Sample Response

[
  {
    "id": 1099955,
    "user_id": 10959,
    "src_number": "+919899999999",
    "block_key": "did",
    "block_value": "+918000000731"
  }
]

Response Variables

The response returned is as following:

Variable NameDescriptionData Type
idID of the blocked number.String
user_idUser ID associated to the blocked number.String
src_numberSource Number that needs to be blocked, between 5-50.String
block_keyType against which the number should be blocked.String
block_valuemy_numbers against which the number should be blocked, only requried for block_key=did.String
Language
Click Try It! to start a request and see the response here!