Bots API
Get Bots list
To get Bots list using the Bytebot API, you will need to make a Get
request to /v2/bots
.
Details:
- Endpoint:
/v2/bots
- Method:
GET
- Headers:
x-api-key: <your-api-key>
Example Request:
Get Bot by id
To get Bots list using the Bytebot API, you will need to make a Get
request to /v2/bots/<your-bot-id>
.
Details:
- Endpoint:
/v2/bots/<your-bot-id>
- Method:
GET
- Headers:
x-api-key: <your-api-key>
Example Request:
Execute a Bot
To execute bots using the Bytebot API, you will need to make a POST
request to /v2/bots/execute
.
Details:
- Endpoint:
/v2/bots/execute
- Method:
POST
- Headers:
x-api-key: <your-api-key>
- Body Parameters:
botId
: The ID of the bot you want to execute (required)url
: The URL of the route (optional)parameters
: An array of objects withname
andvalue
fields for optional input parameters (optional)