Import a Toolzz Bot
Endpoint used to import a Toolzz Bot into a workspace.
Request Example
Section titled “Request Example”curl --request POST \ --url 'https://bots.toolzz.ai/api/v1/toolzz/import' \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "workspaceId": "<string>", "typebot": {} }'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 to import a bot into. | Yes |
typebot | object[] | The bot information to import. | Yes |
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.