KanutusDocs
EN
kanutus.com Sign in / Create accountSign in

Phone numbers

GET/v1/numbers

Numbers the key owner can call from ("Call from")

Permission: numbers:read

Parameters

NameTypeDescription
limitquery · integer

Response 200

NameTypeDescription
data requiredobject[]
data[].id requiredstringNumber id: send it as from in POST /v1/calls
data[].e164 requiredstring
data[].label requiredstring | null
data[].status required"active"Only numbers that can call right now are listed
data[].shared requiredbooleantrue = the Kanutus shared number (not your organization's own)
data[].default requiredbooleanThe number used when from is not sent

Example

curl
curl "https://api.kanutus.com/v1/numbers" \
  -H "Authorization: Bearer $KANUTUS_API_KEY"
Try it

Runs from your browser against the real API. Use a kt_test_ key: nothing is charged. The key stays in this tab only.

GET /v1/numbers

Responses by status

200 Numbers: the organization's own first, the shared one last
200
{
  "data": [
    {
      "id": "9b2f6c1e-4d0a-4f55-8a43-2f1d6c7e0a11",
      "e164": "+16465551234",
      "label": "Sales",
      "status": "active",
      "shared": true,
      "default": true
    }
  ]
}
400 Invalid request
400 application/problem+json
{
  "type": "https://docs.kanutus.com/errors",
  "title": "<code>",
  "status": 400,
  "code": "<code>",
  "message": "…",
  "request_id": "req_…"
}

See all error codes

401 Missing, invalid, expired or revoked credential
401 application/problem+json
{
  "type": "https://docs.kanutus.com/errors",
  "title": "<code>",
  "status": 401,
  "code": "<code>",
  "message": "…",
  "request_id": "req_…"
}

See all error codes

403 Missing permission, blocked or not allowed
403 application/problem+json
{
  "type": "https://docs.kanutus.com/errors",
  "title": "<code>",
  "status": 403,
  "code": "<code>",
  "message": "…",
  "request_id": "req_…"
}

See all error codes

429 Rate limit exceeded (see RateLimit-* and Retry-After headers)
429 application/problem+json
{
  "type": "https://docs.kanutus.com/errors",
  "title": "<code>",
  "status": 429,
  "code": "<code>",
  "message": "…",
  "request_id": "req_…"
}

See all error codes