---
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

- Base URL: `https://app.agenticbi.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.agenticbi.com/api/2.0/login`
- Auth: none declared

## 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.dev/agenticbi/apis/user-management-api.md) · [All operations](https://skmtc.dev/agenticbi/apis/user-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/agenticbi/apis/user-management-api/revisions/62c42a99830e?raw)
