HTTP Invoker
The HTTP Invoker task is used to send HTTP Requests to external services (e.g. REST-based APIs).
Configuration

| Configuration | Description |
|---|---|
| Method | HTTP Request Method: GET, POST, PUT, PATCH, DELETE |
| URL | HTTP URL |
| Timeout | HTTP Timeout in seconds (1 - 110s) |
| Wait For Callback | If switched on the Flow will pause and wait for external service to respond via Callback URL (supports FenX Token or Custom Authentication). |
| Content Type | HTTP Request Content Type: None, Json, Xml, Plain Text, Form Data, Form Url Encoded Note: Affects HTTP Request Body |
| Body | HTTP Body. Templated Input (Single Variable or Custom Definition) |
| Params | Dictionary. Query String Parameters in Key/Value pairs. E.g. https://www.domain.com/?Key1=value&Key2=value Key is a text field and must be unique Value is text field that accepts variable substitution |
| Headers | Dictionary. Request Headers in Key/Value pairs. Key is a text field and must be unique Value is text field that accepts variable substitution |
Authentication
HTTPInvoker uses External Authentication to support MTLS and OAuth Authentication schemes. Register the base URL or individual URLs in External Authentication and HTTPInvoker will use that to seemlessly manage the authentication for each outbound request, including caching and renewing authentication tokens.
Task Output
HTTP Invoker produces the following Task Output that can be used as Variable Input in your subsequent tasks.

| Output Variables | DataType | Description |
|---|---|---|
| StatusCode | Number | Raw supergraph query API response. Optionally includes Stages, Entity, EntityDraft, and RelatedParties based on configuration. |
| ResponseBody | Json | HTTP Response Body parsed as a Json-object |
| RawResponse | Text | Raw Response body from server stored as String. Useful when using XML or other non-Json Content Types |
| ResponseHeaders | Json | HTTP Response Headers received from server |
| CallbackRequest | Json | Callback Request Details (path, headers, body) |