Skip to content

Integrate Toolzz Chat

Endpoint to integrate the agent to Toolzz Chat.

Terminal window
curl --request POST \
--url https://converflow.api.prod.toolzz.media/api/v1/chat/integration \
--header 'Authorization: Bearer TOKEN_HERE' \
--header 'Content-Type: application/json' \
--data '
{
"unitId": "uuid",
"title": "string",
"teamId": 12345678,
"infisicalReference": {
"secretName": "uuid"
},
"inboxId": 123,
"handoffAction": "string",
"escalationNotice": "string",
"keepHistory": true,
"sendInitialMessage": true
}
'
{
"accountId": 1,
"inboxId": 186,
"sendInitialMessage": true,
"keepHistory": true,
"isActive": true
}
ParameterTypeDescriptionRequired
AuthorizationStringAccess token (“Bearer” must be before the token)Yes
KeyTypeDescriptionRequired
unitIdUUIDUnique identifier of the organizational unit.Yes
titleStringIdentifier title of this transfer configuration.Yes
teamIdNumberID of the department/team (seen in the previous listing) where the chat will be moved.Yes
infisicalReferenceObjectSecurity reference for required API keys.Yes
infisicalReference.secretNameStringID or name of the secret in the Infisical vault (e.g., ToolzzChat credential).Yes
inboxIdNumberID of the specific inbox that will receive the conversation.Yes
handoffActionStringPrompt or command that triggers the transfer logic.Yes
escalationNoticeStringMessage sent to the end user informing about the transfer.Yes
keepHistoryBooleanIf true, the conversation history with the AI will be maintained for the human attendant.Yes
sendInitialMessageBooleanDefines if an initial automatic message should be triggered after handoff.Yes
KeyTypeDescription
accountIdNumberUnique identifier of the organizational account in the chat provider.
inboxIdNumberSpecific identifier of the configured inbox (Inbox).
sendInitialMessageBooleanIndicates if sending an automatic greeting message is enabled.
keepHistoryBooleanIndicates if the history of previous interactions will be preserved in this session.
isActiveBooleanCurrent status of the configuration (true for active / false for inactive).

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