Webbu Docs

API Reference

Every Webbu API endpoint, generated from the OpenAPI spec, plus the interactive explorer.

Base URL

https://webbu.dev/api

For example, ingest is POST https://webbu.dev/api/v1/ingest/{projectId}/{bufferId}.

Interactive reference

The full reference, with request and response schemas, code samples and a "Try it" playground, is at webbu.dev/api/docs.

The OpenAPI 3.0 spec is at webbu.dev/api/openapi.json. Import it into Postman, Insomnia or Bruno, or generate a client from it.

Authentication

Send an API key in the X-API-Key header (or a Firebase ID token as Authorization: Bearer …):

curl -H "X-API-Key: wbk_your_key_here" https://webbu.dev/api/v1/admin/projects

Ingest doesn't require authentication; an API key is optional. See API Keys & Authentication for roles.

Conventions

  • Request and response bodies are JSON
  • You choose the IDs of projects and buffers when you create them
  • Resource timestamps (createdAt, receivedAt, …) are Unix epoch milliseconds; API key timestamps are ISO 8601 strings
  • Errors have an error field; see Error Codes

Endpoints

Generated from the same OpenAPI spec. Click a path to open it in the interactive reference.

Webhook ingestion endpoints

MethodPathSummaryAuth
POST/v1/ingest/{projectId}/{bufferId}Ingest a webhook payloadOptional

Project management

MethodPathSummaryAuth
GET/v1/admin/projectsList projectsRequired
POST/v1/admin/projectsCreate a projectRequired
GET/v1/admin/projects/{projectId}Get a projectRequired
PATCH/v1/admin/projects/{projectId}Update a projectRequired
DELETE/v1/admin/projects/{projectId}Delete a projectRequired

Buffer configuration

MethodPathSummaryAuth
GET/v1/admin/buffersList buffersRequired
POST/v1/admin/buffersCreate a bufferRequired
GET/v1/admin/buffers/{bufferId}Get a bufferRequired
PATCH/v1/admin/buffers/{bufferId}Update a bufferRequired
DELETE/v1/admin/buffers/{bufferId}Delete a bufferRequired
POST/v1/admin/buffers/{bufferId}/cloneClone a bufferRequired
POST/v1/admin/buffers/{bufferId}/testTest buffer deliveryRequired

Metrics and analytics

MethodPathSummaryAuth
GET/v1/analytics/summaryGet dashboard summary statsRequired
GET/v1/analytics/timeseriesGet analytics timeseries dataRequired

Dead letter queue management

MethodPathSummaryAuth
GET/v1/dlqList dead letter queue itemsRequired
GET/v1/dlq/{dlqId}Get DLQ item detailsRequired
DELETE/v1/dlq/{dlqId}Delete a DLQ itemRequired
POST/v1/dlq/{dlqId}/retryRetry a DLQ itemRequired

API key management

MethodPathSummaryAuth
GET/v1/admin/api-keysList API keysRequired
POST/v1/admin/api-keysCreate a new API keyRequired
DELETE/v1/admin/api-keys/{keyId}Revoke an API keyRequired

Credit and billing

MethodPathSummaryAuth
GET/v1/admin/credit-packsList credit packsRequired
GET/v1/admin/credit-packs/{packId}/checkout-urlGet credit pack checkout URLRequired
GET/v1/admin/creditsGet credit balanceRequired
GET/v1/admin/credits/transactionsGet credit transaction historyRequired

Subscription and payment management

MethodPathSummaryAuth
GET/v1/admin/plansList available subscription plansRequired
GET/v1/admin/subscriptionGet current subscriptionRequired
DELETE/v1/admin/subscriptionCancel subscription (graceful)Required
DELETE/v1/admin/subscription/immediateCancel subscription immediatelyRequired
GET/v1/admin/invoicesList invoicesRequired
GET/v1/admin/invoices/{invoiceId}Get invoice detailsRequired
GET/v1/admin/subscription/checkout-urlGet checkout URLRequired

Customer management

MethodPathSummaryAuth
POST/v1/admin/customersCreate a customerRequired
GET/v1/admin/customers/{customerId}Get a customerRequired

Health check

MethodPathSummaryAuth
GET/healthHealth checkNone

On this page