Skip to main content
GET
/
v2
/
users
/
{user_id}
/
notification_rules
List
curl --request GET \
  --url https://api.incident.io/v2/users/{user_id}/notification_rules \
  --header 'Authorization: Bearer <token>'
{
  "notification_rules": [
    {
      "app": {
        "push_notification_criticality": "critical"
      },
      "delay_seconds": 0,
      "id": "01FCNDV6P870EA6S7TK1DSYDG0",
      "method_target": {
        "all": {},
        "specific": {
          "id": "01FCNDV6P870EA6S7TK1DSYDG0"
        },
        "type": "specific"
      },
      "method_type": "app",
      "rule_type": "low_urgency"
    }
  ]
}

Authorizations

Authorization
string
header
required

API key from your incident.io dashboard (Settings → API keys)

Path Parameters

user_id
string
required

The ID of the user whose notification rules you want to list.

Example:

"01FCNDV6P870EA6S7TK1DSYDG0"

Response

200 - application/json

OK response.

notification_rules
object[]
required
Example:
[
  {
    "app": {
      "push_notification_criticality": "critical"
    },
    "delay_seconds": 0,
    "id": "01FCNDV6P870EA6S7TK1DSYDG0",
    "method_target": {
      "all": {},
      "specific": { "id": "01FCNDV6P870EA6S7TK1DSYDG0" },
      "type": "specific"
    },
    "method_type": "app",
    "rule_type": "low_urgency"
  }
]