API Resources Summary

The DIDWW API allows you perform an extensive set of actions such as querying the DID coverage and inventory, ordering and configuring phone numbers and services, setting capacity and creating SIP trunks by using the following methods:

  • GET - Fetch data, where the data can be a collection or resources or an individual resource

  • POST - Create a new resource

  • PATCH - Update an existing resource

  • DELETE - Remove an existing resource

API Call

Method/s

Details

balance

GET

Returns the prepaid balance as well as the available credit on the account.

cities

GET

Returns a list of cities included in the current DIDWW inventory, or returns the details of a specific city.

countries

GET

Returns a list of countries included in the current DIDWW inventory, or return the details of a specific country.

dids

GET, PATCH

Returns a list of all of the DIDs owned by an account or the details for a single DID, or modify the settings for a single DID owned by an account.

did_groups

GET

Returns a list of DID Groups, which is essentially a list of the current DIDWW coverage. DID Groups are phone numbers that share a common city or area code.

did_group_types

GET

Returns a list of the various types of DIDs supported by DIDWW (for example, mobile, toll-free, SMS).

capacity_pools

GET, PATCH

Returns a list of the Capacity Pools which include information about channels quantity, supported Countries, Shared Capacity Groups.

shared_capacity_groups

GET, POST, PATCH, DELETE

Returns a list of the Capacity Groups assigned to Capacity Pool.

export

GET, POST

Returns a call detail records (CDRs) or create a CDR for export.

orders

GET, POST, DELETE

Returns a list of the orders previously placed in this account, create a new order, or delete an order.

regions

GET

Returns a list of regions (for example, states within the USA) included in the current DIDWW inventory.

trunks

GET, POST, PATCH, DELETE

Returns a list of all of the trunks configured by this account, create a new trunk, modify the settings of an existing trunk, or delete a trunk.

trunk_groups

GET, POST, PATCH, DELETE

Returns the details of a trunk group, create a new trunk group, modify trunk group settings, or delete a trunk group.

available_dids

GET

Returns a list of available DID numbers in the current DIDWW coverage.

did_reservation

GET, POST, DELETE

Returns a list or a single DID reservations for the account.