Skip to main content
POST
Retrieve tasks with their schema

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
instanceId
string
required

Unique identifier for the journey instance.

Example:

"PiIuACmx8Q8R7qPnAkLAqBAT"

Response

201 - application/json

Successfully retrieved tasks and schemas.

status
enum<string>
default:InProgress
required

Current status of the journey instance.

Available options:
Completed,
InProgress,
Failed,
Paused
instanceId
string
required

Unique identifier for the active journey instance.

tasks
object[]
required

List of active tasks for the journey instance.

schemas
object
required

A map of schema identifiers to their JSON Schema (draft-07) definitions. Each key corresponds to the reference value in a task's schema object.