Skip to content

Test Channel

POST
/api/notification-channels/{channel_id}/test
curl --request POST \
--url https://kelpie.example.com/api/notification-channels/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/test

Send a test message right away, whatever the channel subscribes to.

channel_id
required
Channel Id
string format: uuid

Successful Response

Media typeapplication/json
TestResult
object
ok
required
Ok
boolean
error
required
Error
Any of:
string

Example generated

{
"ok": true,
"error": "example"
}

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object

Example generated

{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example",
"input": "example",
"ctx": {}
}
]
}