API changelog

Append-only record of every change to the v1 API contract, newest first.

The v1 contract is append-only: fields may be added, existing fields and code values never change meaning. Anything that would break a parser lands in a v2, not here. Newest changes come first.

Loop protection and safer saved requests

  • Forwards and sub-requests carry X-WebhookVault-Hops and X-WebhookVault-Loop. A capture URL answers 508 Loop Detected to a request that has passed through WebhookVault five times or that its own endpoint sent (loop protection). Creating or changing an action so it targets its own endpoint's capture URL answers 400.
  • A saved request's path values are encoded as one path segment: a /, ? or # in a value no longer adds segments or starts a query, so a slot that used to carry orders/42 now sends orders%2F42. Put fixed segments in the path template itself. A value that is exactly . or .. is refused rather than sent. A header value holding a line break or another control character is left out of the call.

What a change reaches

Writes to things other things depend on now answer with reach: the endpoints and actions the change touches, their arrivals in the last 24 hours, and what changes from what to what. It is in dry runs, in approval_required answers and in GET /api/v1/approvals/{id} (safe changes).

  • For keys that ask, changing where something live sends or how it authenticates, switching it off, or opening a route to a server nothing live sends to yet now waits for approval, as do adding a contact and creating an alert channel with alerts routed to it. The same change to something nothing live depends on does not.
  • Such a call from a key whose creator has neither a passkey nor two-factor authentication now answers 403 second_factor_required, as other approvals do. If what a change reaches cannot be worked out, it asks rather than going through.
  • New code: 409 reach_changed, when an approved change reaches more by the time it runs than the person approved. Nothing changes; ask again.
  • Developer access keys whose approvals are off are unaffected, apart from the new reach field.

Key settings, and agents that can set things up

Nothing changes for an existing call. A key's scopes, whether its changes wait for approval, and an Agent access key's hourly limits can now be changed in the app under the key's Settings; giving a key more reach asks for the creator's passkey or authenticator code (Agent access and approvals).

  • Agent access keys through the MCP server can now reach the operations their scopes allow (the MCP server calls the API for them). Two codes apply to those calls only: 403 agent_writes_paused while an owner or admin has paused agent changes, and 429 write_budget_spent, with Retry-After, past the key's hourly limit. An Agent access key used on the API directly still answers 403 agent_key_not_accepted.
  • Developer access keys are unaffected.

Everything the dashboard does, on the API

Operations that existed only in the dashboard for your webhooks and their configuration are now on the API, each with its scope in x-wv-scope and its risk in x-wv-risk. Nothing that existed changes. Your account stays in the app: billing, closing the workspace, the team and API keys have no API operations.

  • The Library: connections and saved-requests (list, get, create, change, remove), and POST /api/v1/saved-requests/slots. A connection's secret is write-only and needs the secrets scope. Both carry etag and take If-Match. Removing one still in use answers 409 in_use.
  • The workspace: GET and PATCH /api/v1/workspace (its name), GET /api/v1/usage, GET /api/v1/overview and GET /api/v1/activity (with keyId for what one key did, and actorKeyId on each row).
  • Technical contacts: list, get, add, change, stop or restart, resend the confirmation, remove. Billing contacts are managed in the app; adding one answers 403 billing_not_available.
  • Smaller additions: muting an alert channel, finding a Telegram bot's chats, where to connect Slack or Discord, previewing a notify message, checking a response rule, a request's replay plan, sending a test request, the rule templates and compute functions, purge requests, and all: true on restoreFromRecycleBin.
  • Risk: purge requests always need the person's approval (floor). On writes that send an email, dryRun=true returns the summary without running anything.
  • New codes: in_use, name_taken, nothing_to_purge, billing_not_available, preview_failed, unknown_sample, endpoint_off, endpoint_expired, test_rate_limited, capture_rate_limited and captures_paused.
  • Free includes the API: one key at 30 calls a minute, for the REST API or the MCP server.
  • Deleted endpoints go to the recycle bin. deleteEndpoint still answers 204. Senders and the endpoint operations still get 404 for the endpoint from then on, but it can now be put back for 7 days (a temporary endpoint only until its own expiry). Deliveries still waiting are cancelled. New: GET /api/v1/recycle-bin/endpoints (listBinnedEndpoints) and POST /api/v1/recycle-bin/endpoints/{id}/restore (restoreEndpoint), which answers 409 limit_reached when a switched-on endpoint has no free place in the plan. DELETE /api/v1/recycle-bin/endpoints/{id} (purgeEndpoint) erases a deleted endpoint for good before its time runs out; owner keys only, and it always needs the person's approval.

