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

# Login

`POST /auth/login`

Create a dashboard JWT session.

## Request body

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

## Response `200`

Authenticated user

- AuthResponse
  - `token` string
  - `user_id` string
  - `email` string
  - `merchant_id` string
  - `role` string
  - `merchants` MerchantInfo[]
    - `merchant_id` string
    - `merchant_name` string
    - `role` string

---

[API](https://skmtc.net/juspay/apis/decision-engine.md) · [All operations](https://skmtc.net/juspay/apis/decision-engine/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/juspay/decision-engine/versions/36e7a0972ee6/schema)
