curl --request GET \
--url https://chat.api.toolzz.com.br/api/v1/bot/{id}/configuration/fallback \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"botId": "<string>"
}'
{
"items": [
{
"id": "<string>",
"botId": "<string>",
"order": 123,
"credentialId": "<string>",
"model": "<string>",
"createdAt": "<string>",
"credential": {
"id": "<string>",
"name": "<string>",
"userId": "<string>",
"unityId": "<string>",
"integrationId": "<string>",
"secretId": "<string>",
"status": true,
"virtualKey": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"integration": {
"id": "<string>",
"name": "<string>",
"iconId": "<string>",
"type": "<string>",
"form": [
{
"name": "<string>",
"type": "<string>",
"label": "<string>",
"maxLenght": "<string>",
"required": true
}
],
"status": true,
"createdAt": "<string>",
"updatedAt": "<string>",
"slug": "<string>",
"file": {
"id": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"institutionId": "<string>",
"type": "<string>",
"fileName": "<string>",
"internalStorageUrl": "<string>",
"url": "<string>",
"size": 123,
"extension": "<string>",
"maskName": "<string>"
}
}
}
}
]
}
Endpoint para obter Fallback
curl --request GET \
--url https://chat.api.toolzz.com.br/api/v1/bot/{id}/configuration/fallback \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"botId": "<string>"
}'
{
"items": [
{
"id": "<string>",
"botId": "<string>",
"order": 123,
"credentialId": "<string>",
"model": "<string>",
"createdAt": "<string>",
"credential": {
"id": "<string>",
"name": "<string>",
"userId": "<string>",
"unityId": "<string>",
"integrationId": "<string>",
"secretId": "<string>",
"status": true,
"virtualKey": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"integration": {
"id": "<string>",
"name": "<string>",
"iconId": "<string>",
"type": "<string>",
"form": [
{
"name": "<string>",
"type": "<string>",
"label": "<string>",
"maxLenght": "<string>",
"required": true
}
],
"status": true,
"createdAt": "<string>",
"updatedAt": "<string>",
"slug": "<string>",
"file": {
"id": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"institutionId": "<string>",
"type": "<string>",
"fileName": "<string>",
"internalStorageUrl": "<string>",
"url": "<string>",
"size": 123,
"extension": "<string>",
"maskName": "<string>"
}
}
}
}
]
}
Show properties
Show properties
Show properties
Show properties