---
title: "POST /spaces/{spaceId}/taskCustomFields/{taskCustomFieldId}/fieldOptions"
method: POST
path: "/spaces/{spaceId}/taskCustomFields/{taskCustomFieldId}/fieldOptions"
tags: ["slash-custom-field-option"]
---

# POST /spaces/{spaceId}/taskCustomFields/{taskCustomFieldId}/fieldOptions

`POST /spaces/{spaceId}/taskCustomFields/{taskCustomFieldId}/fieldOptions`

## Path parameters

- `spaceId` integer, required
- `taskCustomFieldId` integer, required

## Request body

- CustomFieldOptionDto[]
  - `optionId` integer
  - `optionName` string, required
  - `color` string
  - `spaceId` integer
  - `projectId` integer
  - `taskCustomFieldId` integer

## Response `200`

OK

## Changes

- **2026-08-08** `237f5bbd4029` — 2 breaking, 1 info
  - the `items/optionName` request property's minLength was increased from `0` to `1`
  - removed the media type `application/hal+json` for the response with the status `200`
  - added the media type `application/vnd.hal+json` for the response with the status `200`

[Change history](https://skmtc.dev/astravue/apis/astravue-api/changes/spaces/:spaceId/taskCustomFields/:taskCustomFieldId/fieldOptions/post.md)

---

[API](https://skmtc.dev/astravue/apis/astravue-api.md) · [All operations](https://skmtc.dev/astravue/apis/astravue-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/astravue/astravue-api/revisions/290e97dda2ec/schema)
