Scrubbe’s REST API lets you manage incidents programmatically from registration through resolution. This guide walks you through creating a business account, logging in to get an access token, and submitting your first incident ticket — all with real request and response examples.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.
All requests go to
https://your-api-domain.com/api/v1. Replace your-api-domain.com with your Scrubbe instance URL. All request and response bodies use Content-Type: application/json.Register a business account
Send a After registration, check your inbox and verify your email using the OTP sent to you before proceeding. You can verify with
POST request to /api/v1/auth/business/register with your organization details. This creates a business account and sends a verification email to the address you provide.POST /api/v1/auth/verify_email using the OTP code from the email.Log in and get your access token
Send a Response:Copy the
POST request to /api/v1/auth/login with your credentials. The response includes an accessToken and a refreshToken.accessToken value — you’ll use it in the next steps. Access tokens expire after 15 minutes. See Authentication for how to refresh them.Send your first API request
Use the A
accessToken from the previous step in the Authorization header as a Bearer token. Here’s a quick check using GET /api/v1/auth/me to confirm your token works:200 OK response with your user profile confirms your token is valid.Next steps
Authentication
Learn how to refresh tokens, create API keys, and understand rate limits
API Reference
Explore all incident management endpoints