Summary and recommendation
Better Uptime exposes a REST API at https://uptime.betterstack.com/api/v2 authenticated exclusively via static Bearer tokens - there is no OAuth 2.0 flow. Tokens are scoped to a single team; managing multiple teams requires a separate token per team, which complicates multi-tenant automation.
Core user lifecycle operations are available: GET, POST, PATCH, and DELETE on /team-members, plus nested endpoints for on-call calendar membership. Pagination is cursor-based using a page parameter with a hard page size of 50; follow the next link in the response rather than manually incrementing.
Rate limit thresholds are not publicly documented. The API returns HTTP 429 with a Retry-After header when throttled - build retry logic around that header rather than assuming a fixed window.
API quick reference
| Has user API | Yes |
| Auth method | Bearer token (API key in Authorization header) |
| Base URL | Official docs |
| SCIM available | Yes |
| SCIM plan required | Enterprise |
Authentication
Auth method: Bearer token (API key in Authorization header)
Setup steps
- Log in to Better Uptime (Better Stack) dashboard.
- Navigate to Settings > API.
- Generate a new API token.
- Include the token in all requests as: Authorization: Bearer
User object / data model
| Field | Type | Description | On create | On update | Notes |
|---|---|---|---|---|---|
| id | string | Unique identifier for the team member. | auto-generated | immutable | Used to reference the member in other API calls. |
| string | Email address of the team member. | required | optional | Must be unique within the team. | |
| full_name | string | Full display name of the team member. | optional | optional | |
| role | string | Role of the member within the team (e.g., admin, member). | optional | optional | Accepted values depend on plan. |
| created_at | datetime | ISO 8601 timestamp of when the member was created. | auto-generated | immutable | |
| updated_at | datetime | ISO 8601 timestamp of the last update. | auto-generated | auto-updated |
Core endpoints
List team members
- Method: GET
- URL:
https://uptime.betterstack.com/api/v2/team-members - Watch out for: Returns only members of the team associated with the API token. Pagination uses a 'page' cursor parameter.
Request example
GET /api/v2/team-members
Authorization: Bearer <token>
Response example
{
"data": [
{"id":"1","type":"team_member","attributes":{"email":"user@example.com","full_name":"Jane Doe","role":"admin"}}
],
"pagination":{"next":null}
}
Get a team member
- Method: GET
- URL:
https://uptime.betterstack.com/api/v2/team-members/{id} - Watch out for: Returns 404 if the member ID does not belong to the authenticated team.
Request example
GET /api/v2/team-members/42
Authorization: Bearer <token>
Response example
{
"data": {
"id":"42","type":"team_member",
"attributes":{"email":"user@example.com","full_name":"Jane Doe","role":"member"}
}
}
Invite / create team member
- Method: POST
- URL:
https://uptime.betterstack.com/api/v2/team-members - Watch out for: An invitation email is sent to the new member. The member is not active until they accept the invite.
Request example
POST /api/v2/team-members
Authorization: Bearer <token>
Content-Type: application/json
{"email":"newuser@example.com","role":"member"}
Response example
{
"data": {
"id":"99","type":"team_member",
"attributes":{"email":"newuser@example.com","role":"member"}
}
}
Update team member
- Method: PATCH
- URL:
https://uptime.betterstack.com/api/v2/team-members/{id} - Watch out for: Only certain fields (e.g., role) may be updatable via the REST API; use SCIM for full attribute sync.
Request example
PATCH /api/v2/team-members/42
Authorization: Bearer <token>
Content-Type: application/json
{"role":"admin"}
Response example
{
"data": {
"id":"42","type":"team_member",
"attributes":{"email":"user@example.com","role":"admin"}
}
}
Delete / remove team member
- Method: DELETE
- URL:
https://uptime.betterstack.com/api/v2/team-members/{id} - Watch out for: Permanently removes the member from the team. Cannot be undone via API.
Request example
DELETE /api/v2/team-members/42
Authorization: Bearer <token>
Response example
HTTP 204 No Content
List on-call calendar members
- Method: GET
- URL:
https://uptime.betterstack.com/api/v2/on-call-calendars/{calendar_id}/on-call-calendar-members - Watch out for: Calendar ID must be known in advance; retrieve it from the on-call calendars endpoint.
Request example
GET /api/v2/on-call-calendars/10/on-call-calendar-members
Authorization: Bearer <token>
Response example
{
"data": [
{"id":"5","type":"on_call_calendar_member","attributes":{"team_member_id":"42","position":1}}
]
}
Add on-call calendar member
- Method: POST
- URL:
https://uptime.betterstack.com/api/v2/on-call-calendars/{calendar_id}/on-call-calendar-members - Watch out for: The team member must already exist in the team before being added to a calendar.
Request example
POST /api/v2/on-call-calendars/10/on-call-calendar-members
Authorization: Bearer <token>
Content-Type: application/json
{"team_member_id":"42","position":2}
Response example
{
"data": {
"id":"6","type":"on_call_calendar_member",
"attributes":{"team_member_id":"42","position":2}
}
}
Remove on-call calendar member
- Method: DELETE
- URL:
https://uptime.betterstack.com/api/v2/on-call-calendars/{calendar_id}/on-call-calendar-members/{id} - Watch out for: Removes the member from the rotation only; does not delete the team member account.
Request example
DELETE /api/v2/on-call-calendars/10/on-call-calendar-members/6
Authorization: Bearer <token>
Response example
HTTP 204 No Content
Rate limits, pagination, and events
- Rate limits: Better Uptime enforces rate limits on API requests. Exact per-plan limits are not publicly documented in detail.
- Rate-limit headers: Yes
- Retry-After header: Yes
- Rate-limit notes: When rate limited, the API returns HTTP 429. A Retry-After header is included indicating when to retry.
- Pagination method: cursor
- Default page size: 50
- Max page size: 50
- Pagination pointer: page
| Plan | Limit | Concurrent |
|---|---|---|
| All plans | Not publicly specified; requests are throttled and a 429 status is returned when exceeded. | 0 |
- Webhooks available: Yes
- Webhook notes: Better Uptime supports outbound webhooks for monitoring events (incidents, status changes). These are not user-management webhooks; they are triggered by monitor/incident state changes.
- Alternative event strategy: For user provisioning/deprovisioning events, use SCIM 2.0 (Enterprise plan) with Okta or Azure AD/Entra ID.
- Webhook events: incident.started, incident.acknowledged, incident.resolved, monitor.up, monitor.down
SCIM API status
SCIM available: Yes
SCIM version: 2.0
Plan required: Enterprise
Supported operations: Create user (POST /Users), Read user (GET /Users/{id}), List users (GET /Users), Update user (PUT /Users/{id}), Deactivate/delete user (DELETE /Users/{id}), List groups (GET /Groups), Create group (POST /Groups), Update group (PUT /Groups/{id}), Delete group (DELETE /Groups/{id})
Limitations:
- Requires SSO (SAML) to be configured and active before SCIM can be enabled.
- Only supported with Okta and Azure AD/Entra ID as identity providers.
- Google Workspace and OneLogin are not officially supported.
- Enterprise plan required; not available on Free, Starter, or Pro plans.
- SCIM token is separate from the REST API token and is generated in the SSO/SCIM settings page.
Common scenarios
The Stitchflow integration connects to Better Uptime via an MCP server with ~100 deep IT/identity integrations, enabling automated user lifecycle workflows that the native REST API and SCIM layer support but do not orchestrate on their own.
Three primary automation scenarios emerge from the API surface:
Invite and activate into on-call rotation: POST /team-members triggers an invitation email; the member must accept before they appear as active. Only after acceptance can POST /on-call-calendars/{id}/on-call-calendar-members succeed. The API does not surface the pending-acceptance state, so polling or webhook-adjacent logic is needed.
Bulk provisioning via SCIM (Enterprise only): SCIM 2.0 is available at https://uptime.betterstack.com/api/scim/v2 and supports full user and group lifecycle. SSO (SAML) must be active before the SCIM token can be generated. Only Okta and Azure AD/Entra ID are officially supported IdPs - Google Workspace and OneLogin are not. The SCIM token is separate from the REST API token.
Offboarding a departing member: Calendar assignments must be explicitly removed via DELETE /on-call-calendars/{id}/on-call-calendar-members/{id} before or alongside DELETE /team-members/{id}. Deleting the team member record does not guarantee clean removal from all calendar rotations.
Invite a new team member and add to on-call rotation
- POST /api/v2/team-members with {email, role} to invite the user.
- Wait for the user to accept the invitation (member becomes active).
- GET /api/v2/on-call-calendars to retrieve the target calendar ID.
- POST /api/v2/on-call-calendars/{calendar_id}/on-call-calendar-members with {team_member_id, position} to add them to the rotation.
Watch out for: The member must accept the invitation email before they can be added to on-call calendars; the API does not enforce this check but the member will not receive alerts until active.
Bulk user provisioning via SCIM (Enterprise)
- Ensure SSO (SAML) is configured and active in Better Uptime Settings > SSO.
- Navigate to Settings > SCIM and generate a SCIM Bearer token.
- Configure your IdP (Okta or Azure AD/Entra ID) with the SCIM base URL: https://uptime.betterstack.com/api/scim/v2 and the generated token.
- Assign users/groups in the IdP; the IdP will POST /Users to provision accounts automatically.
- Deprovisioning is handled by the IdP sending DELETE /Users/{id} when a user is unassigned.
Watch out for: SSO must remain active; disabling SSO while SCIM is in use will break provisioning. Only Okta and Azure AD/Entra ID are officially supported IdPs.
Remove a departing team member
- GET /api/v2/team-members to find the member's ID by email.
- GET /api/v2/on-call-calendars and list calendar members to identify any on-call assignments.
- DELETE /api/v2/on-call-calendars/{calendar_id}/on-call-calendar-members/{id} for each calendar assignment.
- DELETE /api/v2/team-members/{id} to remove the member from the team.
Watch out for: Deleting a team member does not automatically remove them from on-call calendars in all cases; remove calendar assignments first to avoid orphaned references.
Why building this yourself is a trap
The static Bearer token model is the most significant operational constraint for teams building durable integrations. Tokens do not rotate automatically, have no documented expiry mechanism, and are scoped per-team - meaning token sprawl scales linearly with the number of teams under management.
SCIM is the correct path for lifecycle automation at scale, but it sits behind two sequential prerequisites: an active Enterprise plan and a fully configured SSO (SAML) integration. Disabling SSO after SCIM is live breaks provisioning silently from the IdP perspective. Teams that downgrade from Enterprise lose SCIM access without a graceful fallback.
The REST API PATCH /team-members/{id} endpoint has limited field coverage - role updates are supported, but full attribute synchronization requires SCIM. Relying on the REST API alone for attribute management creates drift between the IdP source of truth and the Better Uptime record.
The divergent base URLs for REST (/api/v2) and SCIM (/api/scim/v2) on the same host are a common misconfiguration point during initial setup.
Automate Better Uptime workflows without one-off scripts
Stitchflow builds and maintains end-to-end IT automation across your SaaS stack, including apps without APIs. Built for exactly how your company works, with human approvals where they matter.