[go: up one dir, main page]

Explore documentation

Get a single New Relic integration

Returns a single New Relic integration by ID.

GET https://uptime.betterstack.com/api/v2/new-relic-integrations/{new_relic_integration_id}

URL parameters

new_relic_integration_id
required string

Headers

Authorization
required string
200

Response body

{
  "data": {
    "id": "37",
    "type": "new_relic_integration",
    "attributes": {
      "call": false,
      "sms": false,
      "email": true,
      "team_wait": 180,
      "recovery_period": null,
      "policy_id": null,
      "push": true,
      "name": "Test",
      "team_name": "Testing",
      "paused": false,
      "alerting_rule": "alert_and_warn",
      "webhook_url": "https://uptime.betterstack.dev/api/v1/new-relic/webhook/[token]"
    }
  }
}

Example cURL

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