Skip to main content
POST
/
api
/
v1
/
bot
/
configuration
/
fallback
Criar Fallback
curl --request POST \
  --url https://chat.api.toolzz.com.br/api/v1/bot/configuration/fallback \
  --header 'Content-Type: application/json' \
  --data '
{
  "botId": "<string>",
  "fallBacks": [
    {}
  ]
}
'
{
  "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>"
          }
        }
      }
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.toolzz.dev/llms.txt

Use this file to discover all available pages before exploring further.

Token de Acesso

Authorization
string
Token de acesso (“Bearer” deve estar antes do token)

Corpo da Requisição

botId
string
required
O botId
fallBacks
array
required
Os fallBacks
O usuário deve possuir uma credencial que não esteja sendo usada pelo agente

Descrição da Resposta

Abaixo você verá a descrição da resposta da criação do Fallback
items
array
required
Lista de configurações.

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.