# Check Authentication

Endpoints to verify that you are correctly authenticated to the APIs.

## Check JWT Token

`GET /v2/auth/jwt-check`

Checks the presence and validity of the provided JWT token

**Parameters**

| Name | In | Required | Type | Description |
|------|-----|----------|------|-------------|
| `Authorization` | header | No | string | JWT received as part of the auth process |

**Responses**

- **204**: Ok - No Content
- **401**: Unauthorized

  | Field | Type | Description |
  |-------|------|-------------|
  | `code` | string | Error code |
  | `description` | string | Error description |


  Example (Invalid JWT):
  ```json
  {"code":"INVALID_JWT_TOKEN","description":"Invalid JWT"}
  ```

**Example**

```bash
curl "https://api.demo.omniaexchange.com/api/v2/auth/jwt-check" \
  -H "Authorization: Bearer <token>"
```

---

