Skip to content

Get a Toolzz Bot

Endpoint used to get a Toolzz Bot.

Terminal window
curl --request GET \
--url 'https://bots.toolzz.ai/api/v1/toolzz/{typebotId}' \
--header 'Authorization: Bearer <token>'
{
"typebot": {
"version": "<string>",
"id": "<string>",
"name": "<string>",
"events": [
{
"id": "<string>",
"outgoingEdgeId": "<string>",
"graphCoordinates": { "x": 0, "y": 0 },
"type": "<string>"
}
],
"groups": [
{
"id": "<string>",
"title": "<string>",
"graphCoordinates": { "x": 0, "y": 0 },
"Blocks": [
{
"id": "<string>",
"type": "<string>",
"content": "<string>"
}
],
"Edge": []
}
],
"variables": [],
"theme": {},
"settings": {},
"createdAt": "<string>",
"updatedAt": "<string>",
"icon": "<string>",
"folderId": "<string>",
"workspaceId": "<string>",
"resultsTablePreferences": null,
"isArchived": false,
"isClosed": false
},
"currentUserMode": "<string>"
}
ParameterTypeDescriptionRequired
AuthorizationStringAccess token (must contain “Bearer” before the token)Yes
ParameterTypeDescriptionRequired
typebotIdstringThe unique identifier of the bot to get.Yes

KeyTypeDescription
typebotobject[]Toolzz Bot information.
typebot.versionstringThe current version of the platform.
typebot.idstringUnique identifier for the bot.
typebot.namestringThe Toolzz Bot name.
typebot.eventsobject[]The events that occurred on the bot flow.
typebot.events[].idstringUnique identifier for a flow event.
typebot.events[].outgoingEdgeIdstringUnique identifier for a specific block in the flow.
typebot.events[].graphCoordinatesobjectThe positioning of the block.
typebot.events[].graphCoordinates.xnumberThe X coordinate for positioning.
typebot.events[].graphCoordinates.ynumberThe Y coordinate for positioning.
typebot.events[].typestringThe type of the block.
typebot.groupsobject[]The bot group information.
typebot.groups[].idstringUnique identifier for a group.
typebot.groups[].titlestringThe title of the group.
typebot.groups[].graphCoordinatesobjectThe positioning of the group.
typebot.groups[].Blocksobject[]The blocks within the group.
typebot.groups[].Blocks[].idstringThe unique identifier of the block.
typebot.groups[].Blocks[].typestringThe type of the block.
typebot.groups[].Blocks[].contentstringThe content of the block.
typebot.groups[].Edgeobject[]The edge positioning of the block.
typebot.variablesobject[]The variables related to the bot.
typebot.themeobject[]The pre-set theme of the bot.
typebot.settingsobject[]The settings related to the bot.
typebot.createdAtstringThe bot creation date.
typebot.updatedAtstringThe bot last update date.
typebot.iconstringThe visual appearance of the bot.
typebot.folderIdstringThe unique identifier for the bot folder.
typebot.workspaceIdstringThe unique identifier for the bot workspace.
typebot.resultsTablePreferencesstringThe preferences for the results table of the bot.
typebot.isArchivedbooleanIndicates whether the bot is archived.
typebot.isClosedbooleanIndicates whether the bot is closed.
currentUserModestringThe type of user mode.

To access this endpoint, it is necessary to send a valid access token through the authorization header (Authorization) of the request.