Retries, versions, dry runs and approvals

Four additions for scripts and agents that change a workspace. A call that uses none of them behaves exactly as before. See safe changes.

  • Idempotency-Key on every POST: the same request sent again with the same value returns the first answer, with Idempotent-Replayed: true. New codes idempotency_key_reused (422) and idempotency_in_progress (409).
  • Versions: endpoints, actions, transformation rules, watchdogs and alert channels gain etag, and a read of one carries the ETag header. Updates and deletes of them accept If-Match; a stale one answers 412 with the new code version_mismatch.
  • dryRun=true on every write except sending a test message and replaying a single request: the operation runs and is undone, and a success answers 200 with dryRun, status, summary and result.
  • A signingSecret of only spaces now clears the secret, as an empty string does. Before, it was stored as an empty secret.
  • Sending forwardUrl empty, which removes the endpoint's forward action, now needs the delete scope as deleting that action does.
  • Approvals: each write names its risk in x-wv-risk. A key whose approvals are on answers a confirm call with 202 approval_required; sent again with Approval-Id once approved, it runs once. New: GET /api/v1/approvals, GET /api/v1/approvals/{approvalId}, getMe key.approvalsRelaxed, and the codes second_factor_required, approval_not_found, approval_pending, approval_declined, approval_expired, approval_used and approval_mismatch.

Developer access keys, existing and new, have approvals off, so nothing they do starts waiting.

Keys act for the person who made them

A key now acts for the person who created it. Every call is limited to what that person may do in the workspace at that moment, and to the key's scopes.

  • A key whose creator is now a member can still read, replay and preview. A change answers 403 with workspace_role_required, new to the API and the code the app already gives for the same refusal.
  • A key whose creator has left the workspace, or whose account is disabled, answers 401, as a revoked key does.
  • Each operation names the scope it needs in x-wv-scope. A call outside the key's scopes answers 403 with the new code scope_required. A change that sets or clears a secret, changes an endpoint's provider or signature scheme, or changes the settings of an alert channel that holds a credential needs secrets as well as configure.
  • getMe gains key.scopes and actsFor.role.

Every existing Developer access key has the scopes read, test, configure, secrets and delete, so a key whose creator is an owner or admin works exactly as before.

Clearer refusals and update rules

Four corrections, each bringing one operation in line with the rest of the API:

  • createEndpoint past the plan's active endpoint limit answers 409 with limit_reached, as creating an action or a rule already did. It used to answer 400 with validation_failed, which read like a bad field. updateEndpoint answers the same when isActive: true would pass the limit, with field: isActive.
  • replayRequest on an endpoint that is switched off answers 400 with endpoint_inactive, as bulkReplay already did. It used to answer 200 with nothing sent.
  • updateAlertChannel leaves enabled as it is when the field is omitted, as every other update treats a missing field. It used to switch a disabled channel back on. Creating a channel without enabled still switches it on.
  • getTransformationRule finds a rule on any of the endpoint's actions. reorderTransformations and previewTransformationSet now act on the action named by actionId; they used to accept it and use the endpoint's first action. actionId is now documented on the four routes that take it.

From this release, every change made with a key appears in Activity under that key, including endpoint changes, which were not recorded before. Entries from before this release keep the form they were written in.

Safe replays

replayRequest gains three query parameters. actionIds (repeated) names several actions. guard=true refuses with 409 and the new code already_delivered when a chosen action already received the request or is still delivering it; the body lists each earlier delivery. With guard=true, allowDuplicates=true sends anyway. Without guard a replay sends exactly as before, and the response gains results (one entry per action) and warnings (each action that already had the request). The existing fields are unchanged.

bulkReplay gains actionIds and skipDelivered. With skipDelivered: true it leaves out the request and action pairs that were already delivered and counts them in skippedDelivered and skippedDeliveredPairs. Without it every pair is queued as before, and duplicatePairs counts the repeats.

