Actions2
- Custom API Call Actions
Custom API Call → Request via JSON Definition
AI-generatedSummary
Submit HTTP requests defined by a JSON definition. Method defaults to GET; endpoint is required. For GET requests with a body, the body is sent as query parameters. Pagination applies to GET/HEAD requests when enabled.
Inputs
- requestJson (required) — JSON definition with fields: method, endpoint, body, query, headers. Can be an array of request definitions. Defaults to {} if omitted, but an invalid or non-object/array value will cause an error.
- fetchAllPages — Automatically paginate GET/HEAD responses until the last page is reached. Defaults to false.
Output shape
array
Each item contains the parsed JSON response from the API. For paginated GET/HEAD requests, the array includes all accumulated pages across all fetched pages (up to 1000).
Examples
Example 1: Single GET request with pagination disabled
requestJson: { method: 'GET', endpoint: '/v3/api/tickets' } with fetchAllPages: false