REST Request
REST Request is a general-purpose HTTP client: it sends one request to any
URL, with any method, headers, and body you configure. Use it for endpoints no
imported schema covers; for schema-backed calls, prefer
OpenAPI Operation. You find it on the node
picker’s API & integrations shelf.
The node has one input handle and one output handle: the previous node’s output arrives on input, and the response leaves on output.
Authentication
Section titled “Authentication”Set the Credential field to a saved Connection
or Secret. A Connection attaches its resolved
credential as request headers, in whatever placement the provider uses; a
Secret’s value is sent as the Authorization header, so store the full header
value (for example Bearer my-token). Either one overrides an Authorization
header you write into the headers map yourself.


Configuration
Section titled “Configuration”

| Field | Type | Default | Description |
|---|---|---|---|
URL (uri) | string ✦ (required) | — | The full URL to send the HTTP request to. |
Headers (headers) | header rows ✦ (optional) | — | Request headers to send, as name/value pairs. |
Body (body) | string ✦ (optional) | — | The request body to send, usually JSON, for a POST, PUT, PATCH or DELETE. |
Credential (credential) | string ✦ (optional) | — | The saved credential that authenticates the request — a Connection or a Secret. |
Method (method) | one of get, post, put, delete, patch ✦ (optional) |
— | The HTTP method for the request; defaults to GET when unset. |
Timeout (seconds) (timeoutSeconds) | integer ✦ (optional) | — | Maximum seconds to wait for the request before timing out. |
Approval (requiresApproval) | one of inherit, always, never (optional) |
— | Whether a human must approve this before it runs. “Follow the agent’s approval mode” is almost always right: the agent’s mode already decides, based on what this node actually does. Override it only to pin this one node — always ask (even on Autopilot), or never ask. |
On error (onError) | string ✦ (optional) | — | What to do when the request fails: fail the flow, or continue. “Continue” covers an error response (4xx/5xx), a timeout or dropped connection, a domain that does not exist, and a URL that is empty or not a full URL (nothing is sent). An address the firewall blocks always fails the flow. |
Body from a file (bodyFromFile) | string ✦ (optional) | — | Send a file as the request body — give the reference of a file the flow already has. |
Files to upload (uploadFiles) | header rows ✦ (optional) | — | Files to upload as multipart form parts — form field name on the left, a file reference on the right. |
Response (responseTo) | one of output, file ✦ (optional) |
— | What to do with the response: use it as this node’s output, or save it as a file. |
File store (responseObjectStoreId) | string ✦ (optional) | — | The file store the response is saved into. Required when saving the response as a file. |
Path (responseKey) | string ✦ (optional) | — | Where in the store to save it, e.g. invoices/2026/08/inv-1042.pdf. |
Delete after (days) (responseExpiresInDays) | integer ✦ (optional) | — | When saving the response as a file: days until it is deleted. Empty or 0 keeps it. |
Fields marked ✦ accept expressions.
Try this node — run it once against your own workspace, with your credentials, without building a flow first.
Body from a file picks a stored file to send as the request body. Type part
of its path, and the field lists the matching files of every file store in your
workspace as Store › path, the newest first, 50 at most. A picked file is saved
as its object id. For an email attachment or a file another node produced, click
Insert a value ({x}) and write an expression.
Output
Section titled “Output”What the node emits depends on the response status:
- 2xx responses emit the response body verbatim, including
201 Createdand204 No Content(which produces an empty output). - 3xx redirects are not followed. The node emits a small JSON envelope
instead, for example
{ "redirect": 301, "location": "https://..." }, so a downstream node can follow it deliberately. - 4xx/5xx responses fail the node, unless On error is Continue with an error envelope.
Error handling
Section titled “Error handling”Connection failures and safe-to-retry 5xx responses are retried automatically, and a per-host circuit breaker fails fast when a host keeps failing. See Handle unreliable APIs for the full policy. With On error set to Continue with an error envelope, a failed request completes with a structured envelope instead of failing the run:
{ "error": true, "upstreamStatus": 503, "circuitOpen": false, "message": "..."}upstreamStatus is null when no response arrived, and circuitOpen is
true when the circuit breaker rejected the call.


A domain that does not exist counts as a failed request, so it continues too.
So does a URL that is empty or is not a full URL (it has no https://, or
no host): nothing is sent, and the envelope’s message says what the field
held. That is what lets a download inside a loop over attachments skip an item
that has no link, rather than stop the run. Without continue, the same case
fails the node with that message.


An address the firewall blocks (a private or internal one), a full URL with
another scheme such as ftp://, and a domain outside your workspace’s allowed
list always fail the run, whatever On error says.
Worked example
Section titled “Worked example”The Rest / Operation template in the gallery is a working import of the GET pattern below; Rest / Operation — POST + auth is the POST shape, with its credential written into the headers map by hand.
A GET whose URL comes from upstream data:
https://jsonplaceholder.typicode.com/posts/{{ $prev->postId }}A POST that forwards an upstream object as its JSON body:
{!! json_encode($prev->order) !!}Use the raw tags {!! !!} for a JSON body: {{ }} HTML-escapes its result,
which corrupts the quotes a machine consumer parses. To authenticate by hand
instead of through the credential field, reference a secret in the headers map,
raw as well, so the token reaches the server exactly as it is stored:
Authorization → Bearer {!! $secrets->myServiceToken !!}Limitations
Section titled “Limitations”- Outbound requests are firewalled: URLs resolving to private or internal addresses are refused, and the workspace’s outbound access list applies.
- Redirects are surfaced, never followed.
- When an agent calls this node as a tool, the request is treated as an external write (the verb is not inspected), so the call can be approval-gated by the agent’s approval mode. See Approvals.
Related
Section titled “Related”- OpenAPI Operation: schema-backed calls with typed parameters; import a spec under API schemas.
- GraphQL Operation: for GraphQL endpoints.
- SOAP Operation: for WSDL-described services.
- Web Fetch: for pages meant to be read, not APIs.
- Handle unreliable APIs: retries, circuit breaker, onError.
- Expressions: the expression grammar used in every ✦ field.