Skip to Content
API ReferenceTickets

Retrieve support analytics

Read your store's support report for the last 7, 30 or 90 days.

The report counts tickets received and resolved, closures by store members and by automation rules, wallet credit issued from tickets, each automation rule's results, and the latest resolution activity. The range always ends now: 30d is the last 30 days.

Wallet credit counts only credit that was not reversed. A ticket closed without an outcome has no resolution time, so it is not counted in tickets_resolved.

GET
/v2/support-analytics

Read your store's support report for the last 7, 30 or 90 days, counted back from now: tickets received and resolved, closures by people and by automation rules, wallet credit issued from support, each automation rule's results, and the latest resolution activity. Wallet credit counts only credit that was not reversed, in integer USD cents: 2500 means $25.00. Requires the ticket API-key ability and the ticket permission in your team role. OAuth callers use the admin grant and select a store with X-STORE. Current membership and role permissions apply to every request.

Authorization

headerAuthorizationBearer <API Key>

Provide your SellApp API key as a bearer token.

Query Parameters

range?string

How many days back from now the report covers: 7d, 30d (default) or 90d. Any other value returns 422 on range.

Default"30d"
Value in"7d""30d""90d"
rule_limit?integer

How many automation rules to return, most closures first. Default 10; a value outside 1 to 20 is brought into that range.

Range1 <= value <= 20
Default10
activity_limit?integer

How many recent activity entries to return. Default 10; a value outside 1 to 25 is brought into that range.

Range1 <= value <= 25
Default10

Header Parameters

X-STORE?string

Store slug. Required for OAuth access tokens. API keys may omit it to use their current store, or the first accessible store when no current store is selected.

Response Body

Successful response.

application/json
  1. response
data*
Example Request
curl -X GET 'https://sell.app/api/v2/support-analytics?range=30d&rule_limit=10&activity_limit=10' \  -H 'X-STORE: launch-lab'
{  "data": {    "range": "30d",    "start_at": "2026-08-05T12:00:00.000000Z",    "end_at": "2026-09-04T12:00:00.000000Z",    "currency": "USD",    "summary": {      "tickets_received": 48,      "tickets_resolved": 41,      "auto_closures": 17,      "manual_closures": 24,      "support_wallet_credit_cents": 4500,      "auto_wallet_credit_cents": 2000,      "warning_count": 2    },    "rules": [      {        "rule_id": 7,        "rule_name": "Resend expired download links",        "matches": 19,        "closures": 17,        "wallet_credit_cents": 2000,        "warning_count": 2      }    ],    "recent_activity": [      {        "id": 9001,        "event": "refund_issued",        "ticket_id": 312,        "rule_id": null,        "actor_type": "seller",        "wallet_credit_cents": 500,        "wallet_credit_reversed": false,        "reason": null,        "created_at": "2026-09-04T09:30:00.000000Z"      }    ]  }}