Test Channel
POST
/api/notification-channels/{channel_id}/test
const url = 'https://kelpie.example.com/api/notification-channels/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/test';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://kelpie.example.com/api/notification-channels/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/testSend a test message right away, whatever the channel subscribes to.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”channel_id
required
Channel Id
string format: uuid
Responses
Section titled “Responses”Successful Response
Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
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": {} } ]}