An interface for interacting with the NewRelic Notification Channels API.
Parameters: api_key (str) – The API key. If no key is passed, the environment variable NEW_RELIC_API_KEY is used. Raises: If the api_key parameter is not present, and no environment variable is present, a
list(filter_type=None, filter_ids=None, page=None)¶
This API endpoint returns a paginated list of the notification channels associated with your New Relic account.
Notification channels can be filtered by their type or a list of IDs.
- filter_type (list of str) – Filter by notification channel types
- filter_ids (list of int) – Filter by notification channel ids
- page (int) – Pagination index
Return type: Returns:
The JSON response of the API, with an additional ‘pages’ key if there are paginated results