Call any wflow API endpoint (generic)
wflow_requestCall any wflow public API endpoint directly with custom path, method, query, and body for operations not covered by typed tools. Use wflow_api_catalog to discover endpoints.
Instructions
Low-level escape hatch to call ANY wflow public API endpoint. Use this when no typed tool fits (browse the surface with wflow_api_catalog first).
• path may be a bare resource ('documents', 'registers/costcenters'), an org-templated path ('/api/{organization}/roles') or the org is injected automatically for relative paths.
• {organization} in the path (or a relative path) is filled from the organization argument or WFLOW_ORG.
• query is an object of query-string parameters (wflow filter syntax for query, e.g. totalAmount > 1000).
• body is sent as JSON for PUT/POST/PATCH.
Writes (non-GET) are blocked when WFLOW_READONLY is set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Request body (sent as JSON) for PUT/POST/PATCH. | |
| path | Yes | Endpoint path, e.g. 'documents', 'registers/costcenters', or '/api/{organization}/roles'. | |
| query | No | Query-string parameters as an object. | |
| method | No | HTTP method. | GET |
| organization | No | Organization slug. Defaults to WFLOW_ORG. |