Skip to content
Gorgias logo

Connectors / Customer service · HTTP Connector

Gorgias integration and API

Create a ticket, create a message and create a customer in Gorgias. Connect Gorgias to the rest of your customer service stack with Tray.ai.

What can you do with Gorgias on Tray.ai?

Gorgias is a customer support helpdesk for online stores that gathers email, chat and social messages into tickets tied to customer and order data. Tray.ai connects to Gorgias through the HTTP Connector, so your workflows can call the Gorgias API alongside the rest of your stack.

  • Create a ticket in Gorgias when a delivery fails in your shipping system.
  • Update a ticket when a refund is issued in your billing system, so agents see it.
  • Merge two customers when your CRM finds a duplicate record.
  • Create a message on the ticket when an order status changes in your store.
Connects through
HTTP Connector
Authentication
Basic authentication or OAuth 2.0
Base URL
https://{domain}.gorgias.com/api

Set it up

Connect Gorgias to Tray.ai

Each step uses Gorgias's own API details, from its documentation.

Save Gorgias's username and password

Save the credentials Gorgias gives you as a Tray.ai authentication. The HTTP Client sends them as basic auth. They stay out of the workflow and out of the logs.

Point the HTTP Client at the API

Add an HTTP Client step and use https://{domain}.gorgias.com/api as the base URL. Or paste a cURL example from Gorgias's API docs, and Tray.ai fills in the method, URL, and headers.

Start with “List tickets”

It's one of 25 documented actions, under Tickets. The response comes back as data the next step can map into your other apps.

Hand it to an AI agent

Wrap “Get a ticket” and “Create a ticket” in workflows, and Tray.ai's Agent Gateway for MCP publishes them as governed tools Claude and other AI agents can call.

Workflows to build with Gorgias

Connect Gorgias with Jira, Google Sheets and Slack

Each one uses actions and events from Gorgias's own API documentation.

Escalate Gorgias bug tickets to Jira

When

On a schedule

Then

  1. List tickets tagged as bugs since the last run
  2. Create an issue for each ticket in Jira
  3. Update a ticket with the issue link

With Jira

Send Gorgias satisfaction scores to Google Sheets

When

On a schedule

Then

  1. List surveys completed this week
  2. Add the scores to the weekly CSAT sheet in Google Sheets

With Google Sheets

Post urgent Gorgias tickets to Slack

When

On a schedule

Then

  1. List tickets opened since the last run
  2. Post tickets tagged urgent to the support channel in Slack

With Slack

Apps you can build on Gorgias data

Internal tools your team can build with an AI assistant, each one using Gorgias calls from its API documentation.

Ticket triage queue

Lists open tickets with their messages and lets an agent tag and assign each one.

Survey score dashboard

Shows satisfaction survey results by agent so a support lead can follow up on low scores.

Duplicate customer cleanup

Lists customer records that look alike and lets an agent merge each pair.

Gorgias MCP server for AI agents

Build an MCP server on Gorgias in Agent Gateway and choose which actions your agents can call. Every call runs with access control and an audit trail. How Agent Gateway works

  • List tickets
  • List messages
  • List customers
  • List tags
  • List surveys
  • List users
  • Get a ticket
  • Create a ticket

What the Gorgias API covers

6 resources and 25 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how. New to APIs? Read what an API integration is.

Tickets

  • List tickets
  • Get a ticket
  • Create a ticket
  • Update a ticket
  • Delete a ticket

Messages

  • List messages
  • Create a message
  • Update a message
  • Delete a message

Customers

  • List customers
  • Create a customer
  • Update a customer
  • Merge two customers
  • Delete a customer

Tags

  • List tags
  • Create a tag
  • Merge tags
  • Delete a tag

Satisfaction surveys

  • List surveys
  • Create a survey
  • Update a survey

Users

  • List users
  • Create a user
  • Update a user
  • Delete a user

Checked against Gorgias's own documentation on 2026-10-22

developers.gorgias.com/reference/introduction

Frequently asked questions

What can a Tray.ai workflow do in Gorgias?

The Gorgias API documents 25 actions across 6 resources (Tickets, Messages, Customers, Tags, Satisfaction surveys, Users). For example: List tickets; List messages; List customers. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with Gorgias?

The Gorgias API uses basic authentication and OAuth 2.0. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

See Gorgias working against your stack.

We'll walk through a tailored demo with your systems plugged in.

Great, a couple more details

This helps us connect you with the right person. Optional, and you can skip it.