Actions gain includeInReplays and warnBeforeDuplicate on read and write. Every existing action reads true for both. A replay that names no action reaches the switched-on actions with includeInReplays: true. A forward is created with it on, a notify or a sub-request with it off. So an action created from now on as a notify or a sub-request is left out of such a replay unless it is named. When no switched-on action is included, the replay answers 400 with the new code no_replay_actions. See Idempotency and safe replays.

Response checks and delivery identity

Actions gain successStatusCodes and successCondition on read and write, and successDescription on read: what a receiver's answer must look like for a delivery to count. Both are optional and absent on every existing action, so every existing action still counts any 2xx as delivered. See Idempotency and response checks.

Delivery attempt reads (listDeliveries, getDelivery, listAttempts) gain jobId, origin (capture or replay) and responseCheck (passed, failed, skipped or notConfigured). On an action with a response check, a 2xx that misses it is reported as Failed, as any failed delivery is; on every other action the states mean what they did.

Every forward now carries X-WebhookVault-Request-Id, X-WebhookVault-Delivery-Id, X-WebhookVault-Attempt and, on a replay, X-WebhookVault-Replay.

Agent access keys and the MCP server

Agent access keys can now be created on the API keys page, for AI assistants that connect to the WebhookVault MCP server. The v1 contract is unchanged: the API still answers an Agent access key with 403 and agent_key_not_accepted, and key.kind on GET /api/v1/me still reads developer for every key the API accepts. Both kinds share the workspace's API key slots.

Key kinds

Every API key now has a kind, chosen when it is created and never changed. Every existing key is a Developer access key, and nothing about how it works has changed. GET /api/v1/me gains key.kind, which for any key the API accepts reads developer.

The API answers an Agent access key (a key for AI assistants, which works only with the WebhookVault MCP server) with 403 and the new code agent_key_not_accepted. Agent access keys cannot be created yet; this entry records the contract ahead of them.

Event locations per provider, and corrected event names

