Gorgias API
14 endpoints for Gorgias, 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/gorgias
- Connects with
- Your own Gorgias user on your subdomain. What your agent can do follows your role: Lead or Admin to edit macros and rules, Lite or above to reply and update tickets. You sign in in your own browser and keep your SSO or 2-step verification.
- Integration page
- Gorgias
Read (7)
Return data and change nothing in the account.
| Endpoint | Description |
|---|---|
| GET | Tickets matching a text search or filters, newest first. |
| GET | One ticket with its messages and internal notes in order. |
| GET | Earlier tickets of a customer, with Shopify orders when a store is connected. |
| GET | Your macros with name, text and the actions each one runs. |
| GET | Your rules with trigger, conditions, actions and run order. |
| GET | Your ticket tags with how many tickets use each one. |
| GET | Teams and users a ticket can be assigned to. |
Write (7)
Change the account. Calls marked Confirm wait for the user to approve them.
| Endpoint | Description |
|---|---|
| PATCH | Set status, priority, assignee, tags or snooze on a ticket. |
| POST | Add a note to a ticket that only your team sees. |
| POST | Send a reply to the customer on the ticket. |
| POST | Apply one of your macros to a ticket. |
| POST | Merge one ticket into another. |
| PATCH | Edit, archive or unarchive a macro. |
| PATCH | Turn a rule on or off, or rename it. |