---
title: "Login user and return user token.
UserId and ApiKey could be retrieved in the user profile."
method: POST
path: "/thirdparty/v1/user/apilogin"
tags: ["user"]
---

# Login user and return user token.
UserId and ApiKey could be retrieved in the user profile.

`POST /thirdparty/v1/user/apilogin`

## Request body

- ApiLoginRequest
  - `userId` UserId
    - `isNull` boolean
  - `apiKey` 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)
