get
https://api.lodgestory.com/api/wp-crm/reports//custom-queries
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
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
