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

# Get Task Schema

`POST /journey/task/schema`

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.net/gbgplc/apis/gbg-go-next-gen-flow-captain-api.md) · [All operations](https://skmtc.net/gbgplc/apis/gbg-go-next-gen-flow-captain-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gbgplc/gbg-go-next-gen-flow-captain-api/revisions/38056a3470d6/schema)
