Alarms

Create recipient

Create a new notification recipient

post/alarms/recipients

Request

  • Base URL
    https://api.cloudamqp.com/api
  • URL
    https://api.cloudamqp.com/api/alarms/recipients
  • Auth
    HTTP basic

Request body application/x-www-form-urlencoded

type'email' | 'webhook' | 'pagerduty' | 'opsgenie' | 'opsgenie-eu' | 'victorops' | 'slack' | 'teams' required

The type of notification to be sent

valuestring required

Endpoint to where the notification will be sent

namestring

Optional name for the recipient

Response

Recipient created successfully

idinteger

Recipient ID

type'email' | 'webhook' | 'pagerduty' | 'opsgenie' | 'opsgenie-eu' | 'victorops' | 'slack' | 'teams'

Recipient type

valuestring

Recipient endpoint (email, URL, etc.)

namestring

Recipient name

optionsobject nullable

Additional options

Example response

{
  "id": 1,
  "type": "email",
  "value": "team@example.com",
  "name": "Default"
}

Changes

No recorded changes to this operation across all 8 revisions of this API.