Get Gorgias Insights
GET/api/integrations/gorgias/:gorgiasInstance/insights
Support insights for a date range: how many tickets orders generate, what Gorgias asked SKU.io to do, the proactive tickets SKU.io raised, and the products and carriers behind tickets.
integrations:readGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Query: from / to (optional, calendar days as Y-m-d in the account timezone; default the last 30 days; to must be on or after from).
Fields:
from,to— the range usedtickets_linked— Gorgias tickets linked to orders in the rangeorders_with_tickets— distinct orders with at least one linked ticketorders_shipped— orders shipped in the rangetickets_per_100_orders—tickets_linkedper 100 shipped orders, one decimal; null when nothing shippedactions_by_type— per action (lookup,order_status,cancel,hold,release_hold,address,reship,return,refund, …):count,auto(completed without a person),needs_human; busiest firstproactive_by_event— per event (delivery_exception,backorder_created,eta_slipped,ship_by_risk,return_received,cancel_needs_attention):created(new tickets) andnoted(notes added to existing tickets)top_skus— products on orders with tickets:sku,name,tickets,product_idtop_carriers— carriers on orders with tickets:carrier,tickets,exceptionscsat— Gorgias satisfaction surveys on linked tickets:responses,average(1–5, null when none). Empty when the connection lacks permission to read surveys.
Requires integrations.show.
Request
Responses
- 200
- 401
- 403
- 404
- 422
- 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.
Not found — no record with the given identifier (or the route does not exist). Verify the ID before retrying.
Unprocessable Content
Response Headers
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.