HYBRID-CHAINDEVELOPERS
DOCUMENTATIONv2
PATCH

Developer access

Update webhook

/api/v2/developer/webhooks/{webhook_uuid}
AUTHENTICATIONBearer token · developer:writeAUTHORITATIVE OWNERdeveloper-platformCONTRACT AUTHORITYCapability registry · plannedSTATUSPlanned · not executable
PLANNING CONTRACT · NOT CALLABLE

This page describes intended capability and integration boundaries so people and agents can prepare safely. Do not send this request or register it as an executable tool. Wait until the capability registry marks it implemented-contract, then re-fetch the deployed OpenAPI document and build the request from that machine contract.

PURPOSE + BUSINESS CONTEXT

Planned capability: update webhook state, destination, or event subscriptions.

WHEN THIS CALL IS USEFUL

Do not call or register this operation as an executable agent tool yet. Use this page to plan the future webhook workflow; enable it only after the status becomes implemented-contract and the exact operation appears in deployed OpenAPI.

OUTCOME · Planned · Revise and reconcile

What changes

None today: this route is not executable. Its intended behavior is: no executable public update exists. A future promotion would atomically replace allowed fields, increment version, re-verify a changed destination, and retain configuration evidence without rotating the signing secret.

WHY IT MATTERS

  • Lets people and agents prepare for webhook without falsely presenting roadmap scope as a live capability.
  • Gives people and agents a contract-backed way to advance webhook.
  • Separates subject identity, consent, evidence, provider output, review, issuer credentials, and relying-party acceptance instead of collapsing them into a universal trust score.

ISOLATION + AUTHORITY

Bearer subject, tenant, purpose, policy version, role, issuer, reviewer, provider, and relying-party boundaries remain distinct. The response or transition grants no payment, custody, settlement, publisher, matching, or trading authority and must not expose regulated evidence beyond the live schema. This planning record grants no runtime authority, and only deployed OpenAPI can define an executable public contract.

BEFORE YOU CALL

  • First confirm that this operation is marked implemented-contract and exists in the currently deployed OpenAPI document; until then, no production request is valid.
  • Its capability-registry profile is provisional integration guidance, not an executable request schema.
  • Authenticate at the documented boundary: bearer+scope.
  • Treat the proposed webhook_uuid (path), expected_version (body) as planning input only; re-generate the request from deployed OpenAPI before making a call.
  • Use one Idempotency-Key only for retries of the same byte-equivalent logical mutation.
  • Resolve the applicable purpose, policy version, consent or role basis, and required assurance before relying on this result.

WHAT TO DO NEXT

  • Keep this operation disabled in clients, agents, SDKs, and workflow automation while it remains planned-contract.
  • Use the stated owner, lifecycle, authority boundary, and provisional webhook profile to prepare requirements and conformance tests without sending a request.
  • Monitor the capability registry for implemented-contract, then re-fetch deployed OpenAPI and validate its exact security, parameters, schemas, responses, and agent metadata before enabling the integration.

AGENT GUIDANCE

  • Never call this planned contract, include it in an executable tool registry, or infer runtime availability from this readable page.
  • Its capability-registry profile is provisional integration guidance, not an executable request schema.
  • Use webhook only for the purpose and lifecycle stage described by this operation; do not treat it as authority for an adjacent action.
  • Treat the proposed webhook_uuid (path), expected_version (body) as planning input only; re-generate the request from deployed OpenAPI before making a call.
  • Treat policy availability, consent, evidence capture, completed checks, review, decision, credential issuance, validity, and relying-party acceptance as separate facts.
  • After a timeout or conflict, read authoritative state before deciding whether an equivalent retry is safe.
  • When implementation lands, discard generated requests based on this planning record and rebuild them from the deployed OpenAPI operation.
MACHINE CONTRACT

This operation is a non-executable planning contract. Its capability-registry record defines the intended owner, parameters, responses, and integration boundary until an implemented Rust OpenAPI operation replaces it.

EXTENDED INTEGRATION GUIDANCE

Readable request and response reference

Examples describe the reviewed planning contract and remain non-executable until promoted into OpenAPI.

