Explore documentation

Create a Grafana integration

Returns either a newly created Grafana integration, or validation errors.

POST https://uptime.betterstack.com/api/v2/grafana-integrations

Headers

Authorization
required string
Content_Type
string

Body parameters

team_name
string
name
string
*
201

Response body

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

Example cURL

Example
curl -X "POST" "https://uptime.betterstack.com/api/v2/grafana-integrations/" \
     -H "Authorization: Bearer $TOKEN" \
     -H 'Content-Type: application/json; charset=utf-8' \
     -d $'{
  "name": "Test"
}'