Available languages: [Python](https://databento.com/docs/api-live/gateway-control-messages/challenge-request.python.md) · [C++](https://databento.com/docs/api-live/gateway-control-messages/challenge-request.cpp.md) · [Rust](https://databento.com/docs/api-live/gateway-control-messages/challenge-request.rust.md) · [Raw](https://databento.com/docs/api-live/gateway-control-messages/challenge-request.raw.md)

Source: https://databento.com/docs/api-live/gateway-control-messages/challenge-request


### Challenge request

The gateway sends this message immediately following the [greeting message](https://databento.com/docs/api-live/gateway-control-messages/greeting-message.md) to authenticate the client.

#### Example message
```text
cram=j5pwMHz6vwXruJM4cOwQrQeQE0bImIzT\n
```

#### Fields

| Field | Required | Type | Description |
| `cram` | required | string | A randomly-generated challenge string. Must be encoded by the client into the response. |
