Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/vnd.api+json
Response
alert field created
Creates a new alert field from provided data
curl --request POST \
--url https://api.rootly.com/v1/alert_fields \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "alert_fields",
"attributes": {
"name": "<string>"
}
}
}'{
"data": {
"id": "bf7a05d5-6e16-4b14-a712-8b7df8b59495",
"type": "alert_fields",
"attributes": {
"slug": "custom-field-test",
"name": "Custom Field Test",
"kind": "custom",
"created_at": "2025-11-21T14:26:49.498-08:00",
"updated_at": "2025-11-21T14:26:49.498-08:00"
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Show child attributes
alert field created
Show child attributes
Was this page helpful?
curl --request POST \
--url https://api.rootly.com/v1/alert_fields \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "alert_fields",
"attributes": {
"name": "<string>"
}
}
}'{
"data": {
"id": "bf7a05d5-6e16-4b14-a712-8b7df8b59495",
"type": "alert_fields",
"attributes": {
"slug": "custom-field-test",
"name": "Custom Field Test",
"kind": "custom",
"created_at": "2025-11-21T14:26:49.498-08:00",
"updated_at": "2025-11-21T14:26:49.498-08:00"
}
}
}