List number inventory
GET {{baseUrl}}/v1/inventory/did?pageNumber=0&pageSize=20
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
didIds | string | Can be specified to get detailed info about the corresponding DIDs. Note that you can specify multiple ids by repeating the query parameter. | |
didGroupIds | string | Can be specified to filter your DIDs based on their location or any other info contained in the DID Group. Note that you can specify multiple ids by repeating the query parameter. | |
e164Pattern | string | You can search a specific DID in your inventory with a specific pattern e.g. %25123 (number contains 123). %-sign needs to be escaped using %25 | |
regulationAddressId | string | This is an ID that you get when creating a regulation address. The DIDs can be filtered by the regulation address on which they are linked. | |
voiceUriId | string | The identifier of the voice uri the numbers are mapped to. | |
faxUriId | string | The identifier of the fax uri the numbers are mapped to. | |
smsLinkGroupId | string | The identifier of the sms link group the numbers are mapped to. | |
needAddressLink | string | A boolean flag indicating if the numbers need to be linked to an address for regulation purposes. | |
serviceType | string | This can be used if you want to filter by service type. The possible values are 'VOX800' for toll-free numbers or 'VOXDID' for geographic or national numbers. | |
countryCodeA3 | string | The country code for the DID in its ISO 3166-1 alpha-3 format (e.g. 'GBR' for United Kingdom, 'USA' for United States of America, 'BEL' for Belgium, etc.). | |
orderReference | string | Indicates which purchase order the DID was in. You can get a list of orders with the order details (date and status) in the ordering module using the listOrder method. | |
portingReference | string | The reference for the numbers' porting request. | |
deliveryId | string | The identifier of the pop the numbers are mapped to. | |
smsOutbound | string | Allows you to filter your DIDs that you have enabled for outbound SMS (the feature is only available for accounts that are registered for the SMS outbound service). | |
webRtcEnabled | string | Indicates whether the DID is enabled for WebRTC use (the feature is only available for accounts that are registered for the WebRTC service). | |
voxoutNationalEnabled | string | Indicates whether the DID is enabled for voxoutNational use (the feature is only available for accounts that are registered for the voxoutNational service). | |
voxoutInternationalEnabled | string | Indicates whether the DID is enabled for voxoutInternational use (the feature is only available for accounts that are registered for the voxoutInternational service). | |
pageNumber | number | The page number, starting at 0. | |
pageSize | number | The page size (max number of entities that are displayed in the response). |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
apikey | string | Authentication to Voxbone APIs is handled via key based authentication. You can manage your API key on our platform under Account Settings. Please use our API quickstart guide for more help. | |
Accept | string |
RESPONSES
status: OK
{"dids":[{"areaCode":"\u003cstring\u003e","didId":"\u003cinteger\u003e","e164":"\u003cstring\u003e","type":"\u003cstring\u003e","countryCodeA3":"\u003cstring\u003e","cityName":"\u003cstring\u003e","voiceUriId":"\u003cinteger\u003e","faxUriId":"\u003cinteger\u003e","smsLinkGroupId":"\u003cinteger\u003e","orderReference":"\u003cstring\u003e","channels":"\u003cinteger\u003e","delivery":"\u003cstring\u003e","trunkId":"\u003cinteger\u003e","capacityGroupId":"\u003cinteger\u003e","didGroupId":"\u003cinteger\u003e","regulationAddressId":"\u003cinteger\u003e","srvLookup":"\u003cboolean\u003e","callerId":{"cliFormat":"\u003cstring\u003e","cliValue":"\u003cstring\u003e"},"cliPrivacy":"\u003cstring\u003e","otherOptions":{"t38Enabled":"\u003cstring\u003e","dtmf":"\u003cstring\u003e","dtmfInbandMute":"\u003cstring\u003e","codecs":["\u003cstring\u003e","\u003cstring\u003e"]},"ringback":"\u003cstring\u003e","dnisEnabled":"\u003cstring\u003e","blockOrdinary":"\u003cboolean\u003e","blockCellular":"\u003cboolean\u003e","blockPayphone":"\u003cboolean\u003e","smsOutbound":"\u003cboolean\u003e","webRtc":"\u003cboolean\u003e","voxoutNational":"\u003cstring\u003e","voxoutInternationalEnabled":"\u003cboolean\u003e","cancellationAvailable":"\u003cstring\u003e"},{"areaCode":"\u003cstring\u003e","didId":"\u003cinteger\u003e","e164":"\u003cstring\u003e","type":"\u003cstring\u003e","countryCodeA3":"\u003cstring\u003e","cityName":"\u003cstring\u003e","voiceUriId":"\u003cinteger\u003e","faxUriId":"\u003cinteger\u003e","smsLinkGroupId":"\u003cinteger\u003e","orderReference":"\u003cstring\u003e","channels":"\u003cinteger\u003e","delivery":"\u003cstring\u003e","trunkId":"\u003cinteger\u003e","capacityGroupId":"\u003cinteger\u003e","didGroupId":"\u003cinteger\u003e","regulationAddressId":"\u003cinteger\u003e","srvLookup":"\u003cboolean\u003e","callerId":{"cliFormat":"\u003cstring\u003e","cliValue":"\u003cstring\u003e"},"cliPrivacy":"\u003cstring\u003e","otherOptions":{"t38Enabled":"\u003cstring\u003e","dtmf":"\u003cstring\u003e","dtmfInbandMute":"\u003cstring\u003e","codecs":["\u003cstring\u003e","\u003cstring\u003e"]},"ringback":"\u003cstring\u003e","dnisEnabled":"\u003cstring\u003e","blockOrdinary":"\u003cboolean\u003e","blockCellular":"\u003cboolean\u003e","blockPayphone":"\u003cboolean\u003e","smsOutbound":"\u003cboolean\u003e","webRtc":"\u003cboolean\u003e","voxoutNational":"\u003cstring\u003e","voxoutInternationalEnabled":"\u003cboolean\u003e","cancellationAvailable":"\u003cstring\u003e"}],"resultCount":"\u003cinteger\u003e"}