Create a webhook

Register an HTTPS URL. Generic receivers get signed JSON; Discord and Slack incoming webhook URLs are detected automatically and receive rich alerts without NinjaChat signing-secret setup. Platform URL credentials are redacted in responses. New events require explicit subscription; omitted events retain the six original defaults. Console: https://www.ninjachat.ai/developers/webhooks

post/webhooks

Request

  • Base URL: https://www.ninjachat.ai/api/v1
  • URL: https://www.ninjachat.ai/api/v1/webhooks
  • Auth: HTTP bearer

Request body

urlstring uri required
eventsWebhookEvent[]

Response

Webhook created. The signing secret is returned once (used only by generic receivers).

idstring required
urlstring uri required
destination'webhook' | 'discord' | 'slack'
eventsWebhookEvent[] required
secretstring required
messagestring required

Changes

No recorded changes to this operation across all 1 revision of this API.