List New Relic integrations

Returns a list of all your New Relic integrations.

GET https://incidents.betterstack.com/api/v2/new-relic-integrations

Query parameters

team_name
string
page
integer
per_page
integer

Headers

Authorization
required string
200

Response body

{
  "data": [
    {
      "id": "37",
      "type": "new_relic_integration",
      "attributes": {
        "call": false,
        "sms": true,
        "email": true,
        "team_wait": 180,
        "recovery_period": null,
        "policy_id": null,
        "push": false,
        "critical_alert": false,
        "name": "New Relic alerts",
        "webhook_url": "https://incidents.betterstack.com/api/v1/new-relic/webhook/[token]",
        "team_name": "Testing",
        "paused": false,
        "alerting_rule": "alert"
      }
    }
  ],
  "pagination": {
    "first": "https://incidents.betterstack.com/api/v2/new-relic-integrations?page=1",
    "last": "https://incidents.betterstack.com/api/v2/new-relic-integrations?page=1",
    "prev": null,
    "next": null
  }
}

Response attributes

id
string
type
string
attributes.call
boolean
attributes.sms
boolean
attributes.email
boolean
attributes.team_wait
integer or null
attributes.recovery_period
integer or null
attributes.policy_id
integer or null
attributes.push
boolean
attributes.critical_alert
boolean
attributes.name
string or null
attributes.webhook_url
string
attributes.team_name
string
attributes.paused
boolean
attributes.alerting_rule
string
pagination.first
string
pagination.last
string
pagination.prev
string or null
pagination.next
string or null

Example cURL

Example
curl --request GET \
  --url https://incidents.betterstack.com/api/v2/new-relic-integrations \
  --header "Authorization: Bearer $TOKEN"