Security
Manage your security options.
Update allowed region or country codes.
A collection of allowed region or country codes.
OK
No content
Error
POST /api/allowed_country_codes HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 18
{
  "items": [
    "text"
  ]
}No content
List block codes.
Use the filter query parameter to retrieve just a subset of a collection.
Use the search query parameter to restrict the results of a request to match a search criterion.
Use the orderby query parameter to specify the sort order of the items returned from server.
The default order is ascending order.
Use the skip query parameter to set the number of items to skip at the start of a collection.
0Use the top query parameter to specify the page size of the result set.
100OK
Error
GET /api/disallowed_codes HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "count": 100,
  "items": [
    {
      "id": "NzAwNTUxOTA5NzczMTQ4MTYw",
      "number_prefix": "text",
      "description": "text"
    }
  ]
}Create a block code.
The number prefix of blocked code.
An alphanumeric sequence beginning with an optional plus sign.
The description of blocked code.
Created
Error
POST /api/disallowed_codes HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 45
{
  "number_prefix": "text",
  "description": "text"
}{
  "id": "NzAwNTUxOTA5NzczMTQ4MTYw"
}Retrieve details of blocked code by it's unique ID.
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYwOK
Error
GET /api/disallowed_codes/{id} HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "id": "NzAwNTUxOTA5NzczMTQ4MTYw",
  "number_prefix": "text",
  "description": "text"
}Update a blocked code by it's ID.
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYwThe unique ID of blocked code.
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYwThe number prefix of blocked code.
An alphanumeric sequence beginning with an optional plus sign.
The description of blocked code.
OK
No content
Error
POST /api/disallowed_codes/{id} HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 77
{
  "id": "NzAwNTUxOTA5NzczMTQ4MTYw",
  "number_prefix": "text",
  "description": "text"
}No content
Destroy disallowed codes
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYwNo Content
No content
Invalid entry ID supplied
User not found
POST /api/disallowed_codes/{id}/destroy HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Export a collection of disallowed codes to file.
OK
Error
GET /api/disallowed_codes/export HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
binaryUse the filter query parameter to retrieve just a subset of a collection.
Use the search query parameter to restrict the results of a request to match a search criterion.
Use the orderby query parameter to specify the sort order of the items returned from server.
The default order is ascending order.
Use the skip query parameter to set the number of items to skip at the start of a collection.
0Use the top query parameter to specify the page size of the result set.
100OK
Error
GET /api/blacklisted_numbers HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "count": 100,
  "items": [
    {
      "id": "NzAwNTUxOTA5NzczMTQ4MTYw",
      "number": "text",
      "expire_at": "2017-07-21T17:32:28Z",
      "created_at": "2017-07-21T17:32:28Z",
      "updated_at": "2017-07-21T17:32:28Z",
      "description": "text"
    }
  ]
}An alphanumeric sequence beginning with an optional plus sign.
Blacklisted number's expire time.
The RFC 3339 format is defined by The date_time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
2017-07-21T17:32:28ZRemarks for the blacklisted number.
Created
Error
POST /api/blacklisted_numbers HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 73
{
  "number": "text",
  "expire_at": "2017-07-21T17:32:28Z",
  "description": "text"
}{
  "id": "NzAwNTUxOTA5NzczMTQ4MTYw"
}The unique ID of this blacklisted number.
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYwOK
Error
GET /api/blacklisted_numbers/{id} HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "id": "NzAwNTUxOTA5NzczMTQ4MTYw",
  "number": "text",
  "expire_at": "2017-07-21T17:32:28Z",
  "created_at": "2017-07-21T17:32:28Z",
  "updated_at": "2017-07-21T17:32:28Z",
  "description": "text"
}The unique ID of this blacklisted number.
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYwAn alphanumeric sequence beginning with an optional plus sign.
Blacklisted number's expire time.
The RFC 3339 format is defined by The date_time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
2017-07-21T17:32:28ZRemarks for the blacklisted number.
OK
No content
Error
POST /api/blacklisted_numbers/{id} HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 73
{
  "number": "text",
  "expire_at": "2017-07-21T17:32:28Z",
  "description": "text"
}No content
Destroy blacklisted number
The unique ID of this blacklisted number.
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYwNo Content
No content
Invalid entry ID supplied
POST /api/blacklisted_numbers/{id}/destroy HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Export a collection of number blacklists to file.
OK
Error
GET /api/blacklisted_numbers/export HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
binaryLast updated