testNotificationWebhook
POST
/api/v1/notifications/webhooks/{id}/test
const url = 'https://example.com/api/v1/notifications/webhooks/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://example.com/api/v1/notifications/webhooks/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/testSend a test delivery to a notification webhook. Requires an Owner or Administrator with the admin scope. Cookie-authenticated unsafe requests require X-CSRF-Token.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”id
required
string format: uuid
Header Parameters
Section titled “Header Parameters”X-CSRF-Token
string
Cookie-backed browser requests only, and only on unsafe methods. Bearer grants never send it.
Responses
Section titled “ Responses ”Test delivery accepted
Media typeapplication/json
object
data
required
object
delivered
required
boolean
Example
{ "data": { "delivered": true }}Webhook id invalid
Dashboard authentication required
Insufficient role
Webhook missing or disabled
Receiver rejected the test