GET
/
v1
/
users
/
{user_id}
/
notification_rules
curl --request GET \
  --url 'https://api.rootly.com/v1/users/%7Buser_id%7D/notification_rules?include=SOME_STRING_VALUE&page%5Bnumber%5D=SOME_INTEGER_VALUE&page%5Bsize%5D=SOME_INTEGER_VALUE&sort=SOME_STRING_VALUE' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
{
  "data": [
    {
      "id": "<string>",
      "type": "user_notification_rules",
      "attributes": {
        "user_id": 123,
        "delay": 123,
        "position": 123,
        "user_email_address_id": "<string>",
        "user_call_number_id": "<string>",
        "user_sms_number_id": "<string>",
        "user_device_id": "<string>",
        "enabled_contact_types": [
          "email"
        ],
        "created_at": "<string>",
        "updated_at": "<string>"
      }
    }
  ],
  "links": {
    "self": "<string>",
    "first": "<string>",
    "prev": "<string>",
    "next": "<string>",
    "last": "<string>"
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

user_id
string
required

Query Parameters

include
string
page[number]
integer
page[size]
integer
sort
string

Response

200 - application/vnd.api+json
success
data
object[]
required