---
title: "User login using application session."
method: POST
path: "/login"
tags: ["Login"]
---

# User login using application session.

`POST /login`

User login using application session.

## Examples

    POST /login.json

## Headers

- `qb-token` string, required
- `qb-sdk` string

## Request body

- LoginBodyRequest — Request to login the user
  - `email` string, email — Email address
  - `login` string — User login
  - `password` string, password, required — User password
  - `token` string — Session token

## Response `202`

User

- UserResponse — Response schema for success request
  - `user` User — User entity
    - `age_over16` boolean — Age over 16
    - `blob_id` integer — ID of the file/blob
    - `created_at` string, date-time — Creation timestamp
    - `custom_data` string — User additional info
    - `email` string, email — Email address
    - `external_user_id` integer — ID of the user in the external system
    - `facebook_id` string — ID of the user Facebook account
    - `full_name` string — User full name
    - `id` integer — User ID
    - `last_request_at` string, date-time — Last request timestamp
    - `login` string — User login
    - `parents_contacts` string — Parents contacts
    - `phone` string — User phone
    - `twitter_id` string — ID of the user Twitter account
    - `updated_at` string, date-time — Update timestamp
    - `website` string — User website

## Other responses

- `400` — Bad params
- `401` — Unauthorized response
- `403` — Server api disabled response
- `422` — Unprocessable entity response
- `429` — Rate limit exceeded response

---

[API](https://skmtc.net/quickblox/apis/quickblox-clients-api.md) · [All operations](https://skmtc.net/quickblox/apis/quickblox-clients-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/quickblox/quickblox-clients-api/revisions/86fda89a7d6a/schema)
