POST
/
v1
/
incidents
/
{incident_id}
/
form_field_selections
Creates an incident form field selection
curl --request POST \
  --url https://api.rootly.com/v1/incidents/{incident_id}/form_field_selections \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/vnd.api+json' \
  --data '{
  "data": {
    "type": "incident_form_field_selections",
    "attributes": {
      "incident_id": "<string>",
      "form_field_id": "<string>",
      "value": "<string>",
      "selected_catalog_entity_ids": [
        "<string>"
      ],
      "selected_group_ids": [
        "<string>"
      ],
      "selected_option_ids": [
        "<string>"
      ],
      "selected_service_ids": [
        "<string>"
      ],
      "selected_functionality_ids": [
        "<string>"
      ],
      "selected_user_ids": [
        123
      ]
    }
  }
}'
{
  "data": {
    "id": "15c5b3c7-0cff-41c4-9d34-8b551feefcd6",
    "type": "incident_form_field_selections",
    "attributes": {
      "incident_id": "7f0808a2-ce82-41f1-b89a-3c3690f11c18",
      "custom_field_id": 177,
      "form_field_id": "dbc411f2-d706-4d66-b089-85744abfb189",
      "form_field": {
        "id": "dbc411f2-d706-4d66-b089-85744abfb189",
        "team_id": 193,
        "slug": "voluptates-voluptatem-ipsum-quia",
        "kind": "custom",
        "input_kind": "text",
        "value_kind": "inherit",
        "value_kind_catalog_id": null,
        "name": "Voluptates voluptatem ipsum quia.",
        "description": "Nostrum earum labore odio.",
        "shown": [
          "web_new_incident_form",
          "web_update_incident_form"
        ],
        "required": [],
        "default_values": [],
        "show_on_incident_details": true,
        "enabled": true,
        "updated_at": "2025-09-18T20:55:54.330-07:00",
        "created_at": "2025-09-18T20:55:54.330-07:00",
        "options": [
          {
            "id": "78457bfd-973e-44ef-89e9-a50e5f96c64c",
            "form_field_id": "dbc411f2-d706-4d66-b089-85744abfb189",
            "value": "Cupiditate voluptatibus repudiandae ad.",
            "color": "#FBE4A0",
            "default": false,
            "position": 1,
            "updated_at": "2025-09-18T20:55:54.365-07:00",
            "created_at": "2025-09-18T20:55:54.365-07:00"
          },
          {
            "id": "fc194cad-93e9-455b-98fa-e956392aca90",
            "form_field_id": "dbc411f2-d706-4d66-b089-85744abfb189",
            "value": "Explicabo quae officiis soluta.",
            "color": "#FBE4A0",
            "default": false,
            "position": 2,
            "updated_at": "2025-09-18T20:55:54.368-07:00",
            "created_at": "2025-09-18T20:55:54.368-07:00"
          }
        ],
        "positions": [
          {
            "id": "5f59d5f7-2002-4f3e-8ca8-39b00afedd4e",
            "form_field_id": "dbc411f2-d706-4d66-b089-85744abfb189",
            "form": "web_new_incident_form",
            "position": 2
          },
          {
            "id": "35553419-b8d2-4c19-a533-c3306f4af3e0",
            "form_field_id": "dbc411f2-d706-4d66-b089-85744abfb189",
            "form": "web_update_incident_form",
            "position": 2
          }
        ]
      },
      "value": "Test custom field",
      "selected_group_ids": [],
      "selected_groups": {
        "id": null,
        "value": "Test custom field"
      },
      "selected_option_ids": [],
      "selected_options": {
        "id": null,
        "value": "Test custom field"
      },
      "selected_service_ids": [],
      "selected_services": {
        "id": null,
        "value": "Test custom field"
      },
      "selected_functionality_ids": [],
      "selected_functionalities": {
        "id": null,
        "value": "Test custom field"
      },
      "selected_catalog_entity_ids": [],
      "selected_catalog_entities": {
        "id": null,
        "value": "Test custom field"
      },
      "selected_user_ids": [],
      "selected_users": {
        "id": null,
        "value": "Test custom field"
      }
    }
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

incident_id
string
required

Body

application/vnd.api+json
data
object
required

Response

incident_form_field_selection created

data
object
required