<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
Add HTML Response to an API Endpoint Call in Workflows
Okta Classic Engine
Okta Identity Engine
Workflows

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

 

  1. The API Endpoint card calls a flow through a URL.
  2. The Text-Compose card creates a response in HTML format.
  3. 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

 

 

Loading
Add HTML Response to an API Endpoint Call in Workflows