List Saved Queries Available As Reports

The saved analytics queries your admins published to Reports & API, each with the variables it accepts.

Use a query's id as customQueryId in POST /api/wp-crm/reports/:organisationId with reportType: "CUSTOM_QUERY", passing variables keyed by variable name.

Variable shapes: text / uuid / select → string; number → number; boolean → true/false; date → YYYY-MM-DD; datetime → ISO 8601; daterange → a preset name or { "start": "YYYY-MM-DD", "end": "YYYY-MM-DD" }; multiselect → array of strings; sort → { "column": "<one of sort.columns>", "direction": "asc" | "desc" }. A variable marked required with no default must be supplied.

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

Your organisation UUID (returned as org from the /token endpoint)

Response

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json