Skip to main content
POST
/
v1
/
alert_fields
Creates an alert field
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": "93f94bc6-4c41-4320-b3a0-c669b32ea4f9",
    "type": "alert_fields",
    "attributes": {
      "slug": "custom-field-test",
      "name": "Custom Field Test",
      "kind": "custom",
      "created_at": "2026-01-03T21:24:07.483-08:00",
      "updated_at": "2026-01-03T21:24:07.483-08:00"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/vnd.api+json
data
object
required

Response

alert field created

data
object
required