Creates a new incident form field selection from provided data
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": "1fe2132b-7207-4176-b62f-f5835e01d26a",
"type": "incident_form_field_selections",
"attributes": {
"incident_id": "2085da90-4558-488f-bff6-e2f2284036cc",
"custom_field_id": 177,
"form_field_id": "1a3f9d8e-19ce-446b-a016-9e00b895bd36",
"form_field": {
"id": "1a3f9d8e-19ce-446b-a016-9e00b895bd36",
"team_id": 299,
"slug": "nulla-dolor-ut-vel",
"kind": "custom",
"input_kind": "text",
"value_kind": "inherit",
"value_kind_catalog_id": null,
"name": "Nulla dolor ut vel.",
"description": "Maiores quae iure officia.",
"shown": [
"web_new_incident_form",
"web_update_incident_form"
],
"required": [],
"default_values": [],
"show_on_incident_details": true,
"enabled": true,
"updated_at": "2026-01-20T05:26:49.027-08:00",
"created_at": "2026-01-20T05:26:49.027-08:00",
"options": [
{
"id": "837d5676-7f8d-4c4d-96c9-0fd0e6bf936a",
"form_field_id": "1a3f9d8e-19ce-446b-a016-9e00b895bd36",
"value": "Modi quam impedit necessitatibus.",
"color": "#FBE4A0",
"default": false,
"position": 1,
"updated_at": "2026-01-20T05:26:49.047-08:00",
"created_at": "2026-01-20T05:26:49.047-08:00"
},
{
"id": "4c35e897-96f6-42ed-9174-576c21a3f855",
"form_field_id": "1a3f9d8e-19ce-446b-a016-9e00b895bd36",
"value": "Accusantium veniam molestias repellat.",
"color": "#FBE4A0",
"default": false,
"position": 2,
"updated_at": "2026-01-20T05:26:49.049-08:00",
"created_at": "2026-01-20T05:26:49.049-08:00"
}
],
"positions": [
{
"id": "be32df31-7046-4b72-b719-7439b996b888",
"form_field_id": "1a3f9d8e-19ce-446b-a016-9e00b895bd36",
"form": "web_update_incident_form",
"position": 2
},
{
"id": "eff7bf01-bbad-4ff9-a4a5-8ffd7f61917b",
"form_field_id": "1a3f9d8e-19ce-446b-a016-9e00b895bd36",
"form": "web_new_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"
}
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Show child attributes
incident_form_field_selection created
Show child attributes
Was this page helpful?
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": "1fe2132b-7207-4176-b62f-f5835e01d26a",
"type": "incident_form_field_selections",
"attributes": {
"incident_id": "2085da90-4558-488f-bff6-e2f2284036cc",
"custom_field_id": 177,
"form_field_id": "1a3f9d8e-19ce-446b-a016-9e00b895bd36",
"form_field": {
"id": "1a3f9d8e-19ce-446b-a016-9e00b895bd36",
"team_id": 299,
"slug": "nulla-dolor-ut-vel",
"kind": "custom",
"input_kind": "text",
"value_kind": "inherit",
"value_kind_catalog_id": null,
"name": "Nulla dolor ut vel.",
"description": "Maiores quae iure officia.",
"shown": [
"web_new_incident_form",
"web_update_incident_form"
],
"required": [],
"default_values": [],
"show_on_incident_details": true,
"enabled": true,
"updated_at": "2026-01-20T05:26:49.027-08:00",
"created_at": "2026-01-20T05:26:49.027-08:00",
"options": [
{
"id": "837d5676-7f8d-4c4d-96c9-0fd0e6bf936a",
"form_field_id": "1a3f9d8e-19ce-446b-a016-9e00b895bd36",
"value": "Modi quam impedit necessitatibus.",
"color": "#FBE4A0",
"default": false,
"position": 1,
"updated_at": "2026-01-20T05:26:49.047-08:00",
"created_at": "2026-01-20T05:26:49.047-08:00"
},
{
"id": "4c35e897-96f6-42ed-9174-576c21a3f855",
"form_field_id": "1a3f9d8e-19ce-446b-a016-9e00b895bd36",
"value": "Accusantium veniam molestias repellat.",
"color": "#FBE4A0",
"default": false,
"position": 2,
"updated_at": "2026-01-20T05:26:49.049-08:00",
"created_at": "2026-01-20T05:26:49.049-08:00"
}
],
"positions": [
{
"id": "be32df31-7046-4b72-b719-7439b996b888",
"form_field_id": "1a3f9d8e-19ce-446b-a016-9e00b895bd36",
"form": "web_update_incident_form",
"position": 2
},
{
"id": "eff7bf01-bbad-4ff9-a4a5-8ffd7f61917b",
"form_field_id": "1a3f9d8e-19ce-446b-a016-9e00b895bd36",
"form": "web_new_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"
}
}
}
}