Toolzz AI
- Introduction
- Planos
- ChatService
- Auth
- Institution
- Unity
- Bot
- Widget
- GenAI
- Fallback
- Member
- Function
- Credential
- KnowledgeBase
- Voice
- Audio
- Toolzz Analytics
- Kratos
Get Widget by Unity
Get all widgets from unity
curl --request GET \
--url https://chat.api.toolzz.com.br/api/v1/widget/unity/{id} \
--header 'Authorization: Bearer <token>'
{
"items": [
{
"id": "<string>",
"institutionId": "<string>",
"title": "<string>",
"subTitle": "<string>",
"headerIconFileId": "<string>",
"primaryColor": "<string>",
"secondaryColor": "<string>",
"widgetIconFileId": "<string>",
"primaryAIColor": "<string>",
"secondaryAIColor": "<string>",
"avatarIconFileId": "<string>",
"aiFirstMessage": "<string>",
"primaryUserColor": "<string>",
"secondaryUserColor": "<string>",
"Bot": {
"id": "<string>",
"creatorId": "<string>",
"institutionId": "<string>",
"unityId": "<string>",
"name": "<string>",
"description": "<string>",
"iconFileId": "<string>",
"creativePrecision": 123,
"prompt": "<string>",
"metaprompt": "<string>",
"safeMode": true,
"isActivated": true,
"progressStatus": "<string>",
"hasMonetization": true,
"hasAnalytics": true,
"hasTools": true,
"isAdvancedBot": true,
"botGenAI": [
{
"id": "<string>",
"botId": "<string>",
"model": "<string>",
"messagesLimit": 123,
"charactersLimit": 123,
"temperature": 123
}
]
},
"audioVoice": "<string>",
"voiceActive": true,
"isPublic": true,
"isActive": true,
"isActivated": true,
"isFavorited": true
}
],
"totalItems": 123,
"widgetCount": 123,
"activeCount": 123,
"widgetLimit": 123
}
The id of the unity
Response Description
Below you will see the description of the unity response
List of widgets and their details.
Unique identifier for the widget.
ID of the associated institution.
Title of the widget.
Subtitle of the widget.
Optional header icon file ID.
Primary color configuration.
Secondary color configuration.
Optional widget icon file ID.
Primary AI color configuration.
Secondary AI color configuration.
Optional avatar icon file ID.
First message displayed by the AI.
Primary user color configuration.
Secondary user color configuration.
Unique identifier for the bot.
ID of the bot creator.
Institution ID associated with the bot.
Unity ID associated with the bot.
Name of the bot.
Description of the bot’s functionality.
Optional bot icon file ID.
Precision level for creative responses.
Detailed prompt defining bot behavior.
Customizable settings for bot interactions.
Indicates if safe mode is enabled for the bot.
Activation status of the bot.
Progress status of the bot.
Indicates if monetization is enabled for the bot.
Indicates if analytics are enabled for the bot.
Indicates if tools are enabled for the bot.
Specifies if the bot is advanced.
List of generative AI configurations for the bot.
Unique identifier for the generative AI configuration.
ID of the bot associated with the AI configuration.
AI model used, such as “gpt-4o”.
Maximum number of messages allowed.
Maximum character limit for responses.
Temperature setting for response variability.
Optional audio voice setting.
Indicates if voice functionality is active.
Indicates if the widget is public.
Indicates if the widget is active.
Activation status of the widget.
Indicates if the widget is marked as a favorite.
Total number of items.
Total count of widgets.
Number of active widgets.
Maximum limit for widgets.
Segurança
Para acessar este endpoint, é necessário enviar um token de acesso válido através do cabeçalho de autorização (Authorization) da requisição. Além disso, a API é protegida por outras medidas de segurança para proteger os dados dos usuários.
curl --request GET \
--url https://chat.api.toolzz.com.br/api/v1/widget/unity/{id} \
--header 'Authorization: Bearer <token>'
{
"items": [
{
"id": "<string>",
"institutionId": "<string>",
"title": "<string>",
"subTitle": "<string>",
"headerIconFileId": "<string>",
"primaryColor": "<string>",
"secondaryColor": "<string>",
"widgetIconFileId": "<string>",
"primaryAIColor": "<string>",
"secondaryAIColor": "<string>",
"avatarIconFileId": "<string>",
"aiFirstMessage": "<string>",
"primaryUserColor": "<string>",
"secondaryUserColor": "<string>",
"Bot": {
"id": "<string>",
"creatorId": "<string>",
"institutionId": "<string>",
"unityId": "<string>",
"name": "<string>",
"description": "<string>",
"iconFileId": "<string>",
"creativePrecision": 123,
"prompt": "<string>",
"metaprompt": "<string>",
"safeMode": true,
"isActivated": true,
"progressStatus": "<string>",
"hasMonetization": true,
"hasAnalytics": true,
"hasTools": true,
"isAdvancedBot": true,
"botGenAI": [
{
"id": "<string>",
"botId": "<string>",
"model": "<string>",
"messagesLimit": 123,
"charactersLimit": 123,
"temperature": 123
}
]
},
"audioVoice": "<string>",
"voiceActive": true,
"isPublic": true,
"isActive": true,
"isActivated": true,
"isFavorited": true
}
],
"totalItems": 123,
"widgetCount": 123,
"activeCount": 123,
"widgetLimit": 123
}