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
[DEPRECATED] Creates a Custom Field
[DEPRECATED] Use form field endpoints instead. Creates a new custom field from provided data
curl --request POST \
--url https://api.rootly.com/v1/custom_fields \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "custom_fields",
"attributes": {
"label": "<string>",
"description": "<string>",
"shown": [
"incident_form"
],
"required": [
"incident_form"
],
"default": "<string>",
"position": 123
}
}
}'
{
"data": {
"id": "3",
"type": "custom_fields",
"attributes": {
"slug": "test-custom-field",
"description": null,
"enabled": true,
"position": 2,
"updated_at": "2025-03-28T22:58:49.950-07:00",
"created_at": "2025-03-28T22:58:49.950-07:00",
"kind": "text",
"label": "Test custom field",
"shown": [
"incident_form",
"incident_slack_form"
],
"required": []
},
"relationships": {
"options": {
"data": []
}
}
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
custom_fields
The name of the custom_field
The description of the custom_field
Where the custom_field is shown
incident_form
, incident_mitigation_form
, incident_resolution_form
, incident_post_mortem_form
, incident_slack_form
, incident_mitigation_slack_form
, incident_resolution_slack_form
, incident_post_mortem
Where the custom_field is required
incident_form
, incident_mitigation_form
, incident_resolution_form
, incident_post_mortem_form
, incident_slack_form
, incident_mitigation_slack_form
, incident_resolution_slack_form
The default value for text field kinds
The position of the custom_field
Response
Unique ID of the custom_field
custom_fields
The name of the custom_field
The slug of the custom_field
Where the custom_field is shown
incident_form
, incident_mitigation_form
, incident_resolution_form
, incident_post_mortem_form
, incident_slack_form
, incident_mitigation_slack_form
, incident_resolution_slack_form
, incident_post_mortem
Where the custom_field is required
incident_form
, incident_mitigation_form
, incident_resolution_form
, incident_post_mortem_form
, incident_slack_form
, incident_mitigation_slack_form
, incident_resolution_slack_form
The position of the custom_field
Date of creation
Date of last update
The kind of the custom_field
Whether the custom_field is enabled
The description of the custom_field
The default value for text field kinds
Was this page helpful?
curl --request POST \
--url https://api.rootly.com/v1/custom_fields \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "custom_fields",
"attributes": {
"label": "<string>",
"description": "<string>",
"shown": [
"incident_form"
],
"required": [
"incident_form"
],
"default": "<string>",
"position": 123
}
}
}'
{
"data": {
"id": "3",
"type": "custom_fields",
"attributes": {
"slug": "test-custom-field",
"description": null,
"enabled": true,
"position": 2,
"updated_at": "2025-03-28T22:58:49.950-07:00",
"created_at": "2025-03-28T22:58:49.950-07:00",
"kind": "text",
"label": "Test custom field",
"shown": [
"incident_form",
"incident_slack_form"
],
"required": []
},
"relationships": {
"options": {
"data": []
}
}
}
}