కంటెంట్‌కు వెళ్లండి
The Consortium

డెవలపర్లు

gcri_webhook_subscribe

NXS Risk Intelligence API

Open. Reading is free and needs no key.

POST /v1/webhooks DNot served

All operations

Subscribe a receiver to this API's change events

Body { url, types, description? }: https only, public addresses only, validated with the CloudEvents web-hook handshake before it is stored. The secret is shown once. The signed webhook routes of the kit (scope gcri.webhook_subscribe:write; the owner of a subscription only). State D until the database is live: without GCRI_API_DATABASE_URL every route answers 503 WEBHOOKS_OFF. State: designed (typed refusal until built).

MCP tool: gcri.webhook_subscribe

This operation is not served. It answers with a typed refusal.

Parameters

None.

Responses

  • 201 Created
  • 400 Bad request (BAD_PAGE, BAD_KIND, BAD_ID, BAD_STATE, BAD_JSON, BAD_BODY) (a problem, RFC 9457)
  • 401 A Passport bearer token is missing or invalid (BEARER_REQUIRED, BEARER_INVALID) (a problem, RFC 9457)
  • 402 Billable: BILLING_REQUIRED, with a pointer to the billing page; the price comes only from an approved schedule (a problem, RFC 9457)
  • 403 FORBIDDEN or SCOPE_REQUIRED: the token lacks the scope this route needs (a problem, RFC 9457)
  • 404 NOT_FOUND, or NOT_YET_PUBLISHED for a designed route (a problem, RFC 9457)
  • 409 WEBHOOK_EXISTS or WEBHOOK_LIMIT (a problem, RFC 9457)
  • 413 TOO_LARGE: bodies up to 64 KB (a problem, RFC 9457)
  • 422 WEBHOOK_URL_REFUSED or WEBHOOK_NOT_VALIDATED: the receiver was refused or did not agree to the validation handshake (a problem, RFC 9457)
  • 429 RATE_LIMITED: open-tier rate limit (a problem, RFC 9457)
  • 500 INTERNAL: unhandled error (a problem, RFC 9457)
  • 501 WRITES_OFF (no verified Passport configuration) or NOT_BUILT (a problem, RFC 9457)
  • 503 BACKEND_CONNECTION_OFF: the network backend connection is off; WEBHOOKS_OFF: this API has no webhook database (GCRI_API_DATABASE_URL is unset) (a problem, RFC 9457)