# Login

> Authenticates a client profile and returns JWT token with account information

Source: /trader/api/authentication/client-login

## `POST /public/ticker`

**Login**

Authenticates a client profile and returns JWT token with account information

Tags: `Authentication`

### Request body

**Content-Type:** `application/json`

- `email` (string) (required) — Client profile email address
- `password` (string) (required) — Client profile password


### Responses

#### `200` — Successfully authenticated

**Content-Type:** `application/json`

- `access_token` (string) (required) — JWT access token for authentication
- `expires_at` (integer) (required) — Token expiration timestamp (Unix seconds)
- `accounts` (array) (required) — List of trading accounts accessible by the client
  - items:
    - `id` (string) (required) — Account identifier
    - `gid` (string) (required) — Account group identifier

#### `400` — Bad request (missing or invalid fields)

**Content-Type:** `application/json`

- `error` (object) (required)
  - `type` (string) (required) — Error type code
  - `message` (string) (required) — Human-readable error message
  - `field` (string) — Field name if error is field-specific

#### `401` — Unauthorized (invalid credentials)

**Content-Type:** `application/json`



#### `500` — Internal server error

**Content-Type:** `application/json`



