Configure New Relic alert notification destinations via the NerdGraph API

domain: docs.newrelic.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Create a destination with the aiNotificationsCreateDestination mutation, specifying a type (e.g. EMAIL, WEBHOOK, PAGERDUTY_SERVICE_INTEGRATION, JIRA, SERVICE_NOW, EVENT_BRIDGE, MICROSOFT_TEAMS) plus the auth and properties fields that type requires.
  2. List and filter destinations via actor.account(id).aiNotifications.destinations, filtering by name, id, or type, with cursor pagination via nextCursor.
  3. Test a destination before or after creation using aiNotificationsTestDestination or aiNotificationsTestDestinationById.
  4. Update a destination with aiNotificationsUpdateDestination, supplying only the fields to change.
  5. Delete a destination with aiNotificationsDeleteDestination; if it fails because a channel still references it, first query channels(filters: { destinationId: ... }) and delete each with aiNotificationsDeleteChannel.

Known gotchas

Related routes

Create, update, and delete New Relic alert policies via the NerdGraph API
docs.newrelic.com · 5 steps · unrated
Query and mutate New Relic data using the NerdGraph GraphQL API
docs.newrelic.com · 5 steps · unrated
Create and manage New Relic Synthetics monitors via the NerdGraph GraphQL API
docs.newrelic.com/docs/apis/nerdgraph/examples/nerdgraph-synthetics-tutorial · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans