Send HTTP Request
Call an HTTP endpoint from a workflow. Use it when a service exposes an API operation that you need to call directly.
Before you start
You need the endpoint’s request format and authorization requirements. Use the provider’s connection-backed action when that better fits the operation.
Configure an API request
Enter the complete URL and choose the HTTP Method specified by the service’s API documentation.
Supply Headers, Queries, and Request Body as required. The request body is sent as JSON; it is not a general file-upload field.
Set Request Timeout (seconds) if the default 60-second wait is unsuitable. Supported values range from 1 to 300 seconds.
Run the request and inspect its response status and body. Enable Response as File when you need a downloadable response instead of inline content.
Result: The action returns the service’s response. With Response as File enabled, Body File URL contains the download link and Body is null.
Behavior and troubleshooting
HTTP methods such as POST, PATCH, PUT, and DELETE can change data. An interrupted request may still have reached the service. Check the service’s result before retrying, and use its duplicate-prevention mechanism when available. A reachable endpoint still needs the authentication and permissions required by that service.
Inputs
URL (required)
url
The URL endpoint to make the API request to
HTTP Method (required)
method
The HTTP method to use for the request
Headers
headers
HTTP headers to include in the request
Queries
queries
HTTP queries to include in the request
Request Body
request_body
Data to send with the request, sent as JSON body
Request Timeout (seconds)
request_timeout
Response as File
response_as_file
Store the response body in a file and return its download URL instead of the raw text. Use it for endpoints whose response is too large to flow through the workflow. Default: false.
Related guidance
Was this helpful?

