GET
/
phone-numbers
curl --request GET \
  --url https://api.callab.ai/v1/phone-numbers \
  --header 'Authorization: Bearer <token>'
{
  "status": "ok",
  "message": "<string>",
  "data": [
    {
      "nickname": "<string>",
      "phone_number": "<string>",
      "number_country_code": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

workspace
string

Optional workspace filter. If not provided, it will fall back to use "default" workspace.

Response

200 - application/json

Phone numbers response

The response is of type object.

GET
/
phone-numbers
curl --request GET \
  --url https://api.callab.ai/v1/phone-numbers \
  --header 'Authorization: Bearer <token>'
{
  "status": "ok",
  "message": "<string>",
  "data": [
    {
      "nickname": "<string>",
      "phone_number": "<string>",
      "number_country_code": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

workspace
string

Optional workspace filter. If not provided, it will fall back to use "default" workspace.

Response

200 - application/json

Phone numbers response

The response is of type object.