# Watch an out-of-stock country

Watches an out-of-stock country.

```http
POST https://api.pozy.ai/v1/phone-numbers/stock-watches
```

- Area: Phone & voice / Phone Numbers
- Auth: Authorization: Bearer pz_live_...

## Request body

Content type: `application/json`

- `country`, string, required: 2 to 2 characters
- `numberType`, string: One of `local`, `mobile`, `national`, `toll_free`
- `areaCode`, string: Matches `^\d{1,4}$`

## Example request

```bash
curl -X POST "https://api.pozy.ai/v1/phone-numbers/stock-watches" \
  -H "Authorization: Bearer $POZY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "country": "US"
}'
```

```ts
const res = await fetch("https://api.pozy.ai/v1/phone-numbers/stock-watches", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.POZY_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    country: "US"
  }),
});
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.post(
    "https://api.pozy.ai/v1/phone-numbers/stock-watches",
    headers={"Authorization": f"Bearer {os.environ['POZY_API_KEY']}"},
    json={
        "country": "US",
    },
    timeout=30,
)
resp.raise_for_status()
print(resp.json())
```

## Response 200

- `id`, string, required
- `country`, string, required
- `countryName`, string, required
- `numberType`, string, required: One of `local`, `mobile`, `national`, `toll_free`. Can be null
- `areaCode`, string: Can be null
- `createdAt`, string (date-time), required
- `preOrderable`, boolean

```json
{
  "id": "6bfebd43ddc270f6d2c56fc5",
  "country": "US",
  "countryName": "Acme",
  "numberType": "local",
  "areaCode": "string",
  "createdAt": "2026-10-02T09:00:00.000Z",
  "preOrderable": true
}
```
