# API Documentation

## Network ID

- **Type**: int32  
  **Required**  
  Your account (network) ID

## User Key

- **Type**: string  
  **Required**  
  The User ID to fetch

## Accept

- **Type**: string  
  **Enum**: Defaults to `application/json`  
  Allowed: `application/json`, `text/plain`

---

## Responses

### 200 OK
- **Type**: object  
  - **Key**: string  
  - **Segments**: array of integers

### 400 Bad Request

---

## Example Request

```shell
curl --request GET \
     --url https://e-networkId.adzerk.net/udb/networkId/segments \
     --header 'accept: application/json'
```

## Example Response

```json
{
  "key": "ue1-e397eb5990",
  "segments": [78]
}
```
