Bots

Create a bot from configuration

Changed on

Required scope: bot

post/api/v1/bots

Request

  • Base URL
    http://localhost:6185
  • URL
    http://localhost:6185/api/v1/bots
  • Auth
    API key in header X-API-Key

Request body

idstring
namestring
typestring required

Platform adapter type, such as aiocqhttp, telegram, lark.

enabledboolean
configDynamicConfig required

Response

Standard AstrBot success response

status'ok' required
messagestring
dataunknown required

Changes