---
title: "Get Task Schema"
method: POST
path: "/journey/task/schema"
tags: ["Customer APIs", "Task Service"]
---

# Get Task Schema

`POST /journey/task/schema`

## Request

- Base URL: `https://eu.platform.go.gbgplc.com/v2/captain`
- URL: `https://eu.platform.go.gbgplc.com/v2/captain/journey/task/schema`
- Auth: HTTP bearer

Get Task Schema

## Request body

- object
  - `taskId` string, required: Task Id, a unique identifier for a task assigned to an End User during a Journey.

## Response `200`

Success

- object
  - `$schema` string, required
  - `type` string, required
  - `properties` object, required
  - `required` string[], required

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `405`: Method Not Allowed
- `500`: Internal Server Error
- `503`: Service Unavailable

---

[API](https://skmtc.dev/gbgplc/apis/gbg-go-next-gen-flow-captain-api.md) - [All operations](https://skmtc.dev/gbgplc/apis/gbg-go-next-gen-flow-captain-api/llms.txt) - [OpenAPI document](https://skmtc.dev/gbgplc/apis/gbg-go-next-gen-flow-captain-api/revisions/f4b64916866a?raw)
