Create a Toolzz Bot
Endpoint used to create a new Toolzz Bot.
Request Example
Section titled “Request Example”curl --request POST \ --url 'https://bots.toolzz.ai/api/v1/toolzz/' \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "workspaceId": "<string>", "typebot": { "name": "<string>" } }'Response Example
Section titled “Response Example”{ "typebots": [ { "name": "<string>" } ]}Request description
Section titled “Request description”Access Token
Section titled “Access Token”| Parameter | Type | Description | Required |
|---|---|---|---|
Authorization | String | Access token (must contain “Bearer” before the token) | Yes |
Body Parameters
Section titled “Body Parameters”| Parameter | Type | Description | Required |
|---|---|---|---|
workspaceId | string | The workspace ID to create a bot for. | Yes |
typebot | object | The bot object to be created. | Yes |
typebot.name | string | The name of the bot to be created. | Yes |
Response description
Section titled “Response description”| Key | Type | Description |
|---|---|---|
typebots | object[] | The created bot information. |
typebots[].name | string | The name of the bot. |
Security
Section titled “Security”To access this endpoint, it is necessary to send a valid access token through the authorization header (Authorization) of the request.