GET /api/v1/providers gains eventLocations: every place a provider writes its event type, in order, each {kind, path, qualifier}. Most providers have one. A qualifier is a second location appended with a dot, for providers that split the name in two (Sentry's resource header plus the body action). eventSource and eventKey are unchanged in meaning: they describe the first entry of eventLocations. Where we hold sample deliveries for a provider, every one of them is named correctly by its locations. Most of the corrections below were also confirmed in the provider's own documentation; Auth0, Mollie and Recurly follow the field their sample deliveries carry.

For these providers the event location was wrong or missing, so eventSource and eventKey change value and requests are now named by their real event: Adyen, Auth0, Customer.io, Discord (Event Webhooks, event.type), GoCardless, Grafana (alert status), HubSpot (eventType), Klaviyo, Meta, Mollie, Okta (data.events[].eventType), Recurly, SendGrid, SparkPost, Strava, Twitch (Twitch-Eventsub-Subscription-Type) and Zendesk. Postmark, Sentry, Slack and Yoco keep their first location and gain a second one or a qualifier. A number is no longer taken as an event name.

Event names are what the request list and watchdog label suggestions (GET /api/v1/watchdogs/labels) show; nothing you saved depends on them, so no watchdog condition, action or rule changes behaviour.

Bulk replay refuses a switched-off endpoint; expired temporary endpoints stop counting

POST /api/v1/endpoints/{endpointId}/requests/bulk-replay on an endpoint that is switched off, by you or by a plan change, now answers 400 with the new code endpoint_inactive and queues nothing. Before this it queued the requests and delivered them to the endpoint's actions, which an endpoint that is off should never do; a single replay already refused it.

A delivery is now also checked when it is about to be sent: if the endpoint has been switched off since the delivery was queued, it is cancelled instead of sent. This covers replays queued a moment before the switch-off and automatic retries that were still waiting. Cancelled deliveries appear in GET .../deliveries with that reason; switching the endpoint back on does not resend them.

A temporary endpoint (one created with ttlSeconds) stops taking one of your plan's endpoint slots the moment its expiresAt passes, instead of when it is deleted some hours later. limits.endpointsUsed on GET /api/v1/me counts the same way, so creating an endpoint after a temporary one expires is no longer refused. Response shapes are unchanged.

Names of at most 30 characters

The name of an endpoint, a watchdog, an alert channel, an action and a transformation rule now has surrounding whitespace removed and must then be 30 characters or fewer (maxLength: 30 on CreateEndpoint, UpdateEndpoint, WatchdogWrite, AlertChannelWrite, ActionWrite and the name of a TransformationRule document). A longer name is refused with 400 validation_failed and a message saying so; it is never cut short. Before this, endpoint and action names allowed 200 characters, and watchdog, channel and rule names 120; an endpoint or action name past 200 could return a 500. Response shapes are unchanged. A blank endpoint or action name on update clears the name, as an omitted name on create leaves it unset. A rule saved before this change with a longer name keeps running; it is asked for a shorter name the next time it is saved.

New hosts for the API and capture URLs

The API and capture URLs moved to webhookvault.net. Paths, request and response shapes are unchanged; only the host differs.

  • API base URL: https://app.webhookvault.net. The OpenAPI document's servers entry names it, and the document itself is served at /openapi/v1.json. webhookvault.dev answers every path with a 301 to the same path on app.webhookvault.net. Point your client at the new host: most HTTP clients do not repeat a POST, PUT, PATCH or DELETE across a 301 (they switch to GET or stop), and many drop the Authorization header when a redirect changes host.
  • Capture URLs: an endpoint's url is now on https://in.webhookvault.net, with the same path as before. in.webhookvault.dev no longer answers, so a provider still sending to the old host needs the new URL from the endpoint.

Alert deliveries and parked-delivery alerts

  • eventKind=delivery.recovered is a valid filter on GET /api/v1/alert-channels/deliveries. It lists the notices that close a parked-delivery incident, sent when a delivery to the action succeeds again.
  • subjectId on a parked-delivery alert and on its recovered notice now holds the action's id, where it held the request's id. The same value is subject_id in a webhook channel's payload. Parked-delivery alerts also coalesce: one per action per outage, with a running count, instead of one per request. See Alerts.
  • eventKind lists every kind it accepts: the filter takes any kind a delivery can carry, action.notify included, and the OpenAPI document now enumerates all eight. Any other value answers 400 (code: validation_failed).

Replay to one action, action signing, the single-URL fields

Two additions, and one read rule stated plainly because an integrator can see it change.

  • Replay to one action: POST /api/v1/endpoints/{endpointId}/requests/{requestId}/replay accepts an optional actionId query parameter, and POST /api/v1/endpoints/{endpointId}/requests/bulk-replay an optional actionId in its body. With it, the request goes through that one action only and the endpoint's other actions send nothing. The action must belong to the endpoint (an action of any other endpoint answers 404, the same as one that never existed) and must be switched on (400, code: action_inactive). Without it, replay is unchanged: every action that is switched on.
  • Action signing: POST /api/v1/endpoints/{id}/actions and PUT /api/v1/endpoints/{id}/actions/{actionId} accept a write-only signingSecret on a forward: omitted leaves it, an empty string stops signing, a value sets or rotates it (at least 16 characters). It is never returned; the action reports only whether it is signed and since when. It replaces the endpoint's deprecated forwardSigningSecret.
  • The deprecated single-URL fields read the first forward action by position: an endpoint's forwardUrl and forwardSigning now describe the endpoint's first action of kind forward by position, whether or not it is switched on, and are null (with signed: false) when the endpoint has no forward action. They used to describe the first switched-on action of any kind, so an endpoint whose first active action was a notify read forwardUrl: "". The read now names the same row a write to these fields changes. forwardingEnabled still reads true when any action is switched on.
  • Writes to those fields: forwardingEnabled: true sent without forwardUrl to an endpoint that has no forward action is now refused (400) rather than accepted and ignored, because there is no forward to switch on. forwardingEnabled: false in the same case still answers 200 and changes nothing: no forward means nothing forwards, which is the state it asks for. forwardSigningSecret sent on its own no longer re-checks the forward's URL, so rotating it never depends on the receiver's DNS.
  • Concurrent changes: PATCH /api/v1/endpoints/{id} answers 409 (code: concurrent_change) when one of the endpoint's actions was removed by another request while the update was saving. Nothing is saved; read the endpoint again and retry. This used to surface as a 500.
  • Marked deprecated: forwardUrl, forwardingEnabled, forwardSigning and forwardSigningSecret on an endpoint carry deprecated: true in the OpenAPI document. They are still read and honoured as described above; new integrations should use the endpoint's actions (GET /api/v1/endpoints/{id}/actions).

Provider setup paths

Additive. No existing field changes meaning.

  • setupPath: each provider returned by GET /api/v1/providers now carries setupPath: where the webhook URL is entered in that provider's own console, or, for the few providers with no console field, the one step that registers it. It is null when no path is documented.

The Skipped delivery state

Additive: a new value in an existing enum.

  • Skipped joins the delivery state values on a request's latest delivery and on the state filter of GET /api/v1/endpoints/{endpointId}/requests. It means every action on the endpoint carries a condition and none matched the request, so nothing was queued. NotAttempted now means the endpoint had no action switched on when the request arrived.

Capture responses: what they may contain

A capture URL is public, so the response it returns to a sender is now limited to what a webhook acknowledgement needs. Writes that used to be accepted can now be refused.

  • responseContentType must be one media type from an allowlist: application/json or any +json type, application/problem+json, text/plain, text/csv, application/xml, text/xml, application/soap+xml, application/x-www-form-urlencoded or application/octet-stream. HTML, images and scripts are refused.
  • responseStatusCode may not be a 3xx: a capture response never redirects.
  • responseHeaders may not set Content-Type (it has its own field), cookies, redirects (Location, Refresh, Link), security policies, framing or transport headers.
  • A refused value answers 400 (code: validation_failed) on POST /api/v1/endpoints and PATCH /api/v1/endpoints/{id}, with detail naming what was refused.
  • Endpoints saved before the rule keep working: a content type outside the list is served as text/plain, a stored 3xx is served as 200, and blocked headers are dropped. Every capture response also carries X-Content-Type-Options: nosniff and a sandboxing Content-Security-Policy.

Signed forwards, computed values, two more signature schemes

Additive. No existing field changes meaning.

  • Signed forwards: a destination can carry a signing secret, and every delivery to it then leaves with a wv-signature header the receiver can verify. Set it with forwardSigningSecret on POST /api/v1/endpoints or PATCH /api/v1/endpoints/{id} (write-only, at least 16 characters; an empty string stops signing). The endpoint reports forwardSigning with signed and setAt and never the secret. See Deliveries.
  • compute: a new transformation op that writes a value worked out from the payload. fn names one function from a fixed table and args is a list of paths, literals and nested calls. It is not an expression language: no operators, variables or control flow. See Transformations.
  • Rules that keep failing: TransformationRuleView gains disabledReason, set when WebhookVault switches a rule off after it faults on consecutive deliveries, and null otherwise. A new alert event, transformation.disabled, is available on GET /api/v1/alert-channels/event-kinds and can be subscribed to.
  • Verification: Discord (Ed25519) and Wise (RSA-SHA256) are now verified rather than reported as unsupported, so their verification.supported flips to true. signatureAlgorithm accepts rsa-sha256, rsa-sha512 and ed25519 for a manual scheme, where signingSecret then holds a public key rather than a shared secret.

Watchdogs

Additive. A new tag, Watchdogs, and no change to any existing route.

  • Watchdogs: GET / POST /api/v1/watchdogs, GET / PUT / DELETE /api/v1/watchdogs/{id}, and POST /api/v1/watchdogs/{id}/active to pause or resume one without deleting it. A watchdog reports its state, whether it is active, and pausedByPlan when it is kept but over the plan's limit and therefore not being evaluated.
  • Cadence: GET /api/v1/watchdogs/suggest?endpointId=… proposes an interval and grace from what the endpoint has actually received. available: false with a reason when there is too little history to propose anything.
  • Labels: GET /api/v1/watchdogs/labels?endpointId=… lists the event labels an endpoint has sent, with counts, for building a match that will fire.
  • See Watchdogs.

Alert channels

Additive. A new tag, Alert channels, and no change to any existing route.

  • Channels: GET / POST /api/v1/alert-channels, GET / PUT / DELETE /api/v1/alert-channels/{id}. A channel reports health (untested, verified, failing), whether a credential is set and when, and what it is subscribed to. Credentials are write-only: secret is accepted on write and returned by nothing. Omit it on update to keep the stored one.
  • Discovery: GET /api/v1/alert-channels/kinds lists the destinations this workspace can add, with credentialLabel naming the credential each one needs and any extra fields; GET /api/v1/alert-channels/events lists the event kinds a channel can subscribe to.
  • Test: POST /api/v1/alert-channels/{id}/test sends a real message and answers what the provider said. A rejected send is 200 with delivered: false and the provider's own words in detail; the request succeeded, the send did not.
  • History: GET /api/v1/alert-channels/deliveries returns every send, newest first, filterable by channel, event kind and outcome. emailFallback marks an alert that went by email because a channel was failing.
  • Email needs no channel and cannot be created as one: it is on for every plan and is managed from workspace contacts. See Alerts.

The recycle bin

DELETE on a captured request changes meaning: it no longer removes the request.

  • Deletes move requests to the workspace recycle bin, restorable for up to 7 days or until the plan's retention window ends, whichever comes first. This applies to DELETE …/requests/{id}, POST …/requests/bulk-delete and DELETE …/requests. Their response shapes are unchanged; a deleted request still answers 404 everywhere and is gone from every list, search and replay.
  • Recycle bin (new tag): GET /api/v1/recycle-bin lists what is in the bin with purgesAt per row, and POST /api/v1/recycle-bin/restore puts requests back by id and answers restoredCount plus skippedAtCap (rows left in the bin because their endpoint is at the plan's stored-request limit).
  • Only the retention sweep or a purge applied by WebhookVault support removes a deleted request for good. See Recycle bin.

Transformation sets, versions, full delivery records

Additive; the singular transformation routes keep working.

  • Transformations become an ordered set per destination: GET / POST …/endpoints/{id}/transformations, GET / PUT / DELETE …/transformations/{ruleId}, PUT …/transformations/order, POST …/transformations/preview-set. Every rule carries position, enabled, condition and version; PUT takes { rule, enabled }. New problem code on POST: limit_reached (409).
  • Versions: GET …/transformations/{ruleId}/versions and POST …/versions/{n}/restore (a restore is a new version; history is never rewritten).
  • The singular …/endpoints/{id}/transformation routes now address the first rule of the set; their view gains ruleId and ruleCount.
  • Deliveries (new tag): GET …/endpoints/{id}/deliveries lists every attempt on the endpoint; GET …/deliveries/{attemptId} returns exactly what was sent (method, URL, headers, body) and exactly what came back (status, headers, body, content type), with truncation flags. Delivery attempts carry hasDetail.
  • transformationVersion on an attempt is set only when exactly one rule was in force; with several, transformNote names each rule and version.

Verification and transformations

Additive only; every existing field keeps its meaning.

  • Requests carry verification: { verdict, note }, the signature verdict computed at capture time (verified, failed, unsigned, unverifiable, or null when nothing was checked). A verification query filter joins method, state and q on list and await (verification=none selects unchecked requests).
  • Endpoints carry a read-only verification object (scheme in force, whether a secret is set, handshake token flags, the manual scheme) and accept write-only inputs on create and update: signingSecret, handshakeToken, signatureHeader, signatureAlgorithm, signatureEncoding, signaturePrefix. The secret is never returned.
  • Providers carry verification: { supported, scheme, secretLabel } (null when the provider does not sign) and handshakeTokenNeeded.
  • Delivery attempts carry transformed, transformationVersion and transformNote.
  • Transformations (new tag): GET /transformations/schema, POST /transformations/preview, and GET / PUT / DELETE …/endpoints/{id}/transformation. See Transformations. New problem code on PUT: no_destination (409).

v1 launch

The first public surface:

  • Introspection: GET /me: key, workspace, plan, limits.
  • Endpoints: list, create (including ephemeral endpoints via ttlSeconds), get, PATCH partial update, delete, and GET …/stats (storage, last traffic, retention, delivery backlog).
  • Requests: list with search-lite filters (method, state, q, since, until, afterId), get, delete, clear, bulk delete.
  • Await: GET …/requests/await: block until a matching webhook arrives (200) or time out clean (204). No polling.
  • Replay: single replay with inline outcome, full per-request attempt history, and bulk replay queued through the delivery pipeline (plan-gated).
  • Contract: RFC 9457 problems with stable codes everywhere; one pagination envelope; per-key rate limits with honest Retry-After 429s.

The OpenAPI document this reference renders from is public: /openapi/v1.json.

On this page