Overview
Reference
- AlertEvents
- AlertGroups
- AlertUrgencies
- AlertSources
- Alerts
- Audits
- Authorizations
- CatalogEntities
- CatalogEntityProperties
- CatalogFields
- Catalogs
- Causes
- [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
- IpRanges
- LiveCallRouters
- OnCallRoles
- OnCallShadows
- OverrideShifts
- PlaybookTasks
- Playbooks
- RetrospectiveTemplates
- Pulses
- RetrospectiveConfigurations
- RetrospectiveProcessGroupSteps
- RetrospectiveProcessGroups
- RetrospectiveProcesses
- RetrospectiveSteps
- Roles
- ScheduleRotationActiveDays
- ScheduleRotationUsers
- ScheduleRotations
- Schedules
- Shifts
- Secrets
- Services
- Severities
- StatusPageTemplates
- StatusPages
- SubStatuses
- Teams
- UserNotificationRules
- Users
- WebhooksDeliveries
- WebhooksEndpoints
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/%7Bform_field_id%7D/options \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'content-type: application/vnd.api+json'
{
"data": {
"id": "26f318f3-6c95-4695-8b73-38657a7a8883",
"type": "form_field_options",
"attributes": {
"form_field_id": "9231a2b9-3344-4d73-aa72-e5394640c3a1",
"value": "Test option value",
"color": "#FBE4A0",
"default": false,
"position": 1,
"updated_at": "2025-03-11T19:09:45.895-07:00",
"created_at": "2025-03-11T19:09:45.895-07:00"
},
"relationships": {
"form_field": {
"data": {
"id": "9231a2b9-3344-4d73-aa72-e5394640c3a1",
"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/%7Bform_field_id%7D/options \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'content-type: application/vnd.api+json'
{
"data": {
"id": "26f318f3-6c95-4695-8b73-38657a7a8883",
"type": "form_field_options",
"attributes": {
"form_field_id": "9231a2b9-3344-4d73-aa72-e5394640c3a1",
"value": "Test option value",
"color": "#FBE4A0",
"default": false,
"position": 1,
"updated_at": "2025-03-11T19:09:45.895-07:00",
"created_at": "2025-03-11T19:09:45.895-07:00"
},
"relationships": {
"form_field": {
"data": {
"id": "9231a2b9-3344-4d73-aa72-e5394640c3a1",
"type": "form_fields"
}
}
}
}
}