Wasanidi
gra.webhooks.create
NXS Risk Finance and Capital API
POST /v1/webhooks DNot served
Subscribe a receiver to changes
Creates a webhook for the signed-in account: a https receiver and the event types it wants (a CloudEvents type of this network or *). The receiver must agree in the CloudEvents validation handshake first. The signing secret is answered once. Delivery is at least once, signed (x-nexus-signature), and the change feed at /v1/changes stays the source of truth. Needs the scope gra.webhook_subscribe:write. Answers 503 WEBHOOKS_OFF until this API has its database. State: designed (typed refusal until built).
This operation is not served. It answers with a typed refusal.
Parameters
None.
Responses
- 200 Records with provenance
- 400 Bad request (a problem, RFC 9457)
- 401 Passport bearer token required or not valid (a problem, RFC 9457)
- 403 Error (a problem, RFC 9457)
- 409 Error (a problem, RFC 9457)
- 413 Body too large (a problem, RFC 9457)
- 422 Error (a problem, RFC 9457)
- 429 Open-tier rate limit (a problem, RFC 9457)
- 500 Internal error (a problem, RFC 9457)
- 503 Connection off (typed refusal): WEBHOOKS_OFF (a problem, RFC 9457)