Skip to content

Get Toolzz Chat Integration by Unit

Endpoint used to get Toolzz Chat integrations by unit.

Terminal window
curl --request GET \
--url https://converflow.api.prod.toolzz.media/api/v1/chat/integration/unit/{unitId} \
--header 'Authorization: Bearer TOKEN_HERE'
{
"data": [
{
"id": "uuid",
"title": "<string>",
"isActive": true,
"unitId": "uuid",
"accountId": 1,
"inboxId": 0,
"teamId": 0,
"activeBotIds": [],
"handoffAction": "<string>",
"escalationNotice": "<string>",
"keepHistory": true,
"sendInitialMessage": true,
"infisicalReference": {
"environment": "prod",
"path": "/",
"projectId": "uuid",
"secretName": "uuid"
}
}
]
}

ParameterTypeDescriptionRequired
AuthorizationStringAccess token (“Bearer” must be before the token)Yes
ParameterTypeDescriptionRequired
unitIdStringUnit IDYes
KeyTypeDescription
data[]ArrayList of objects containing the transfer (handoff) settings.
data[].idUUIDUnique identifier of the handoff rule in the database.
data[].titleStringIdentifier name of the configuration (e.g., “toolzz-bea”).
data[].isActiveBooleanIndicates if the transfer rule is active.
data[].unitIdUUIDUnique identifier of the owning organizational unit.
data[].accountIdNumberID of the organizational account in the human chat provider.
data[].inboxIdNumberID of the target inbox for the ticket.
data[].teamIdNumberID of the target team/department (optional in some rules).
data[].activeBotIdsArrayList of IDs of bots currently using this rule.
data[].handoffActionStringThe logical trigger or prompt that instructs the AI to transfer.
data[].escalationNoticeStringMessage seen by the client during the transfer.
data[].keepHistoryBooleanDefines if the conversation history with the AI will be maintained for the human.
data[].sendInitialMessageBooleanDefines if an automatic message is triggered when starting the handoff.
data[].infisicalReferenceObjectSecurity metadata of the linked credential:
infisicalReference.secretNameStringID of the secret/key in the Infisical vault.
infisicalReference.projectIdUUIDProject ID in the secrets vault.
infisicalReference.environmentStringExecution environment (e.g., prod).
infisicalReference.pathStringDirectory path in the vault.

To access this endpoint, it is necessary to send a valid access token through the authorization header (Authorization) of the request. Additionally, the API is protected by other security measures to safeguard user data.

To access your access token, follow these steps:

  1. Log in to the ToolzzAI platform
  2. Click on “Settings”
  3. Click on “Access Token”
  4. Copy the access token

Access token page