# Get phone number

Fetches a phone number.

```http
GET https://api.pozy.ai/v1/whatsapp/phone-numbers/{phoneNumberId}
```

- Area: WhatsApp / WhatsApp Phone Numbers
- Auth: Authorization: Bearer pz_live_...
- Deprecated

## Path parameters

- `phoneNumberId` (string, required)

## Example request

```bash
curl -X GET "https://api.pozy.ai/v1/whatsapp/phone-numbers/698fba0989716df44adb771f" \
  -H "Authorization: Bearer $POZY_API_KEY"
```

```ts
const res = await fetch("https://api.pozy.ai/v1/whatsapp/phone-numbers/698fba0989716df44adb771f", {
  headers: { Authorization: `Bearer ${process.env.POZY_API_KEY}` },
});
const data = await res.json();
if (!res.ok) throw new Error(data?.error ?? `Request failed with status ${res.status}`);
console.log(data);
```

```python
import os
import requests

resp = requests.get(
    "https://api.pozy.ai/v1/whatsapp/phone-numbers/698fba0989716df44adb771f",
    headers={"Authorization": f"Bearer {os.environ['POZY_API_KEY']}"},
    timeout=30,
)
resp.raise_for_status()
print(resp.json())
```

## Response 200

- `phoneNumber`, object
  - `id`, string
  - `phoneNumber`, string
  - `status`, string: One of `pending_payment`, `pending_regulatory`, `regulatory_declined`, `provisioning`, `verifying`, `active`, `suspended`, `releasing`, `released`
  - `country`, string
  - `metaPreverifiedId`, string
  - `metaVerificationStatus`, string
  - `identityVerificationUrl`, string: Can be null
  - `endUserFirstName`, string: Can be null
  - `endUserLastName`, string: Can be null
  - `regulatoryDeclineReason`, string: Can be null
  - `provisionedAt`, string (date-time)
  - `sipTrunkId`, string: Can be null

```json
{
  "phoneNumber": {
    "id": "6bfebd43ddc270f6d2c56fc5",
    "phoneNumber": "+14155550123",
    "status": "pending_payment",
    "country": "US",
    "metaPreverifiedId": "608441ffe00bbbbd4b634fe0",
    "metaVerificationStatus": "active",
    "identityVerificationUrl": "https://pozy.ai/media/example-1.jpg",
    "endUserFirstName": "Acme",
    "endUserLastName": "Acme",
    "regulatoryDeclineReason": "string",
    "provisionedAt": "2026-10-02T09:00:00.000Z",
    "sipTrunkId": "64a65f5550725a070e2afc75"
  }
}
```
