Menu
Get Statistic
Retrieve a statistic
POST
/api/reporting/statsUse it in a workflow
- Add a step and choose the Gorgias connector.
- Pick the Get Statistic action (under Reporting Statistics).
- Fill in the fields below, then reference the result from later steps as
{{getStatistic.response.data}}.
Request
Query parameters
Request body
Enter the body as JSON in the step's Body field.
{
"query": null
}
Response
Returns 200 with an object. Read it in later steps with {{getStatistic.response.data.<field>}}.
{
"object": "string",
"uri": "string",
"data": [
{}
],
"meta": {
"scope": "tickets-closed",
"prev_cursor": "string",
"next_cursor": "string",
"total": 0,
"offset": 0,
"limit": 0
}
}
Need more? See the Gorgias guide for connection setup and behaviour shared by every action.
Was this page helpful?