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"
}'
{
  "status": "InProgress",
  "instanceId": "<string>",
  "tasks": [
    {
      "taskId": "<string>",
      "variantId": "<string>",
      "schema": {
        "$ref": "#/schemas/alhpPfB1tuXg7iARkF-Pu7p7M_i6w67v"
      }
    }
  ],
  "schemas": {
    "dynamicObject": {}
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

201 - application/json

Successfully retrieved tasks and schemas.

The response is of type object.