get

GET /v2/cases/actions/export-case-report — Export cases as CSV

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Exports the affiliate's support cases as a text/csv file attachment. The export is unpaginated — it returns every case matching the filters (hard-capped at 10,000 rows). When neither createdFrom nor createdTo is provided, the date window defaults to the last 90 days.

Query parameters

ParameterTypeDescription
createdFromdateOnly cases created on/after this date. Defaults to 90 days ago when both this and createdTo are omitted
createdTodateOnly cases created on/before this date. Must be on/after createdFrom. Defaults to now when both this and createdFrom are omitted
caseTypeIdstringFilter by internal case type ID
ticketStatusstringFilter by ticket status
prioritystringFilter by priority. One or more (comma-separated) of Highest, High, Medium, Low, Lowest
reportersstringComma-separated Jira account IDs — only include cases whose reporter matches one of these
sortstringSort field. Prefix with - for descending. Supports priority (ranked Highest → Lowest) in addition to the standard fields

Response 200

Returns Content-Type: text/csv; charset=utf-8 with Content-Disposition: attachment; filename="case-report.csv". The file is UTF-8 with a BOM, and cells that could be interpreted as spreadsheet formulas (starting with =, +, -, @, tab, or CR) are escaped.

CSV columns, in order:

ColumnSource
Ticket IDticketId
Start Time (UTC)createdAt
First Response Time (UTC)firstResponseTime
End Time (UTC)resolvedAt
Prioritypriority.name
Reportername(email), or Unassigned
Ticket TypeticketName
StatusticketStatus
Related Orderrelated order display ID
Creatorname(email) of the case creator

Rate limit

Rate-limited to 5 requests per minute per user. Exceeding it returns 429 with X-RateLimit-* / Retry-After headers.

Errors

StatusCodeDescription
422INVALID_FIELDExport would exceed 10,000 rows — narrow the date range or add filters. Also returned for invalid dates, createdFrom after createdTo, or an invalid sort value

Required role

affiliate_super_admin, affiliate_admin, or affiliate_agent

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here!