---
title: "Create a Field Option"
method: POST
path: "/services/custom_fields/{field_id}/field_options"
tags: ["Service Custom Fields"]
---

# Create a Field Option

`POST /services/custom_fields/{field_id}/field_options`

Create a new option for the given field.

Scoped OAuth requires: `custom_fields.write`

## Path parameters

- `field_id` string, required

## Headers

- `Accept` string, required
- `Content-Type` 'application/json', required

## Request body

- object
  - `field_option` ServiceCustomFieldsFieldOptionUpdateModel, required — An option for a custom field. Can only be applied to fields with a `field_type` of `single_value_fixed` or `multi_value_fixed`.
    - `data` object, required — The data content of the field option.
      - `data_type` 'string', required — The kind of data represented by this option. Must match the Field's `data_type`.
      - `value` string, required — The value of the field option. Must be unique within the field.

## Response `201`

The field option created.

- object
  - `field_option` ServiceCustomFieldsFieldOptionReadModel
    - `created_at` CreatedAt — unresolved $ref
    - `data` object
      - `data_type` 'string' — The kind of data represented by this option. Must match the Field's `data_type`.
      - `value` string
    - `id` Id — unresolved $ref
    - `type` 'field_option'
    - `updated_at` UpdatedAt — unresolved $ref

## Other responses

- `400` — Caller provided invalid arguments. Please review the response for error details. Retrying with the same arguments will *not* work.
- `403` — Caller is not authorized to view the requested resource. While your authentication is valid, the authenticated user or token does not have permission to perform this action.
- `404` — The requested resource was not found.
- `500` — Internal Server Error the PagerDuty server experienced an error.

---

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