Webhooks
Create Webhook Endpoint
Register a URL that receives signed alert/event POSTs
POST
Overview
Registers a webhook endpoint and returns the signingsecret once in
the response. Store the secret immediately; subsequent list/retrieve
responses redact it.
Required scope: portfolios:manage.
Body Parameters
HTTPS endpoint (HTTP is allowed in non-production environments only).
Max 2048 chars.
Optional human-readable description (max 2000 chars).
1—20 event types. The only customer-subscribable event today is
alert.created. Any other value returns 400. webhook.test is
delivered only when you call POST /v1/webhooks/{id}/test
— you cannot subscribe to it.Free-form metadata.
Response
Endpoint ID (
whk_*).Always
"webhook_endpoint".Echo of input.
Echo of input.
Echo of input.
active or disabled.Starts at
1.Plaintext signing secret. Returned only on this response and on rotate-secret.
0 on create.Null on create.
Null on create.
Echoed back.
ISO timestamp.
ISO timestamp.
Request identifier.
Errors
- 400 — invalid URL, unknown event type, or HTTP URL in production.