Create a Datadog integration

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

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

Headers

Authorization
required string
Content_Type
string

Body parameters

team_name
string
name
string
*
201

Response body

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

Example cURL

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