Gorgias
Connect & Ingest data from Gorgias
Gorgias is a helpdesk platform designed for ecommerce businesses, providing customer support ticketing, automation, and multi-channel communication. The Sling Gorgias connector extracts data from the Gorgias REST API, supporting tickets, customers, messages, tags, and configuration data.
CLI Pro Required: APIs require a CLI Pro token or Platform Plan.
Setup
The following credentials and inputs are accepted:
Secrets:
subdomain(required) -> Your Gorgias subdomain (the first part of your Gorgias URL, e.g.,mycompanyfrommycompany.gorgias.com)email(required) -> Your Gorgias account email addressapi_key(required) -> Your Gorgias REST API key
Inputs:
anchor_date(optional) -> The starting date for historical data extraction on first sync (default: 1 year ago). Format:YYYY-MM-DD
Getting Your Credentials
Log in to your Gorgias account
Go to Settings > Advanced > REST API
Your Base API URL and Username (email) are displayed
Click Create API key to generate a new API key
Copy the API key (Password field) — you can reveal it by clicking the eye icon
Important: Store your API key securely. It provides full access to your Gorgias account data. Never commit keys to version control.
Using sling conns
sling connsEnvironment Variable
Sling Env File YAML
See here to learn more about the sling env.yaml file.
With anchor date for historical data:
Replication
Here's an example replication configuration to sync Gorgias data to a PostgreSQL database:
Sync all endpoints:
Endpoints
Core Support Data
tickets
Support tickets
Yes (cursor-based)
ticket_messages
Messages within tickets (child endpoint)
No
customers
Customer profiles
Yes (cursor-based)
satisfaction_surveys
Customer satisfaction survey responses
Yes (cursor-based)
Users & Teams
users
Team members and agents
No
teams
Team groupings
No
Configuration
tags
Ticket categorization tags
No
macros
Pre-made response templates
No
rules
Automation rules
No
custom_fields
Custom field definitions (ticket type)
No
views
Saved ticket views/filters
No
integrations
Integration configurations
No
Account
account
Account information and settings
No
Events
events
Event log entries
Yes (cursor-based)
To discover available endpoints:
Incremental Sync
The Gorgias connector supports incremental sync for the following endpoints:
tickets — Fetches all tickets using cursor-based pagination. Subsequent runs resume from the last cursor position.
customers — Fetches all customer profiles using cursor-based pagination.
events — Fetches event log entries ordered by creation date.
satisfaction_surveys — Fetches survey responses using cursor-based pagination.
Anchor Date
On the first sync, incremental endpoints use the anchor_date input (default: 1 year ago) as the starting point. Subsequent syncs resume from the last cursor position.
Child Endpoints
The ticket_messages endpoint uses a queue-based pattern:
First, the
ticketsendpoint runs and collects ticket IDsThen, the
ticket_messagesendpoint iterates through the queue to fetch messages for each ticket
This means you should run the tickets endpoint before ticket_messages in your replication.
Rate Limiting
The Gorgias API has rate limits:
API Key Auth: 40 requests per 20-second window
OAuth2 Auth: 80 requests per 20-second window
The connector automatically:
Uses conservative rate limiting (2 requests/second)
Retries with exponential backoff on rate limit responses (HTTP 429)
To check your current rate limit usage, look for the X-Gorgias-Account-Api-Call-Limit header in API responses.
If you are facing issues connecting, please reach out to us at [email protected], on discord or open a Github Issue here.
Last updated
Was this helpful?