Skip to main content
GET
/
v1
/
phone-number
/
{id}
Get Phone Number
curl --request GET \
  --url https://api.nedzo.ai/v1/phone-number/{id} \
  --header 'Authorization: Bearer <token>'
{
  "status_code": 123,
  "message": "<string>",
  "data": {
    "phone_number": {
      "number": "<string>",
      "status": "Active",
      "type": "Inbound and Outbound",
      "price": 123,
      "purchase_date": "2023-12-25",
      "renewal_date": "2023-12-25",
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "subaccount_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "is_available": true,
      "dials_today": 123,
      "dials_total": 123
    }
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string<uuid>
required

Response

Successful Response

status_code
integer
required
message
string
required
data
object | null