Get Grafana integration

Returns a single Grafana integration by ID.

GET https://incidents.betterstack.com/api/v2/grafana-integrations/{grafana_integration_id}

URL parameters

grafana_integration_id
required string

Headers

Authorization
required string
200

Response body

{
  "data": {
    "id": "37",
    "type": "grafana_integration",
    "attributes": {
      "call": false,
      "sms": true,
      "email": true,
      "team_wait": 180,
      "recovery_period": null,
      "policy_id": null,
      "push": false,
      "critical_alert": false,
      "name": "Grafana alerts",
      "webhook_url": "https://incidents.betterstack.com/api/v1/grafana/webhook/[token]",
      "team_name": "Testing",
      "paused": false
    }
  }
}

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

Example cURL

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