Explore documentation

Create a Google Monitoring integration

Returns either a newly created Google Monitoring integration, or validation errors.

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

Headers

Authorization
required string
Content_Type
string

Body parameters

team_name
string
name
string
*
201

Response body

{
  "data": {
    "id": "37",
    "type": "google_monitoring_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/google-monitoring/webhook/[token]",
      "team_name": "Testing"
    }
  }
}

Example cURL

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