Custom Request
AI-generatedSummary
Perform a custom HTTP request to any Mintlify API endpoint with specified method, endpoint path, query parameters, and optional JSON body.
Inputs
- HTTP Method (required) — The HTTP method to use for the request (DELETE, GET, PATCH, POST, PUT).
- Endpoint (required) — The Mintlify API endpoint path without base URL. Supports including the project ID using {{$credentials.projectId}}.
- Query Parameters — Optional list of query parameters as name-value pairs to include in the request URL.
- Send Body — When using POST, PUT, or PATCH methods, indicates whether to send a JSON body with the request.
- Body — The JSON formatted body content to send if 'Send Body' is true.
Output shape
A single JSON object containing the HTTP response status code, headers, and body from the Mintlify API.
The response is returned fully, including statusCode, headers, and parsed JSON body. If the request body is invalid JSON, an error is thrown. Supports authentication using Mintlify API credentials. Errors return detailed error information if Continue On Fail is enabled.