LangBot Docs
Plugins

Install a plugin from GitHub

Install a plugin from a GitHub repository asynchronously and return the task ID.

POST
/api/v1/plugins/install/github

Install a plugin from a GitHub repository asynchronously and return the task ID.

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/plugins/install/github" \  -H "Content-Type: application/json" \  -d '{    "url": "https://github.com/rocksclawbot/langbot-community-plugins/tree/main/disaster-alert"  }'
{  "code": 0,  "data": {    "task_id": 0  }}