---
title: "Add project field option"
method: POST
path: "/v0/projects/{project_id}/project_field_options"
tags: ["Project Field Options Associations"]
---

# Add project field option

`POST /v0/projects/{project_id}/project_field_options`

## Request

- Base URL: `https://api.gem.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.gem.com/v0/projects/{project_id}/project_field_options`
- Auth: none declared

Add a project field option to a project field.

## Request body

- ProjectFieldOptionManagement
  - `project_field_id` string, ObjectID, required
  - `operation` 'add' | 'remove', required: Specifies the operation on project field options: `add` or `remove`. For `remove` operations on `single_select` or `text` fields, `options` is not required. For `multi_select`, specify option values to remove.
  - `options` string[]: List of option id values. Required for `add` operations on `single_select` and `multi_select` fields. For `remove` on `multi_select`, include values to be removed.
  - `text` string: The text of the project field. Required for `add` operations on `text` fields.

## Response `default`

Default error response

- Error
  - `code` integer: Error code
  - `status` string: Error name
  - `message` string: Error message
  - `errors` object: Errors

## Other responses

- `422`: Unprocessable Content

---

[API](https://skmtc.dev/gem/apis/gem-crm-api.md) - [All operations](https://skmtc.dev/gem/apis/gem-crm-api/llms.txt) - [OpenAPI document](https://skmtc.dev/gem/apis/gem-crm-api/revisions/50a984e3c2b5?raw)
