[DEPRECATED] Use form field endpoints instead. List Custom fields
curl --request GET \
--url https://api.rootly.com/v1/custom_fields \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "<string>",
"type": "custom_fields",
"attributes": {
"label": "<string>",
"slug": "<string>",
"shown": [
"incident_form"
],
"required": [
"incident_form"
],
"position": 123,
"created_at": "<string>",
"updated_at": "<string>",
"kind": "<string>",
"enabled": true,
"description": "<string>",
"default": "<string>"
}
}
],
"links": {
"self": "<string>",
"first": "<string>",
"prev": "<string>",
"next": "<string>",
"last": "<string>"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
comma separated if needed. eg: options
options comma separated if needed. eg: created_at,updated_at
created_at, -created_at, updated_at, -updated_at, position, -position success
Show child attributes
Unique ID of the custom_field
custom_fields Show child attributes
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 GET \
--url https://api.rootly.com/v1/custom_fields \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "<string>",
"type": "custom_fields",
"attributes": {
"label": "<string>",
"slug": "<string>",
"shown": [
"incident_form"
],
"required": [
"incident_form"
],
"position": 123,
"created_at": "<string>",
"updated_at": "<string>",
"kind": "<string>",
"enabled": true,
"description": "<string>",
"default": "<string>"
}
}
],
"links": {
"self": "<string>",
"first": "<string>",
"prev": "<string>",
"next": "<string>",
"last": "<string>"
}
}