Skip to content

List your DID inventory

GET
/api/v2/numbers
curl --request GET \
--url https://api.sipstack.com/api/v2/numbers \
--header 'x-api-key: <x-api-key>'

Returns your organization’s phone numbers with assignment and provisioning detail, plus DID/voice limit metadata. Upstream carrier/vendor fields are never exposed. Requires numbers:read.

Your DID inventory with limit metadata.

Media type application/json
object
success
boolean
data
Array<object>

A number in your organization’s DID inventory, with assignment and provisioning detail. Upstream carrier/vendor fields are never exposed. Carries additional provisioning fields beyond those listed.

object
id
string
number
string
friendlyName
string
nullable
status
string
capabilities
object
voice
boolean
sms
boolean
key
additional properties
any
meta
object
didCount
integer
didLimit

-1 = unlimited.

integer
voiceLimit

-1 = unlimited.

integer
canAddDid
boolean
Example
{
"data": [
{
"number": "+16473001234",
"status": "active"
}
]
}

Missing or invalid API key.

Media type application/json

Inline error shape used by the messaging API and management endpoints.

object
success
boolean
error
string
Example
{
"success": false,
"error": "Recipient phone number (to) is required"
}

The key is missing the numbers:read scope, or the account API tier is not on your plan.

Media type application/json

Inline error shape used by the messaging API and management endpoints.

object
success
boolean
error
string
Example
{
"success": false,
"error": "Recipient phone number (to) is required"
}