The business API lets you manage your Scrubbe workspace: onboarding new team members via invite links, configuring workspace settings, and setting up the Incident Management System (IMS) with notification preferences, SLA rules, and escalation policies. Business endpoints live underDocumentation Index
Fetch the complete documentation index at: https://docs.scrubbe.com/llms.txt
Use this file to discover all available pages before exploring further.
/api/v1/business; IMS configuration endpoints live under /api/v1/ims.
Business endpoints
POST /business/decode-invite
Public. Decode an invite token to retrieve metadata (invitee email, assigned role, workspace name) before the user accepts. Use this to pre-fill a registration or acceptance form.The invite token from the invitation email or link.
POST /business/accept-invite
Public. Accept a workspace invitation. If the invitee already has a Scrubbe account, this links the invite to their existing account; otherwise, a new account is created.The invite token from the invitation email.
Required if creating a new account during acceptance.
Required for new account creation.
Required for new account creation.
PUT /business/setup
Protected. Complete initial workspace configuration after registration. RequiresAuthorization: Bearer <accessToken>.
The display name for the workspace.
The industry or sector for the workspace.
Team size range. Example:
"11-50".IANA timezone string for the workspace. Example:
"America/New_York".GET /business/get_members
Protected. Retrieve all members of the authenticated user’s workspace.POST /business/send-invite
Protected. Send a workspace invitation to a new team member. The invitee receives an email with a link containing the invite token.Email address of the person to invite.
Role to assign. One of:
ADMIN, ENGINEER, VIEWER.Features the invitee will have access to. Example:
["incidents", "postmortems"].Seniority or team level. Example:
"Senior".Invitations expire after 7 days. You can re-send an invite to the same email address after the previous one expires or if it was never accepted.
IMS configuration endpoints
The Incident Management System (IMS) controls notification routing, SLA enforcement, escalation behaviour, and timezone settings for your workspace. All IMS endpoints requireAuthorization: Bearer <accessToken> and live under /api/v1/ims.
POST /ims/setup
Perform the initial IMS configuration for the workspace. Called once during onboarding.Email address that receives incident alert notifications.
Slack channel name or ID for incident notifications. Example:
"#incidents".Whether SLA tracking and breach alerts are active.
Automatically escalate incidents that breach SLA thresholds.
Send notifications when a new incident is created.
Send notifications when an incident is resolved.
IANA timezone string for SLA calculations and scheduled reports. Example:
"Europe/London".GET /ims/config
Retrieve the current IMS configuration for the workspace.PUT /ims/config
Update one or more IMS configuration fields. Only the fields you include are modified.Updated alert email address.
Updated Slack channel.
Enable or disable SLA tracking.
Enable or disable automatic escalation.
Toggle creation notifications.
Toggle resolution notifications.
Updated IANA timezone string.