Skip to content

Post one test message to the channel webhook, and give the HTTP status it answered with.

POST
/admin/notifications/test
curl --request POST \
--url https://example.com/api/v1/admin/notifications/test

The answer of the webhook.

Media typeapplication/json
object
status
required

The HTTP status, or 0 when the webhook did not answer.

integer
error
string
Examplegenerated
{
"status": 1,
"error": "example"
}

An error.

Media typeapplication/problem+json

RFC 9457 problem details with a stable code.

object
type
required
string
title
required
string
status
required
integer
detail
string
instance
string
code
required

A stable machine-readable error code.

string
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example",
"code": "example"
}