InTouch Hub · Blue Isle Software

Trengo

Manage omnichannel inbox tickets, contacts, and messages in Trengo.

Trengo

Manage omnichannel inbox tickets, contacts, and messages in Trengo.

Base URL: https://app.trengo.com/api/v2
Auth: Authorization: Bearer <apiKey>
Docs: https://developers.trengo.com/

Operations

Operation Description Key Inputs
list_tickets List tickets with optional filters status, contactId, page
create_ticket Open a new ticket on a channel channelId (required), contactId (required), subject
close_ticket Close an existing ticket ticketId (required)
send_message Send a message or internal note to a ticket ticketId (required), message (required), internalNote, subject
list_contacts List or search contacts searchTerm, page
assign_ticket Assign a ticket to a user or team ticketId (required), assignType (user/team), userId or teamId

API Key Setup

  1. In Trengo, go to Settings > Apps & Integrations > API.
  2. Under Personal Access Tokens, click Create token.
  3. Copy the token — it is shown only once.
  4. Paste it in the apiKey field of this tool.

Examples

List open tickets

{
  "apiKey": "YOUR_TOKEN",
  "operation": "list_tickets",
  "status": "OPEN"
}

Create a ticket

{
  "apiKey": "YOUR_TOKEN",
  "operation": "create_ticket",
  "channelId": "736",
  "contactId": "1",
  "subject": "Support question"
}

Send a message

{
  "apiKey": "YOUR_TOKEN",
  "operation": "send_message",
  "ticketId": "2501567",
  "message": "Thank you for reaching out! We will get back to you shortly."
}

Send an internal note

{
  "apiKey": "YOUR_TOKEN",
  "operation": "send_message",
  "ticketId": "2501567",
  "message": "Escalating to tier 2 — customer is premium.",
  "internalNote": "true"
}

Close a ticket

{
  "apiKey": "YOUR_TOKEN",
  "operation": "close_ticket",
  "ticketId": "2501567"
}

Assign ticket to a user

{
  "apiKey": "YOUR_TOKEN",
  "operation": "assign_ticket",
  "ticketId": "2501567",
  "assignType": "user",
  "userId": "42"
}

Search contacts

{
  "apiKey": "YOUR_TOKEN",
  "operation": "list_contacts",
  "searchTerm": "[email protected]"
}

Published Outputs

Field Description
result JSON string of the Trengo API response body
status success or error_<httpCode>