---
title: "Login"
method: POST
path: "/api/auth/login"
tags: ["Auth"]
---

# Login

`POST /api/auth/login`

## Request

- Base URL: `https://data.getplace.io` (the document declares no server; this is the origin it was published from)
- URL: `https://data.getplace.io/api/auth/login`
- Auth: none declared

Authenticate and get JWT token (tries GetPlace2 first, then local).

## Request body

- LoginRequest
  - `email` string, required
  - `password` string, required

## Response `200`

Successful Response

- TokenResponse
  - `access_token` string, required
  - `token_type` string
  - `user` AppApiAuthApiUserResponse, required
    - `id` union, required
      - integer
      - string
    - `email` string, required
    - `name` string, required
    - `role` string, required
    - `is_active` boolean, required
    - `created_at` string, date-time, nullable
    - `last_login` string, date-time, nullable
    - `allow_reviews_access` boolean
    - `allow_menu_access` boolean
    - `menu_access_items` unknown[], nullable
      - unknown
    - `enable_city_explore` boolean
    - `enable_visibility` boolean
    - `enable_delivery_zone` boolean
    - `is_master_bk` boolean
    - `enable_client_reviews_access` boolean
    - `enable_country_explorer` boolean
    - `enable_store_ranking` boolean
    - `allow_promo_access` boolean

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/getplace/apis/getplace-insights-api.md) - [All operations](https://skmtc.dev/getplace/apis/getplace-insights-api/llms.txt) - [OpenAPI document](https://skmtc.dev/getplace/apis/getplace-insights-api/revisions/0f337387603f?raw)
