`POST /api/v1/channels/{id}/test` — send a test notification through a channel (Admin only).
POST
/api/v1/channels/{id}/test
const url = 'https://example.com/api/v1/channels/example/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://example.com/api/v1/channels/example/testParameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
Channel ID
Responses
Section titled “ Responses ”Test delivery result
Media type application/json
Example generated
exampleAdmin role required
Channel not found
Test delivery failed