---
title: "Add field Option"
method: POST
path: "/1.0/fields/{fieldId}/add-option"
tags: ["Fields"]
---

# Add field Option

`POST /1.0/fields/{fieldId}/add-option`

## Path parameters

- `fieldId` integer, required

## Request body

- FieldOptionPublicRequest
  - `optionColor` 'RED' | 'YELLOW' | 'GREEN' | 'TEAL' | 'CYAN' | 'BLUE' | 'PURPLE' | 'MAGENTA' | 'GRAY' | 'COOL_GRAY', required — The optionColor reflects the color of the options for the single or multiple choice field.
  - `optionLabel` string, required — The optionLabel reflects the name of the options for the single or multiple choice field.

## Response `201`

The resource was successfully created in the database.

- OptionsPublicAPIResponseEntity — The fieldOptions params define the value and label for the different options available for `SINGLE_CHOICE` and `MULTIPLE_CHOICE` fields.
  - `optionValue` integer — The optionValue is the unique identifier and is unique for each field.
  - `optionLabel` string — The optionLabel reflects the name of the options for the single or multiple choice field.
  - `optionColor` 'RED' | 'YELLOW' | 'GREEN' | 'TEAL' | 'CYAN' | 'BLUE' | 'PURPLE' | 'MAGENTA' | 'GRAY' | 'COOL_GRAY' — The optionColor reflects the color of the options for the single or multiple choice field.

## Other responses

- `400` — This error typically happens when the request payload contains an error. If you want to make sure that the request's parameters are named correctly and are the right data types, you can examine the request's syntax.
- `401` — You see this error when trying to access this resource without being authenticated. Check the API request header to make sure it is not empty and has a valid api-key that you acquired from the Rocketlane API Settings tab.
- `404` — If we were unable to locate the resource you were looking for or the proper API endpoint you were looking for, this error would show up.

---

[API](https://skmtc.net/rocketlane/apis/rocketlane-api.md) · [All operations](https://skmtc.net/rocketlane/apis/rocketlane-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rocketlane/rocketlane-api/revisions/1e8ba619e741/schema)
