Raw Clio API request (escape hatch)
clio_api_requestIssue arbitrary requests to the Clio v4 API for endpoints not covered by dedicated tools. Specify path, method, query parameters, and body as needed.
Instructions
Issue an arbitrary request against the Clio v4 API. Prefer the dedicated tools — this exists for endpoints not yet wrapped (custom_fields, trust_requests, webhooks, etc.). The path is relative to the API root (/matters.json, /users/who_am_i.json). For POST/PATCH bodies, pass data and we will wrap it in { data: ... }; pass body for already-wrapped JSON.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | No | GET | |
| path | Yes | Path relative to /api/v4 — e.g. "/matters.json" or "users/who_am_i.json". | |
| query | No | Query string parameters. | |
| fields | No | Shorthand for query.fields. | |
| data | No | Body content — will be sent as `{ data: <your-value> }` (Clio's required envelope). | |
| body | No | Raw JSON body (sent verbatim). Use this only if you have already wrapped it yourself. |