POST
/
journey
/
task
/
schema
curl --request POST \
  --url https://eu.platform.go.gbgplc.com/captain/api/journey/task/schema \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "taskId": "TkoviRO58Q8R7qPnAkLAqBAT"
}'
{
  "$schema": "<string>",
  "type": "<string>",
  "properties": {},
  "required": [
    "<string>"
  ]
}

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

Schema retrieved successfully.

The response is of type object.