---
title: "GET /bots/{botID}/detail"
method: GET
path: "/bots/{botID}/detail"
tags: ["bot"]
---

# GET /bots/{botID}/detail

`GET /bots/{botID}/detail`

Botの詳細を取得します。

## Response `200`

正常に取得できました。

- BotDetail
  - `botId` string, uuid — BOT UUID
  - `botUserId` string, uuid — BOTユーザーUUID
  - `description` string — BOT説明
  - `subscribeEvents` string[] — BOTが購読しているイベントの配列
  - `state` integer — BOT状態
  - `creatorId` string, uuid — BOT作成者UUID
  - `createdAt` string, date-time — BOT作成日時
  - `updatedAt` string, date-time — BOT更新日時
  - `verificationCode` string — BOT認証コード
  - `accessToken` string — BOTアクセストークン
  - `postUrl` string, uri — BOTサーバーエンドポイント
  - `privileged` boolean — 権限昇格されているかどうか
  - `botCode` string — BOTインストールコード

## Other responses

- `403` — 取得できませんでした。権限がありません。
- `404` — 取得できませんでした。指定したBotは存在しません。

## Changes

- **2019-07-24** `66a69a1387ed` — 1 info
  - api operation id `getBotDetail` was added
- **2019-07-05** `6956f2622a20` — 7 info
  - api operation id `getBotDetail` removed and replaced with ``
  - the endpoint scheme security `traqOAuth2` was added to the API
  - endpoint reactivated
  - added the non-success response with the status `403`
  - …3 more

[Change history](https://skmtc.dev/traptitech/apis/traq-api/changes/bots/:botID/detail/get.md)

---

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