Creates a new form_field from provided data
curl --request POST \
--url https://api.rootly.com/v1/form_fields \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '
{
"data": {
"type": "form_fields",
"attributes": {
"kind": "custom",
"name": "<string>",
"input_kind": "text",
"value_kind": "inherit",
"value_kind_catalog_id": "<string>",
"description": "<string>",
"shown": [
"<string>"
],
"required": [
"<string>"
],
"show_on_incident_details": true,
"enabled": true,
"default_values": [
"<string>"
]
}
}
}
'{
"data": {
"id": "1b8fe930-fdd3-493a-ad79-3543c9e64f96",
"type": "form_fields",
"attributes": {
"team_id": 203,
"slug": "test-custom-field",
"kind": "custom",
"input_kind": "text",
"value_kind": "inherit",
"value_kind_catalog_id": null,
"name": "Test custom field",
"description": null,
"shown": [
"web_new_incident_form"
],
"required": [],
"default_values": [],
"show_on_incident_details": true,
"enabled": true,
"updated_at": "2025-12-22T14:53:42.094-08:00",
"created_at": "2025-12-22T14:53:42.094-08:00"
},
"relationships": {
"options": {
"data": []
},
"positions": {
"data": [
{
"id": "83db4ddf-8d25-4f94-9ff7-b89b667f5618",
"type": "form_field_positions"
}
]
}
}
}
}Was this page helpful?
curl --request POST \
--url https://api.rootly.com/v1/form_fields \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '
{
"data": {
"type": "form_fields",
"attributes": {
"kind": "custom",
"name": "<string>",
"input_kind": "text",
"value_kind": "inherit",
"value_kind_catalog_id": "<string>",
"description": "<string>",
"shown": [
"<string>"
],
"required": [
"<string>"
],
"show_on_incident_details": true,
"enabled": true,
"default_values": [
"<string>"
]
}
}
}
'{
"data": {
"id": "1b8fe930-fdd3-493a-ad79-3543c9e64f96",
"type": "form_fields",
"attributes": {
"team_id": 203,
"slug": "test-custom-field",
"kind": "custom",
"input_kind": "text",
"value_kind": "inherit",
"value_kind_catalog_id": null,
"name": "Test custom field",
"description": null,
"shown": [
"web_new_incident_form"
],
"required": [],
"default_values": [],
"show_on_incident_details": true,
"enabled": true,
"updated_at": "2025-12-22T14:53:42.094-08:00",
"created_at": "2025-12-22T14:53:42.094-08:00"
},
"relationships": {
"options": {
"data": []
},
"positions": {
"data": [
{
"id": "83db4ddf-8d25-4f94-9ff7-b89b667f5618",
"type": "form_field_positions"
}
]
}
}
}
}