---
title: "Authenticate as Bot"
method: POST
path: "/bots/login"
tags: ["Bots"]
---

# Authenticate as Bot

`POST /bots/login`

Exchange a bot ID and secret token for a JWT access token.

## Request body

- BotLoginPayload
  - `botId` string, uuid, required
  - `token` string, required

## Response `200`

- TokenPair
  - `accessToken` string, required
  - `refreshToken` string, nullable — If the refresh token is not provided, you can continue using the same refresh token.

---

[API](https://skmtc.net/mikotoio/apis/mikoto-superego.md) · [All operations](https://skmtc.net/mikotoio/apis/mikoto-superego/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mikotoio/mikoto-superego/revisions/2884da9c4ee0/schema)
