v1

latestOpenAPI 3.0.32026-07-26191565482.4 KB
Notifier

post/api/v1/config/notifiers

Request body

dry_runboolean

If true, validates the specified configuration without creating the Notifier. If the specified configuration is valid, the endpoint returns a partial response without the Notifier. If the specified configuration is invalid, the endpoint returns an error.

Example request

{
  "notifier": {
    "ops_genie": {
      "api_url": "https://api.opsgenie.com/"
    }
  }
}

Response

A successful response containing the created Notifier.

Example response

{
  "notifier": {
    "ops_genie": {
      "api_url": "https://api.opsgenie.com/"
    }
  }
}