Get a Toolzz Bot
curl --request GET \
--url https://bots.toolzz.ai/api/v1/toolzz/{typebotId}import requests
url = "https://bots.toolzz.ai/api/v1/toolzz/{typebotId}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://bots.toolzz.ai/api/v1/toolzz/{typebotId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://bots.toolzz.ai/api/v1/toolzz/{typebotId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://bots.toolzz.ai/api/v1/toolzz/{typebotId}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://bots.toolzz.ai/api/v1/toolzz/{typebotId}")
.asString();require 'uri'
require 'net/http'
url = URI("https://bots.toolzz.ai/api/v1/toolzz/{typebotId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"typebot": [
{
"version": "<string>",
"id": "<string>",
"name": "<string>",
"events": [
{
"id": "<string>",
"outgoingEdgeId": "<string>",
"graphCoordinates": {
"x": 123,
"y": 123
},
"type": "<string>",
"groups": [
{
"id": "<string>",
"title": "<string>",
"graphCoordinates": {
"x": 123,
"y": 123,
"Blocks": [
{
"id": "<string>",
"type": "<string>",
"content": "<string>",
"Edge": [
{}
]
}
],
"variables": [
{}
]
},
"theme": [
{}
],
"settings": [
{}
],
"createdAt": "<string>",
"updatedAt": "<string>",
"icon": "<string>",
"folderId": "<string>",
"workspaceId": "<string>",
"resultsTablePreferences": "<string>",
"isArchived": true,
"isClosed": true
}
],
"currentUserMode": "<string>"
}
]
}
]
}Bots
Get a Toolzz Bot
Endpoint to get a Toolzz Bot
GET
/
api
/
v1
/
toolzz
/
{typebotId}
Get a Toolzz Bot
curl --request GET \
--url https://bots.toolzz.ai/api/v1/toolzz/{typebotId}import requests
url = "https://bots.toolzz.ai/api/v1/toolzz/{typebotId}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://bots.toolzz.ai/api/v1/toolzz/{typebotId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://bots.toolzz.ai/api/v1/toolzz/{typebotId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://bots.toolzz.ai/api/v1/toolzz/{typebotId}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://bots.toolzz.ai/api/v1/toolzz/{typebotId}")
.asString();require 'uri'
require 'net/http'
url = URI("https://bots.toolzz.ai/api/v1/toolzz/{typebotId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"typebot": [
{
"version": "<string>",
"id": "<string>",
"name": "<string>",
"events": [
{
"id": "<string>",
"outgoingEdgeId": "<string>",
"graphCoordinates": {
"x": 123,
"y": 123
},
"type": "<string>",
"groups": [
{
"id": "<string>",
"title": "<string>",
"graphCoordinates": {
"x": 123,
"y": 123,
"Blocks": [
{
"id": "<string>",
"type": "<string>",
"content": "<string>",
"Edge": [
{}
]
}
],
"variables": [
{}
]
},
"theme": [
{}
],
"settings": [
{}
],
"createdAt": "<string>",
"updatedAt": "<string>",
"icon": "<string>",
"folderId": "<string>",
"workspaceId": "<string>",
"resultsTablePreferences": "<string>",
"isArchived": true,
"isClosed": true
}
],
"currentUserMode": "<string>"
}
]
}
]
}Parameters
string
botId: The bot ID to get.
Response Description
Below you will see the description of the function get a toolzz bot.object[]
required
Toolzz Bots information.
Show messages properties
Show messages properties
string
required
The current version of the platform.
string
required
Unique identifier for a bot.
string
required
The Toolzz bot name.
object[]
required
The events occurred on bot flow.
Show events properties
Show events properties
string
The type of the block.
object[]
The bot group information.
Show groups properties
Show groups properties
string
required
Unique identifier for a group.
string
required
The title of the group.
object
required
The positioning of a block.
Show graphCoordinates properties
Show graphCoordinates properties
number
required
The coordinate for positioning.
number
required
The coordinate for positioning.
object[]
required
object[]
required
The variables related to the bot.
object[]
required
The pre setted theme of the bot.
object[]
required
The settings related to the bot.
string
required
The bot creation data.
string
required
The bot update data.
string
required
The visual appereance of the bot.
string
required
The unique identifier for the bot folder.
string
required
The unique identifier for the bot workspace.
string
required
The preferences for the results table of the bot.
boolean
required
The verifier to archived bots.
boolean
required
The verifier to closed bots.
string
required
The type of user mode.

