Api tokens
API Tokens
API tokens allow programmatic access to the Uptimeify API. Tokens are prefixed with wsm_ and can be scoped to a specific customer or organization-wide.
There are two endpoint scopes:
- Organization tokens (
/api/organization/tokens) — admin-only, full org access - Customer tokens (
/api/customer/tokens) — scoped to accessible customers
Authentication
All examples assume a session cookie (not API tokens — API tokens cannot manage other API tokens):
BASE_URL="https://uptimeify.io"Endpoints
Update Escalation Config
Updates the escalation config. The :id parameter is the organization ID. If no config exists, one is upserted.
Create Customer Token
Creates a new API token scoped to a customer. Restricted users must specify customerId. The full token is returned only once — store it securely.