VoiceDock Docs
ApiNumbers

List all phone numbers

Retrieve all phone numbers in your organization with their assigned agents and transfer trunks.

GET
/numbers

Retrieve all phone numbers in your organization with their assigned agents and transfer trunks.

Authorization

BearerAuth
AuthorizationBearer <token>

API key authentication. Get your key from the dashboard.

In: header

Response Body

application/json

application/json

curl -X GET "https://example.com/numbers"
{
  "numbers": [
    {
      "number": "+31850835037",
      "name": "HMS Sovereign Demo"
    }
  ]
}
{
  "error": "Invalid API key",
  "message": "string"
}