---
title: "Login user and return token user token.
This method works only for email+password accounts.
It doesn't work for facebook/google/microsoft login!"
method: POST
path: "/thirdparty/v1/user/login"
tags: ["user"]
---

# Login user and return token user token.
This method works only for email+password accounts.
It doesn't work for facebook/google/microsoft login!

`POST /thirdparty/v1/user/login`

## Request body

- ClientLoginRequest
  - `email` string, nullable
  - `password` string, nullable
  - `expiresInSec` integer, nullable

## Response `200`

Success

- ClientLoginResponse
  - `token` string, nullable
  - `expiresInSec` integer

---

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