---
title: "Web and plug-in login"
method: POST
path: "/v1/login"
tags: ["Users"]
---

# Web and plug-in login

`POST /v1/login`

Web and plug-in login

## Request body

- UserLoginCredentials
  - `email` string, required
  - `from` string
  - `password` string, required

## Response `200`

{"code":0,"message":"OK","data":{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9"}}

- string

## Changes

> 43 revisions in range; 1 could not be searched.

- **2020-12-13** `2743e3738539` — 2 info
  - api tag `Users` added
  - api tag `用户` removed
- **2020-11-10** `71115600dc50` — 1 info
  - endpoint added
- **2020-10-29** `626c0be310f3` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/nocalhost/apis/nocalhost-docs-api/changes/v1/login/post.md)

---

[API](https://skmtc.dev/nocalhost/apis/nocalhost-docs-api.md) · [All operations](https://skmtc.dev/nocalhost/apis/nocalhost-docs-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nocalhost/nocalhost-docs-api/revisions/9f53c7025f7a/schema)
