At a glance
- Availability: Experimental (how to enable).
- Auth: Basic auth.
- Connection: HTTP Basic auth with
GORGIAS_USERNAMEas the username andGORGIAS_API_KEYas the password. - Docs: https://developers.gorgias.com/reference/authentication
Credentials
Set these per environment. See Connect an integration.Setup
- Get a Gorgias account: Sign up at https://www.gorgias.com - new accounts start with a free trial you can use for testing. Note your account subdomain (the ‘acme’ in acme.gorgias.com).
- Create a REST API key: In your Gorgias dashboard, open Settings → REST API. Copy the Base API URL (https://<your-domain>.gorgias.com/api), your username (your account email), and create/copy the API key (password).
- Store the credentials: Add GORGIAS_USERNAME=<your account email>, GORGIAS_API_KEY=<your API key>, and GORGIAS_ACCOUNT_DOMAIN=<your subdomain> to your .env file. The API uses HTTP Basic auth with email as username and API key as password.
- Verify access: Run the List Tickets tool with your account subdomain as accountDomain. You should get back a page of tickets (empty data array on a fresh account).
- Every tool takes an accountDomain path parameter - pass the value stored in GORGIAS_ACCOUNT_DOMAIN
- API keys inherit the permissions of the user they belong to; create the key from an account with access to the tickets you need
- Creating a message with channel ‘email’ actually emails the customer - use channel ‘internal-note’ for private notes
Tools
Example prompts
- List my most recent Gorgias tickets and summarize which are still open and what the customers are asking about.
- Read the messages in a Gorgias ticket I specify and draft a friendly agent reply addressing the customer’s issue.
- Check a Gorgias ticket I specify; if the issue looks resolved, post a closing reply and set the ticket status to closed.