OVERVIEW
This article provides a guide to customizing the API endpoint call with HTML in Okta Workflows.
SOLUTION
The following flow shows how to send a rich response (HTML) when someone invokes a flow using an API endpoint.
API endpoint response with HTML.
How the flow works
- The API Endpoint card calls a flow through a URL.
- The Text-Compose card creates a response in HTML format.
- The Flow Control-Return Raw card returns the HTML response to the caller (the browser in this example).
This image shows the API endpoint settings. The Invoke URL returns the HTML response.
API endpoint settings.
When calling the URL, the browser shows this response:
HTML response after API call.
RELATED REFERENCES
