Send a test alert to a channel
POST
consoleSessioncookie
vg_session<token>The console's session cookie, set when you sign in. Every operation accepts it, at the role the operation names.
orgId*stringAuthorised orgId; the server must verify organisation/project ownership before any read.
Length
1 <= lengthprojectId*stringAuthorised projectId; the server must verify organisation/project ownership before any read.
Length
1 <= lengthkind*stringA channel kind; any other value is not_found.
Value in
"email""webhook""slack""teams""discord""pagerduty""opsgenie"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?