Overview
AlertEvents
AlertGroups
AlertRoutingRules
AlertUrgencies
AlertSources
Alerts
Audits
Authorizations
CatalogEntities
CatalogEntityProperties
CatalogFields
Catalogs
[DEPRECATED] CustomFieldOptions
[DEPRECATED] CustomFields
CustomForms
DashboardPanels
Dashboards
Environments
EscalationPolicies
EscalationLevelsPolicies
EscalationLevelsPath
EscalationLevels
EscalationPaths
FormFieldOptions
FormFieldPlacementConditions
FormFieldPlacements
FormFieldPositions
FormFields
FormSetConditions
FormSets
Functionalities
WorkflowTasks
[DEPRECATED] WorkflowCustomFieldSelections
WorkflowFormFieldConditions
WorkflowGroups
WorkflowRuns
Workflows
Heartbeats
IncidentActionItems
[DEPRECATED] IncidentCustomFieldSelections
IncidentEventFunctionalities
IncidentEventServices
IncidentEvents
IncidentFeedbacks
IncidentFormFieldSelections
IncidentPermissionSetBooleans
IncidentPermissionSetResources
IncidentPermissionSets
IncidentRetrospectives
IncidentRetrospectiveSteps
IncidentRoleTasks
IncidentRoles
IncidentStatusPageEvents
IncidentSubStatuses
IncidentTypes
Incidents
- GETList incidents
- POSTCreates an incident
- GETRetrieves an incident
- PUTUpdate an incident
- DELDelete an incident
- PUTMitigate an incident
- PUTResolve an incident
- PUTCancel an incident
- PUTTriage an incident
- PUTRestart an incident
- PUTMark an incident as a duplicate
- POSTAdd subscribers to incident
- DELRemove subscribers from incident
- POSTAssign user to incident
- DELRemove assigned user from incident
IpRanges
LiveCallRouters
OnCallRoles
OnCallShadows
OverrideShifts
PlaybookTasks
Playbooks
RetrospectiveTemplates
RetrospectiveConfigurations
RetrospectiveProcessGroupSteps
RetrospectiveProcessGroups
RetrospectiveProcesses
RetrospectiveSteps
ScheduleRotationActiveDays
ScheduleRotationUsers
ScheduleRotations
Schedules
Services
Severities
StatusPageTemplates
StatusPages
SubStatuses
Teams
UserNotificationRules
WebhooksDeliveries
FormFieldOptions
Creates FormField Options
FormFieldOptions
Creates FormField Options
Creates a new form_field_option from provided data
POST
/
v1
/
form_fields
/
{form_field_id}
/
options
curl --request POST \
--url https://api.rootly.com/v1/form_fields/{form_field_id}/options \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "form_field_options",
"attributes": {
"form_field_id": "<string>",
"value": "<string>",
"color": "<string>",
"default": true,
"position": 123
}
}
}'
{
"data": {
"id": "26aadbda-e3c7-446b-a43d-8fb59f53cb59",
"type": "form_field_options",
"attributes": {
"form_field_id": "cff1033b-f1d5-400c-939a-c627a270f4aa",
"value": "Test option value",
"color": "#FBE4A0",
"default": false,
"position": 1,
"updated_at": "2025-03-20T17:49:01.561-07:00",
"created_at": "2025-03-20T17:49:01.561-07:00"
},
"relationships": {
"form_field": {
"data": {
"id": "cff1033b-f1d5-400c-939a-c627a270f4aa",
"type": "form_fields"
}
}
}
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Body
application/vnd.api+json
Available options:
form_field_options
The ID of the form field
The value of the form_field_option
The hex color of the form_field_option
The position of the form_field_option
Response
201
application/vnd.api+json
form_field_option created
Unique ID of the form_field_option
Available options:
form_field_options
The value of the form_field_option
The hex color of the form_field_option
The position of the form_field_option
Date of creation
Date of last update
The ID of the parent custom field
Was this page helpful?
curl --request POST \
--url https://api.rootly.com/v1/form_fields/{form_field_id}/options \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "form_field_options",
"attributes": {
"form_field_id": "<string>",
"value": "<string>",
"color": "<string>",
"default": true,
"position": 123
}
}
}'
{
"data": {
"id": "26aadbda-e3c7-446b-a43d-8fb59f53cb59",
"type": "form_field_options",
"attributes": {
"form_field_id": "cff1033b-f1d5-400c-939a-c627a270f4aa",
"value": "Test option value",
"color": "#FBE4A0",
"default": false,
"position": 1,
"updated_at": "2025-03-20T17:49:01.561-07:00",
"created_at": "2025-03-20T17:49:01.561-07:00"
},
"relationships": {
"form_field": {
"data": {
"id": "cff1033b-f1d5-400c-939a-c627a270f4aa",
"type": "form_fields"
}
}
}
}
}