VoiceGateway

Send a test alert to a channel

POST
/api/v1/org/{orgId}/project/{projectId}/alert-channels/{kind}/test

Authorization

consoleSession
cookievg_session<token>

The console's session cookie, set when you sign in. Every operation accepts it, at the role the operation names.

Path Parameters

orgId*string

Authorised orgId; the server must verify organisation/project ownership before any read.

Length1 <= length
projectId*string

Authorised projectId; the server must verify organisation/project ownership before any read.

Length1 <= length
kind*string

A channel kind; any other value is not_found.

Value in"email""webhook""slack""teams""discord""pagerduty""opsgenie"

Response Body

Queued. The channel's lastDelivery in getAlertSetup shows how it went.

Example Request
curl -X POST 'https://example.com/api/v1/org/string/project/string/alert-channels/email/test'
Example Response
Empty

Was this page helpful?