Skip to main content

REST Service

The REST Service activity exposes a REST endpoint that triggers the workflow when called.

info

This activity acts as a REST service trigger. It must be the first step in a workflow.

Configuring the REST Service Activity​

To configure the REST Service activity, fill in the required fields in the activity panel.

Configuration​

FieldRequiredDescriptionExample
NameOptionalName of the step, should be unique within this workflow.MyActivity
DescriptionOptionalBrief description of what this step does.Reads a file from S3
PathRequiredThe API route pattern, optionally containing {} for path parameters and & to separate query parameters./users/{id}
MethodOptionalAllowed HTTP methods for this route Options: GET, POST, PUT, PATCH, DELETE.GET
Media TypesOptionalSpecifies which media types this endpoint supports (e.g., JSON, XML, etc.).

Output​

FieldRequiredData TypeDescriptionExample
MethodOptionalStringHTTP method to use for the request (e.g., GET, POST, PUT).GET
UriOptionalStringURI of the resource, optionally containing {} for path parameters and & to separate query parameters.
HeadersOptionalObjectStandard HTTP headers to include in the request.{"Content-Type": "application/json"}
Additional HeadersOptionalArrayList of additional custom headers to include in the request.
Query ParamsOptionalObjectQuery parameters to append to the URI as a query string.
Path ParamsOptionalObjectPath parameters to replace {} placeholders in the URI.
BodyOptionalObjectPayload body for the request. Typically used for POST, PUT, and PATCH requests.