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": "efe26337-8d08-40f7-8841-234404fd3027",
"type": "incident_form_field_selections",
"attributes": {
"incident_id": "891724e5-9e19-40ff-82f0-ff1c15a893a4",
"custom_field_id": 177,
"form_field_id": "68e4c749-06d2-4780-a7e3-b8524392a77e",
"form_field": {
"id": "68e4c749-06d2-4780-a7e3-b8524392a77e",
"team_id": 284,
"slug": "sed-ut-iusto-provident",
"kind": "custom",
"input_kind": "text",
"value_kind": "inherit",
"value_kind_catalog_id": null,
"name": "Sed ut iusto provident.",
"description": "Veniam saepe incidunt voluptas.",
"shown": [
"web_new_incident_form",
"web_update_incident_form"
],
"required": [],
"default_values": [],
"show_on_incident_details": true,
"enabled": true,
"updated_at": "2025-12-24T09:25:51.610-08:00",
"created_at": "2025-12-24T09:25:51.610-08:00",
"options": [
{
"id": "ba3390af-9461-4cb2-877e-cdd7f06426af",
"form_field_id": "68e4c749-06d2-4780-a7e3-b8524392a77e",
"value": "Molestiae similique doloribus voluptatem.",
"color": "#FBE4A0",
"default": false,
"position": 1,
"updated_at": "2025-12-24T09:25:51.629-08:00",
"created_at": "2025-12-24T09:25:51.629-08:00"
},
{
"id": "58d5960e-34bd-40aa-bdaf-790fdd2026a0",
"form_field_id": "68e4c749-06d2-4780-a7e3-b8524392a77e",
"value": "Ratione modi veniam et.",
"color": "#FBE4A0",
"default": false,
"position": 2,
"updated_at": "2025-12-24T09:25:51.632-08:00",
"created_at": "2025-12-24T09:25:51.632-08:00"
}
],
"positions": [
{
"id": "e4cea4cd-cbda-4cc4-995c-02b69af2a25e",
"form_field_id": "68e4c749-06d2-4780-a7e3-b8524392a77e",
"form": "web_update_incident_form",
"position": 2
},
{
"id": "b1c93887-5f98-4f91-bcf6-5b66d1facbb4",
"form_field_id": "68e4c749-06d2-4780-a7e3-b8524392a77e",
"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": "efe26337-8d08-40f7-8841-234404fd3027",
"type": "incident_form_field_selections",
"attributes": {
"incident_id": "891724e5-9e19-40ff-82f0-ff1c15a893a4",
"custom_field_id": 177,
"form_field_id": "68e4c749-06d2-4780-a7e3-b8524392a77e",
"form_field": {
"id": "68e4c749-06d2-4780-a7e3-b8524392a77e",
"team_id": 284,
"slug": "sed-ut-iusto-provident",
"kind": "custom",
"input_kind": "text",
"value_kind": "inherit",
"value_kind_catalog_id": null,
"name": "Sed ut iusto provident.",
"description": "Veniam saepe incidunt voluptas.",
"shown": [
"web_new_incident_form",
"web_update_incident_form"
],
"required": [],
"default_values": [],
"show_on_incident_details": true,
"enabled": true,
"updated_at": "2025-12-24T09:25:51.610-08:00",
"created_at": "2025-12-24T09:25:51.610-08:00",
"options": [
{
"id": "ba3390af-9461-4cb2-877e-cdd7f06426af",
"form_field_id": "68e4c749-06d2-4780-a7e3-b8524392a77e",
"value": "Molestiae similique doloribus voluptatem.",
"color": "#FBE4A0",
"default": false,
"position": 1,
"updated_at": "2025-12-24T09:25:51.629-08:00",
"created_at": "2025-12-24T09:25:51.629-08:00"
},
{
"id": "58d5960e-34bd-40aa-bdaf-790fdd2026a0",
"form_field_id": "68e4c749-06d2-4780-a7e3-b8524392a77e",
"value": "Ratione modi veniam et.",
"color": "#FBE4A0",
"default": false,
"position": 2,
"updated_at": "2025-12-24T09:25:51.632-08:00",
"created_at": "2025-12-24T09:25:51.632-08:00"
}
],
"positions": [
{
"id": "e4cea4cd-cbda-4cc4-995c-02b69af2a25e",
"form_field_id": "68e4c749-06d2-4780-a7e3-b8524392a77e",
"form": "web_update_incident_form",
"position": 2
},
{
"id": "b1c93887-5f98-4f91-bcf6-5b66d1facbb4",
"form_field_id": "68e4c749-06d2-4780-a7e3-b8524392a77e",
"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"
}
}
}
}