Type identifier:
endpoint:respondCategory: Endpoint Operations
Decides the HTTP response of an Endpoint (see Custom Endpoints) whose response source is Controlled by flow: the status, headers (including redirects and cookies), and a typed JSON body. The first response node a run reaches is the response; the node ends its path.
Handle | Data Type | Required | Description |
|---|---|---|---|
|
| Yes | Execution trigger input |
|
| No | The HTTP status, when the status is Dynamic |
|
| No | One per header row whose value is Dynamic, labelled with the header name |
| Varies | No | The response body. Not shown for a literal |
bodybody.type; any schema type. When unconnected it defaults to any and adopts the type of whatever is connected, like Flow - Result.null. A connected value that doesn't match the declared type makes the response invalid (the endpoint responds 500).This node has no output handles. It ends the path of the run.
Property | Type | Required | Default | Description |
|---|---|---|---|---|
|
| Yes |
| Display label for the node |
| Number (literal or dynamic) | Yes |
| The HTTP status, |
| Array of | No |
| Response headers, sent in order |
| Schema type | Yes |
| Declared type of the body input |
status200 to 599. A wired (dynamic) status outside that range makes the response invalid.204, 205, and 304 no body is sent, including when the status is wired.headersContent-Length, Content-Type, and platform-owned headers (compression, tracing, CORS, and security policy) are blocked; see How to Redirect and Set Cookies from an Endpoint — Limitations for the list. The editor flags a blocked name; at run time a blocked or invalid header makes the response invalid.Set-Cookie headers); each row has its own id, which names its input handle when the value is dynamic. For a 3xx status the editor offers to add a Location header. Cookies named ligantic.* (such as the App session cookie) are reserved: setting one makes the response invalid. On the App, a newly issued guest session cookie is sent alongside the Flow's cookies. The Studio preview doesn't send Set-Cookie.500.{ status, headers, body }. It triggers no further nodes.504; the run keeps going.[flow:trigger] → [control:if valid?]
├─ true → [object:create] → [endpoint:respond status 201, body ← Record]
└─ false → [endpoint:respond status 422, body ← errors]An Endpoint - Respond node with status 302 and a Location header (literal, or Dynamic and wired from an earlier node).
An Endpoint - Respond node with status 204 and no body input.