PARAMETERS

Headers, path, query, and body

NAMELOCATIONPRESENCETYPE / RULES / PURPOSE
AuthorizationheaderRequired

Bearer tokenCredential containing the developer:write scope.EXAMPLEBearer hc_live_…

Idempotency-KeyheaderRequired

ASCII string · 1–128Caller-generated key reused for every retry of the same logical mutation.EXAMPLEpause-webhook-webhook-uuid-01-v3

Content-TypeheaderRequired

application/jsonSigned mutations accept canonical JSON only.EXAMPLEapplication/json

Content-DigestheaderRequired

RFC 9530 SHA-256 digestDigest of the exact transmitted body bytes.EXAMPLEsha-256=:47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=:

Signature-InputheaderRequired

RFC 9421 signature parametersCovers @method, @path, content-digest, content-type, and idempotency-key; includes keyid, nonce, created, and expires.EXAMPLEsig1=("@method" "@path" "content-digest" "content-type" "idempotency-key");created=1786582800;expires=1786583100;nonce="01J…";keyid="machine-prod"

SignatureheaderRequired

Ed25519 HTTP Message SignatureSignature made by an active public key registered to the authenticated client.EXAMPLEsig1=:base64-signature:

webhook_uuidpathRequired

owner-scoped webhook identifierStable callback identifier discovered from the future inventory.EXAMPLEwebhook-uuid-01

expected_versionbodyRequired

integer · ≥1Current registration version used for optimistic concurrency.EXAMPLE3

namebodyOptional

string · 2–120Optional replacement owner-visible name.EXAMPLETreasury and audit evidence updates

urlbodyOptional

public HTTPS URL · max 500Optional replacement destination subject to complete SSRF validation and ownership re-verification.EXAMPLEhttps://integrator.example.com/hybrid-chain/events-v2

event_typesbodyOptional

allowlisted event identifier[] · 1–100 uniqueOptional complete replacement event set; wildcards and internal events are forbidden.EXAMPLE["billing.usage.updated"]

statusbodyOptional

ACTIVE | PAUSEDOptional replacement delivery lifecycle. PAUSED retains configuration and evidence while stopping new delivery attempts.EXAMPLEPAUSED

REQUEST

JSON body example

{
  "expected_version": 3,
  "status": "PAUSED"
}

RESPONSES

Status and payload examples

501Profiled planning contract only; no public V2 webhook update owner exists and the operation is absent from live OpenAPI.Not executable · JSON RESPONSE+
{
  "code": "planned_contract",
  "message": "Developer webhook updates are not available through V2."
}
INTEGRATION DECISIONplanned_contract
CALLER ACTION
Do not send this request or register it as an executable agent tool. Use the implemented alternatives linked by the module guide.
RETRY SAFETY
Do not retry on a timer. Re-fetch production OpenAPI and proceed only after this exact operation appears there.
STATE RECONCILIATION
No runtime state exists to reconcile for this planning contract. Continue from developer applications, credentials, signing keys, callbacks, scopes, secrets, and lifecycle receipts through an implemented operation.
ESCALATE WHEN
Escalate when a secret-bearing result was lost, key or callback state is ambiguous, or least-privilege scope cannot be established.

OPERATIONAL NOTES

Security and lifecycle guarantees

  • Send expected_version plus at least one changed field. On a future 409, re-read and reconcile rather than overwriting a concurrent update or silently merging event sets.
  • Changing url must pause delivery until complete SSRF and ownership verification succeeds. PAUSED stops new attempts but retains registration and delivery evidence; it does not erase in-flight or historical deliveries.
  • This update cannot set, reveal, or rotate the signing secret. Production promotion also requires a separate one-time secret-rotation ceremony with overlap, cutover, and revocation semantics.
  • A promoted 200 response would return canonical versioned configuration and verification posture under no-store. Use that returned version; do not infer which configuration an in-flight retry used without delivery evidence.
DOCUMENTATION STATUS

This planned contract now defines its public parameters, authorization boundary, replay behavior, responses, and authoritative owner. It remains non-executable until its owner adapter and conformance tests are promoted into the Rust gateway.

Return to the V2 directory