Trengo API
13 endpoints for Trengo, each at its own method and path, called with your API key. Open an endpoint for its inputs, examples and response.
- Base URL
- https://cotlet.dev/api/v1/trengo
- Connects with
- Your own Trengo login at app.trengo.com. What your agent can do follows your user's permissions. You enter your 2-step verification yourself, in your own Cloud Browser.
- Integration page
- Trengo
Read (6)
Return data and change nothing in the account.
| Endpoint | Description |
|---|---|
| GET | Conversations in an inbox folder, with channel, labels, assignee and the last message. |
| GET | Conversations that match a ticket number, name, phone number, email address or keywords. |
| GET | One conversation with its contact, labels, assignee and every message, internal notes included. |
| GET | The labels set up in your Trengo, with colour, channels and whether they are archived. |
| GET | The users and teams a conversation can be assigned to. |
| GET | The quick replies of your Trengo with their type and text. |
Write (7)
Change the account. Calls marked Confirm wait for the user to approve them.
| Endpoint | Description |
|---|---|
| POST | Adds a label to a conversation. |
| DELETE | Removes a label from a conversation. |
| PUT | Sets or clears the reminder that reopens a conversation in your inbox. |
| POST | Writes an internal note on a conversation, visible to your team and not to the customer. |
| POST | Assigns a conversation to a user or to a team. |
| POST | Sends a reply to the customer in the conversation's own channel. |
| POST | Closes a conversation without sending a message. |