---
title: "Authentication to Management API"
method: POST
path: "/api/2.0/login"
tags: ["Authentication Management API"]
---

# Authentication to Management API

`POST /api/2.0/login`

## Request body

- Credential — Management API client ID
  - `clientId` string — Management API client ID
  - `clientSecret` string — Management API client secret

## Response `200`

Success

- AccessToken — Authentication token information
  - `accessToken` string — Access token
  - `expires` integer — Number of seconds to expiration
  - `tokenType` string — Token type currently only allow bearer

## Other responses

- `400` — Bad request
- `401` — User is not authenticated
- `500` — Error during processing

---

[API](https://skmtc.net/knowi/apis/user-management-api.md) · [All operations](https://skmtc.net/knowi/apis/user-management-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/knowi/user-management-api/revisions/6e6982573ba6/schema)
