Skip to main content

List Gorgias Activity

GET 

/api/integrations/gorgias/:gorgiasInstance/activity

Every call Gorgias made into SKU.io for this connection (ticket views, order status, cancels, holds, releases, address changes, reships, returns, refunds) plus each Set Up Gorgias Objects run, newest first. Rows are kept for 180 days.

Required scope: integrations:read

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Ticket views (action = lookup, the sidebar loading a ticket's orders) are left out unless filter[show_views]=true or filter[action] includes lookup. Repeat views of the same ticket within 10 minutes are one row whose view_count goes up.

Row fields: id, created_at, action (lookup, order_status, cancel, hold, release_hold, provision, cancel_completion), action_label, action_description (one sentence for a tooltip), actor (customer, agent, system), via (sidebar, macro, rule, ai_agent, flow, or null on older rows), actor_label (who did it, in words: an agent's email, Macro run by …, Gorgias AI Agent, SKU.io …), agent_email (as sent by Gorgias, unverified), summary (one plain sentence of what happened), view_count, last_viewed_at, sales_order (id, number) or null, customer (id, name; ticket views only) and order_count (ticket views only: orders the sidebar showed), ticket_id, ticket_url, outcome, http_status, duration_ms, message, steps (step, ok, detail) or null.

Filters: filter[action], filter[outcome], filter[actor], filter[via] (comma-separated lists; all means no filter), filter[show_views] (true to include ticket views), filter[created_at_from] / filter[created_at_to] (a day as m/d/Y or Y-m-d in the account timezone; to includes the whole day), filter[search] (order number, ticket id, or an exact customer email; narrow with search_columns = id, order, ticket_id, email).

Advanced filters: filter_groups (base64-encoded JSON tree of conditions joined with and/or). Columns: id, action, outcome, actor, via, view_count, agent_email, ticket_id, sales_order_number, sales_order_id, http_status, duration_ms, message, created_at; operators per column type (is, is_not, contains, is_one_of, greater_than, less_than, between, before, after, past_days …).

Sorts: created_at, duration_ms, action, outcome (prefix - for descending; default -created_at).

Pagination: page, per_page (default 10, max 100).

Requires integrations.show.

Request​

Responses​

OK

Response Headers
    Content-Type