Authentication
Bearer API keys, scoped to your workspace, shown once at creation and stored only as fingerprints.
Every /api/v1 call authenticates with an API key in the Authorization header:
curl https://app.webhookvault.net/api/v1/me \
-H "Authorization: Bearer wv_live_…"Tools that can't set Authorization may send X-Api-Key: wv_live_… instead; the two are
equivalent; Authorization is canonical.
Keys
Keys are created and revoked on the API keys page in the app, never through the API (every plan includes the API; the number of active keys is a plan limit: 1 on Free, 3 on Solo, 10 on Pro, 25 on Team). Your account itself, billing, the team and closing the workspace, is managed in the app too; no key can reach it.
- Named, always. A key is named for where it lives, say
CI pipeline · GitHub Actions, so you always know which one to rotate or revoke. - Shown once. The full key appears exactly once, at creation. After that only its fingerprint (SHA-256) is stored, so nobody, including us, can read a key back. Lose it, revoke it, make a new one.
- Acts for the person who made it. A key works in its workspace and sees every endpoint there,
carries no cookies, and is authenticated fresh on every call. Each call is limited to what the
person who created the key may do in the workspace at that moment. If an admin who made a key
becomes a member, the key can still read, replay and preview, and a change answers
403workspace_role_required. If that person leaves the workspace, their keys stop working. - Scoped. A key can do only what its scopes cover (see below). Change them under the key's Settings: narrowing applies from the next call; giving a key more reach asks for your passkey or authenticator code, and only the person who made the key can do it (Agent access and approvals).
- Revocation is immediate and forever. A revoked key fails from that moment; it never comes back.
Scopes
Each operation in the API reference names the scope it needs (x-wv-scope). A call
outside the key's scopes answers 403 scope_required, and nothing changes.
| Scope | Covers |
|---|---|
read | Reading endpoints, requests, deliveries, actions, rules, watchdogs, alert channels, technical contacts, the Library, usage, Activity, approvals and the recycle bin. |
test | Waiting for a request, test requests, replays and replay plans, previews and response checks, working out a saved request's slots, and sending a test message to an alert channel. |
configure | Creating and changing endpoints, actions, rules, watchdogs, alert channels, technical contacts and the Library, and switching them off and on. |
secrets | Setting, replacing or clearing a write-only credential: a signing secret, a verification token, an alert channel's credential. Changing an endpoint's provider or signature scheme, and changing the settings of an alert channel that holds a credential, count too, because they change how that credential is used. Such a change needs secrets as well as configure. |
delete | Deleting endpoints, actions, rules, watchdogs, alert channels, technical contacts, Library connections, saved requests and requests, and restoring from the recycle bin. |
workspace | Renaming the workspace, asking support to delete recycle bin items for good, and deleting a deleted endpoint for good. Every permanent deletion also needs the person's approval. |
A Developer access key starts with the first five; an Agent access key starts with read and test.
GET /api/v1/me lists the scopes of the key you are holding.
The key's identification prefix (wv_live_3fk9Qm2x) is safe to say out loud in a support thread,
a log line or a teammate conversation, without revealing the credential.
Verify a key
GET /api/v1/me is the cheapest possible call and tells you everything about the credential you're
holding: who it is, what plan, what limits:
{
"key": {
"prefix": "wv_live_3fk9Qm2x",
"name": "CI pipeline",
"scopes": ["read", "test", "configure", "secrets", "delete"]
},
"actsFor": { "role": "admin" },
"workspace": { "name": "Acme" },
"plan": { "key": "pro", "displayName": "Pro" },
"limits": { "apiRatePerMinute": 600, "endpointsMax": 50, "retentionDays": 90 }
}Failure modes
| Status | code | Meaning |
|---|---|---|
401 | unauthorized | No key, an unknown key, a revoked key, or a key whose creator has left the workspace or whose account is disabled. |
403 | api_access_disabled | The key is real, but its workspace's plan no longer includes API access. |
403 | agent_key_not_accepted | The key is an Agent access key, which works only with the WebhookVault MCP server. Use a Developer access key for the API. |
403 | feature_not_in_plan | The key is accepted, but the operation (for example bulk replay) is not part of the workspace's plan. |
403 | scope_required | The operation is outside the key's scopes. detail names the scope it needs. |
403 | workspace_role_required | The person who created the key may not do this in the workspace now (for example an admin who became a member). An owner or admin's key can. |
429 | rate_limited | The key's per-minute budget is spent; honor Retry-After. |
Handling keys well
- Keep keys in secret stores and environment variables, never in code or client-side JavaScript.
- One key per system. When a pipeline is retired, its key is revoked and nothing else breaks.
- The capture URL (
…/hook/{id}) intentionally requires no authentication, because its unguessable id is the token. Never put an API key in a sender's webhook configuration.
Where next?
- Quickstart: put a key to work
- Agent access and approvals: what a key can do and which changes wait for you
- Rate limits: budgets and backoff
GET /api/v1/me: the introspection call
Concepts
Four nouns carry the whole product: an Endpoint captures Requests, its Actions decide what happens to each one, and every action that runs leaves a Delivery with a full attempt history.
Testing webhooks in CI
Ephemeral endpoints that clean up after themselves, and an await API that turns 'did the webhook fire?' into one blocking HTTP call.