POST
/
journey
/
task
/
list
/
schema
curl --request POST \
  --url https://eu.platform.go.gbgplc.com/captain/api/journey/task/list/schema \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "instanceId": "PiIuACmx8Q8R7qPnAkLAqBAT"
}'
{
  "instanceId": "<string>",
  "status": "Completed",
  "tasks": [
    {
      "taskId": "<string>",
      "schema": {
        "$ref": "<string>"
      }
    }
  ],
  "schemas": {
    "dynamicObject": {}
  }
}

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

200
application/json
Successfully retrieved tasks and schemas.
instanceId
string
required

Unique identifier for the active journey instance.

status
enum<string>
required

Current status of the journey instance.

Available options:
Completed,
InProgress,
Failed,
Paused
tasks
object[]
required
schemas
object
required

List of schemas for tasks.