Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Body
application/vnd.api+json
Response
incident_form_field_selection created
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": "f58eff8b-6399-45f1-b11c-b9526478cb75",
"type": "incident_form_field_selections",
"attributes": {
"incident_id": "b2623a6f-2955-4b9a-af5d-ca32ccc6ce9f",
"custom_field_id": 177,
"form_field_id": "41697f15-62e3-481b-b3e9-c20726e65268",
"form_field": {
"id": "41697f15-62e3-481b-b3e9-c20726e65268",
"team_id": 195,
"slug": "velit-sapiente-similique-voluptatum",
"kind": "custom",
"input_kind": "text",
"value_kind": "inherit",
"value_kind_catalog_id": null,
"name": "Velit sapiente similique voluptatum.",
"description": "Ex aliquam magnam aut.",
"shown": [
"web_new_incident_form",
"web_update_incident_form"
],
"required": [],
"default_values": [],
"show_on_incident_details": true,
"enabled": true,
"updated_at": "2025-10-09T10:25:01.872-07:00",
"created_at": "2025-10-09T10:25:01.872-07:00",
"options": [
{
"id": "a01ac596-e49a-4fee-bb1a-16fb55a865fb",
"form_field_id": "41697f15-62e3-481b-b3e9-c20726e65268",
"value": "Rerum aliquam molestiae iure.",
"color": "#FBE4A0",
"default": false,
"position": 1,
"updated_at": "2025-10-09T10:25:01.904-07:00",
"created_at": "2025-10-09T10:25:01.904-07:00"
},
{
"id": "fdc4c17b-eaf2-4669-96a4-2c4a4d76c659",
"form_field_id": "41697f15-62e3-481b-b3e9-c20726e65268",
"value": "Facilis dolorum iusto deserunt.",
"color": "#FBE4A0",
"default": false,
"position": 2,
"updated_at": "2025-10-09T10:25:01.907-07:00",
"created_at": "2025-10-09T10:25:01.907-07:00"
}
],
"positions": [
{
"id": "fbf8c73e-d371-4b66-a7af-928b3e166205",
"form_field_id": "41697f15-62e3-481b-b3e9-c20726e65268",
"form": "web_new_incident_form",
"position": 2
},
{
"id": "9219e794-34f8-4774-8341-c94ed4bc18ca",
"form_field_id": "41697f15-62e3-481b-b3e9-c20726e65268",
"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"
}
}
}
}
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": "f58eff8b-6399-45f1-b11c-b9526478cb75",
"type": "incident_form_field_selections",
"attributes": {
"incident_id": "b2623a6f-2955-4b9a-af5d-ca32ccc6ce9f",
"custom_field_id": 177,
"form_field_id": "41697f15-62e3-481b-b3e9-c20726e65268",
"form_field": {
"id": "41697f15-62e3-481b-b3e9-c20726e65268",
"team_id": 195,
"slug": "velit-sapiente-similique-voluptatum",
"kind": "custom",
"input_kind": "text",
"value_kind": "inherit",
"value_kind_catalog_id": null,
"name": "Velit sapiente similique voluptatum.",
"description": "Ex aliquam magnam aut.",
"shown": [
"web_new_incident_form",
"web_update_incident_form"
],
"required": [],
"default_values": [],
"show_on_incident_details": true,
"enabled": true,
"updated_at": "2025-10-09T10:25:01.872-07:00",
"created_at": "2025-10-09T10:25:01.872-07:00",
"options": [
{
"id": "a01ac596-e49a-4fee-bb1a-16fb55a865fb",
"form_field_id": "41697f15-62e3-481b-b3e9-c20726e65268",
"value": "Rerum aliquam molestiae iure.",
"color": "#FBE4A0",
"default": false,
"position": 1,
"updated_at": "2025-10-09T10:25:01.904-07:00",
"created_at": "2025-10-09T10:25:01.904-07:00"
},
{
"id": "fdc4c17b-eaf2-4669-96a4-2c4a4d76c659",
"form_field_id": "41697f15-62e3-481b-b3e9-c20726e65268",
"value": "Facilis dolorum iusto deserunt.",
"color": "#FBE4A0",
"default": false,
"position": 2,
"updated_at": "2025-10-09T10:25:01.907-07:00",
"created_at": "2025-10-09T10:25:01.907-07:00"
}
],
"positions": [
{
"id": "fbf8c73e-d371-4b66-a7af-928b3e166205",
"form_field_id": "41697f15-62e3-481b-b3e9-c20726e65268",
"form": "web_new_incident_form",
"position": 2
},
{
"id": "9219e794-34f8-4774-8341-c94ed4bc18ca",
"form_field_id": "41697f15-62e3-481b-b3e9-c20726e65268",
"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"
}
}
}
}