Stazus docs
Stazus docs

Introduction

Stazus documentationGet startedConcepts

Planned features

Feature availabilityStatus pages

Monitoring

MonitorsChecks and resultsLatency alertingMaintenance windows

Incident response

IncidentsNotificationsTeams and access

Developer API

Developer APIAuthenticationProjectsEndpointsAnalyticsIncidentsErrors and limitsMigrate from v1

Account and help

Account and security

Help

Support

Updates

Changelog
Changelog launchedDocumentation UpdatesDeveloper API v2Scope-aware maintenance windows
Developer API

Authentication

Create a developer token and select the correct scopes.

Send one developer token in the Authorization header:

Authorization: Bearer YOUR_TOKEN_SECRET

Stazus shows the secret once. You cannot recover it later. Revoke the token and create a new token if you lose it.

Scopes

ScopeAccess
monitoring:readRead projects, endpoints, checks, and alert state.
analytics:readRead team, project, and endpoint analytics.
incidents:readRead incidents and incident statuses.
incidents:writeCreate and modify incidents.
mcp:connectConnect an AI client through Stazus MCP. It does not grant HTTP API access.

incidents:write does not include incidents:read. Select both scopes if an integration must read and modify incidents.

Current permissions

Each token belongs to one user and one team. Stazus checks the user's current account and team membership on every request.

The API rejects a token when:

  • The token expired or was revoked.
  • The token owner is not active.
  • The token owner left the team or was removed.
  • The token does not contain the required scope.
  • A write request comes from a token owned by a viewer.

Changing a team member from editor to viewer immediately blocks that member's API writes.

Store tokens safely

  • Store tokens in a secret manager or protected environment variable.
  • Do not store tokens in source code.
  • Do not send tokens from browser code.
  • Give each integration a separate token.
  • Select the minimum required scopes.
  • Set an expiry when the integration has a known lifetime.

Last updated on

Developer API

Read monitoring data and manage incidents from your own systems.

Projects

List projects and inspect the endpoints in one project.

On this page

ScopesCurrent permissionsStore tokens safely