get https://api.servetel.in/v1/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 Name | Description | Data Type |
---|---|---|
id | ID of the blocked number. | String |
user_id | User ID associated to the blocked number. | String |
src_number | Source Number that needs to be blocked, between 5-50. | String |
block_key | Type against which the number should be blocked. | String |
block_value | my_numbers against which the number should be blocked, only requried for block_key=did. | String |