---
title: "Login with JSON"
method: POST
path: "/api/login"
tags: ["Authorization"]
---

# Login with JSON

`POST /api/login`

Login with name and password using JSON body.

## Request body

- RoleLogin
  - `name` string, required
  - `password` string, required
  - `redirect` string, nullable

## Response `200`

Request fulfilled, document follows

- object

## Other responses

- `400` — Bad request syntax or unsupported method

---

[API](https://skmtc.net/masumi-network/apis/kodosumi-api.md) · [All operations](https://skmtc.net/masumi-network/apis/kodosumi-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/masumi-network/kodosumi-api/revisions/2092ce918678/schema)
