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": "5516a106-95a4-470a-a446-363c2bfbebdb",
    "type": "alert_fields",
    "attributes": {
      "slug": "custom-field-test",
      "name": "Custom Field Test",
      "kind": "custom",
      "created_at": "2025-09-03T13:53:28.647-07:00",
      "updated_at": "2025-09-03T13:53:28.647-07: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

Response

201
application/vnd.api+json

alert field created

The response is of type object.