Get Gorgias Connection
GET/api/integrations/gorgias
Returns the tenant's Gorgias connection, or data: null when Gorgias is not connected. A tenant has at most one Gorgias connection; it serves both order support and repairs.
integrations:readGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Connection fields: id, domain (the Gorgias subdomain), account_name, auth_type (api_key | oauth), email, has_api_key, connected_at, last_success_at, last_error, endpoint_base_url (the base of the URLs Gorgias calls; null until the connection has a webhook token), webhook_secret_hint (last 4 characters only; the API key, OAuth tokens and full secret are never returned), order_support (cancellation rules plus the address_edit, reship, returns and refunds policies), repairs (push_updates, sender_user_id, webhook_url), provisioning (last_run_at and the setup checklist), stats_30d (lookups, cancelled, held_for_review, not_allowed, holds) oauth_available and health (status: ok | degraded | needs_reconnect; reason; last_checked_at; missing_scopes: the app permissions the connection still needs, empty for API-key connections).
Checklist items whose status is manual carry copy-ready values in manual, with the shared secret masked to its last 4 characters. Get Gorgias AI Agent Setup Values returns them with the full secret.
Requires integrations.show.
customer_message_defaults is SKU.io's wording for each customer reply, keyed like order_support.customer_messages. A reply in customer_messages that equals its default has not been customised. Send an empty string to go back to the default; only customised replies are stored.
Request
Responses
- 200
- 401
- 403
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.