LangBot Docs
Bots

Create a bot

POST
/api/v1/platform/bots

Authorization

X-API-Key<token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/api/v1/platform/bots" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "adapter": "string",    "config": {}  }'
{  "code": 0,  "data": {    "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f"  }}