The Scrubbe REST API gives you programmatic access to incidents, postmortems, team management, integrations, and analytics. All requests are made over HTTPS to a versioned base URL, and all request and response bodies use JSON. This reference covers the conventions that apply across every endpoint.Documentation Index
Fetch the complete documentation index at: https://docs.scrubbe.com/llms.txt
Use this file to discover all available pages before exploring further.
Base URL
All API endpoints are relative to the following base URL:Authentication
Scrubbe supports two authentication methods. Use whichever fits your use case — both are accepted on all protected endpoints unless stated otherwise.Bearer token
Obtain a short-lived access token by callingPOST /auth/login. Include it in the Authorization header of every subsequent request.
API key
For server-to-server or ingestion use cases, generate a long-lived API key from the dashboard or via the API Keys endpoints, then pass it in theX-API-Key header.
The ingestion endpoints (
/api/v1/ingestion/*) accept only X-API-Key authentication. Bearer tokens are not valid on those routes.Content type
Every request with a body must include the following header:Response format
Success response
Paginated response
Error response
Rate limits
Rate limits are enforced per IP address and per authenticated user. When a limit is exceeded, the API returns429 Too Many Requests.
| Scope | Limit | Window |
|---|---|---|
| Global | 200 requests | 15 min |
| Auth | 10 requests | 15 min |
| Email OTP | 3 requests | 1 min |
| API Key | 100 requests | 1 min |
Versioning
The current API version isv1, reflected in every endpoint path. Breaking changes will be introduced under a new version prefix (e.g., /api/v2). Non-breaking additions such as new fields or optional parameters may be added to v1 without a version bump.
Further reading
Authentication
Login, register, token refresh, and profile management.
Error reference
HTTP status codes, error shapes, and remediation guidance.
API keys
Create, rotate, and revoke programmatic API keys.
Ingestion
Push events from external tools into Scrubbe.