GET
/
phone-numbers
/
all
curl --request GET \
  --url https://api.bolna.ai/phone-numbers/all \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "3c90c3cc0d444b5088888dd25736052a",
    "humanized_created_at": "5 minutes ago",
    "created_at": "2024-01-23T05:14:37Z",
    "humanized_updated_at": "5 minutes ago",
    "updated_at": "2024-02-29T04:22:89Z",
    "renewal_at": "17th Dec, 2024",
    "phone_number": "+19876543210",
    "agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "price": "$5.0",
    "telephony_provider": "twilio",
    "rented": true
  }
]

Authorizations

Authorization
string
header
required

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

Response

200
application/json

list phone numbers response

The response is of type Items · object[].