Skip to content

Update Toolzz Chat Integration

Endpoint to update Toolzz Chat integration with the agent.

Terminal window
curl --request POST \
--url https://converflow.api.prod.toolzz.media/api/v1/chat/integration/{integrationId} \
--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
}
'
{
"id": "uuid",
"title": "<string>",
"isActive": true,
"unitId": "uuid",
"credentialId": "uuid",
"accountId": 1,
"inboxId": 0,
"teamId": 0,
"handoffAction": "<string>",
"escalationNotice": "<string>",
"keepHistory": false,
"sendInitialMessage": 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 automatic initial message should be triggered after handoff.Yes
KeyTypeDescription
idUUIDUnique identifier of the handoff configuration in the database.
titleStringIdentifier title of the configuration (e.g., “test of test”).
isActiveBooleanIndicates if this transfer rule is active.
unitIdUUIDUnique identifier of the owning organizational unit.
credentialIdUUIDLinked Toolzz Chat credential ID (retrieved from the vault).
accountIdNumberAccount ID in the human service provider.
inboxIdNumberID of the inbox that will receive the ticket.
teamIdNumberID of the target team/department (e.g., 4 - CS).
handoffActionStringThe instruction or trigger that the AI follows to transfer.
escalationNoticeStringFeedback message sent to the user at the moment of transfer.
keepHistoryBooleanDefines if the conversation history with the AI will be hidden or maintained.
sendInitialMessageBooleanDefines if the system triggers an automatic message when entering the human queue.

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