Call an API Widget within a Workflow
The Call an API widget allows workflows to make outbound API requests using verified allow-listed endpoints. This widget can be used to fetch external data, trigger third-party services, or process workflow payloads dynamically.
The widget contains two primary sections:
- Request — Configure the outbound API request
- Response — Configure and simplify the API response payload
Steps to configure Call an API Widget
Drag and drop the Call an API widget into the workflow and connect it to the required workflow step.
Configure the Request section.
This section is used to define the API endpoint and request configuration.
Select the Allowlist URL.
Choose the verified allow-listed endpoint that should be called from the workflow.
Select the HTTP Method.
This defines the type of API request that will be executed.
Supported methods may include:
- GET
- POST
- PUT
- PATCH
- DELETE
Configure the Content Type.
The content type determines the format of the request payload being sent to the API.
Common content types include:
- None
- application/json
- form-data
- x-www-form-urlencoded
Configure Query Parameters (Optional).
Query parameters are appended to the API URL and are typically used for filtering, searching, or passing request-specific values.
Example:
Configure Headers (Optional).
Headers are used to send additional metadata with the API request.
Common examples include:
- Authorization tokens
- API keys
- Custom request headers
Example:
Only verified allow-listed URLs can be used inside the Call an API widget. Ensure the endpoint is configured before creating the workflow.