Get current step or initialize a flow

This endpoint returns the current step when the x-hf-session header is present and initiates a new workflow when it isn't.

Path parameters in the header must include the flowId which identifies the workflow.

Optional parameters can also include: x-hf-session and x-hf-language in the header. The x-hf-session is the UUID for the user state within that workflow, and x-hf-language is the language for execution of the workflow.

Path Params
string
required

The ID of the flow

Headers
string

UUID for a user state in the execution flow (generated in the first interaction with a flow)

string
enum

Selected language for flow execution

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json