POST
/
v1
/
form_fields
/
{form_field_id}
/
options
curl --request POST \
  --url https://api.rootly.com/v1/form_fields/%7Bform_field_id%7D/options \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/vnd.api+json'
{
  "data": {
    "id": "26f318f3-6c95-4695-8b73-38657a7a8883",
    "type": "form_field_options",
    "attributes": {
      "form_field_id": "9231a2b9-3344-4d73-aa72-e5394640c3a1",
      "value": "Test option value",
      "color": "#FBE4A0",
      "default": false,
      "position": 1,
      "updated_at": "2025-03-11T19:09:45.895-07:00",
      "created_at": "2025-03-11T19:09:45.895-07:00"
    },
    "relationships": {
      "form_field": {
        "data": {
          "id": "9231a2b9-3344-4d73-aa72-e5394640c3a1",
          "type": "form_fields"
        }
      }
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

form_field_id
string
required

Body

application/vnd.api+json
data
object
required

Response

201
application/vnd.api+json
form_field_option created
data
object
required