ReferenceAPI Endpoints
Complete reference of all Incidion REST API endpoints.
This is the list of REST API endpoints under /api/v1/. For authentication, errors and pagination, see REST API.
All endpoints need a JWT access token unless they are marked no auth. Members of an organization who lack the role get 403; anyone else gets 404.
Authentication
| Method |
Path |
Description |
| POST |
/auth/register/ |
Register a new account (no auth) |
| POST |
/auth/login/ |
Sign in; tokens, or a two-factor challenge (no auth) |
| POST |
/auth/mfa/verify/ |
Finish a two-factor sign-in: {mfa_token, code} or {mfa_token, recovery_code} (no auth) |
| POST |
/auth/refresh/ |
New access and refresh token (no auth) |
| POST |
/auth/logout/ |
Sign out this session |
| POST |
/auth/verify-email/ |
Confirm the email address (no auth) |
| POST |
/auth/forgot-password/ |
Email a reset code (no auth) |
| POST |
/auth/reset-password/ |
Set a new password with the code (no auth) |
Your account
| Method |
Path |
Description |
| GET, PUT, PATCH |
/me/ |
Your profile (name, phone, time zone) |
| DELETE |
/me/ |
Delete your account: {password} plus X-Step-Up-Token (also POST /me/delete-account/) |
| POST |
/me/change-password/ |
Change the password; signs out your other devices |
| POST |
/me/resend-verification/ |
Send the verification email again |
| POST |
/me/step-up/ |
{password} or {code}: a step-up token for sensitive actions (5 minutes) |
| GET |
/me/mfa/ |
Two-factor status and recovery codes left |
| POST |
/me/mfa/totp/setup/ |
{password}: start authenticator setup; returns secret, otpauth_uri, issuer, account_name, digits, period |
| POST |
/me/mfa/totp/confirm/ |
{code}: turn two-factor on; returns 10 recovery codes once |
| POST |
/me/mfa/disable/ |
{password, code}: turn two-factor off |
| POST |
/me/mfa/recovery-codes/regenerate/ |
{code}: 10 new recovery codes |
| GET |
/me/sessions/ |
Signed-in devices |
| DELETE |
/me/sessions/{id}/ |
Sign out one device |
| POST |
/me/sessions/revoke-others/ |
Sign out every other device |
| POST |
/me/phone/verify/start/ |
Text a code to your phone number |
| POST |
/me/phone/verify/confirm/ |
Confirm it (SMS and voice alerts reach verified numbers only) |
| POST |
/me/export/ |
Email a download link to your data |
| GET |
/me/export/{token}/ |
Download the export |
| GET |
/me/oncall/ |
Your current and next on-call shifts |
| GET, POST, DELETE |
/me/oncall/calendar/ |
Your personal calendar feed: its url, a new url, or turn it off |
Organizations
| Method |
Path |
Description |
| GET, POST |
/organizations/ |
List or create organizations |
| GET, PUT, PATCH |
/organizations/{id}/ |
Read or update (owners and admins) |
| DELETE |
/organizations/{id}/ |
Delete (owners, with X-Step-Up-Token) |
| POST |
/organizations/{id}/transfer-ownership/ |
{member_id}: make a member owner (owners, with step-up) |
| GET, POST |
/organizations/{id}/environments/ |
Environments |
| GET, PUT, PATCH, DELETE |
/organizations/{id}/environments/{env_id}/ |
One environment |
| GET |
/organizations/{id}/members/ |
Members |
| GET, PATCH, DELETE |
/organizations/{id}/members/{member_id}/ |
Change a role (with step-up) or remove a member |
| DELETE |
/organizations/{id}/members/me/ |
Leave the organization |
| GET, POST |
/organizations/{id}/invitations/ |
Invitations (members join by invitation) |
| GET, DELETE |
/organizations/{id}/invitations/{inv_id}/ |
One invitation |
| POST |
/organizations/{id}/invitations/{inv_id}/resend/ |
Send it again |
| GET |
/invitations/me/ |
Invitations to your email address |
| GET, POST |
/invitations/{token}/ |
Look at or accept an invitation |
Projects
| Method |
Path |
Description |
| GET, POST |
/organizations/{org_id}/projects/ |
List or create projects |
| GET, PUT, PATCH, DELETE |
/organizations/{org_id}/projects/{id}/ |
One project; default_assignee is set here (owners and admins) |
| GET, POST |
/projects/{id}/api-keys/ |
API keys for log ingestion |
| GET, PATCH, DELETE |
/projects/{id}/api-keys/{key_id}/ |
One API key |
| POST |
/projects/{id}/api-keys/{key_id}/regenerate/ |
New key values (with step-up) |
| GET |
/projects/{id}/activities/ |
Activity log (the project’s entries and the organization-wide team entries, organization_wide: true) |
| GET |
/projects/{id}/activities/{activity_id}/ |
One entry |
Monitors
| Method |
Path |
Description |
| GET, POST |
/projects/{id}/monitors/ |
List or create monitors |
| GET, PUT, PATCH, DELETE |
/projects/{id}/monitors/{monitor_id}/ |
One monitor |
| GET |
/projects/{id}/monitors/daily/ |
Daily uptime of every monitor of the project (?period=7d,30d,90d) |
| GET |
/projects/{id}/monitors/{monitor_id}/checks/ |
Check history (?period=24h,7d,30d,90d,raw, limit for raw) |
| POST |
/projects/{id}/monitors/{monitor_id}/check-now/ |
Run a check now |
| POST |
/projects/{id}/monitors/{monitor_id}/pause/ |
Pause |
| POST |
/projects/{id}/monitors/{monitor_id}/resume/ |
Resume |
| POST |
/projects/{id}/monitors/{monitor_id}/regenerate-heartbeat-token/ |
New heartbeat url |
Heartbeats
| Method |
Path |
Description |
| GET, HEAD, POST |
/heartbeat/{token}/ |
Ping a heartbeat monitor (no auth: the token is the secret) |
| GET, HEAD, POST |
/heartbeat/{token}/start/ |
The job started |
| GET, HEAD, POST |
/heartbeat/{token}/fail/ |
The job failed |
| GET, HEAD, POST |
/heartbeat/{monitor_id}/ |
Older url: needs a pk_ or sk_ key of the project in X-API-Key |
Incidents and paging
| Method |
Path |
Description |
| GET, POST |
/projects/{id}/incidents/ |
List or open incidents |
| GET, PUT, PATCH, DELETE |
/projects/{id}/incidents/{incident_id}/ |
One incident (status changes only through the actions below; only resolved incidents can be deleted) |
| POST |
/projects/{id}/incidents/{incident_id}/acknowledge/ |
Acknowledge (stops the paging) |
| POST |
/projects/{id}/incidents/{incident_id}/unacknowledge/ |
Hand it back; paging restarts from level 1 |
| POST |
/projects/{id}/incidents/{incident_id}/resolve/ |
Resolve |
| POST |
/projects/{id}/incidents/{incident_id}/updates/ |
Add a timeline update; is_public ones appear on status pages |
| GET |
/projects/{id}/incidents/{incident_id}/context/ |
What changed before it started (deployments, logs, checks) |
| GET |
/projects/{id}/incidents/{incident_id}/paging/ |
Who was paged and when |
| POST |
/projects/{id}/incidents/{incident_id}/paging/snooze/ |
Snooze your pages |
| POST |
/projects/{id}/incidents/{incident_id}/paging/decline/ |
Decline; escalates to the next level |
| GET, POST |
/projects/{id}/escalation-policies/ |
Escalation policies |
| GET |
/projects/{id}/escalation-policies/effective/ |
Who would be paged now |
| GET, PUT, PATCH, DELETE |
/projects/{id}/escalation-policies/{policy_id}/ |
One policy |
| POST |
/push-actions/ |
Acknowledge, resolve, snooze or decline from a page notification (signed action token, no JWT) |
On-call (Business plan)
| Method |
Path |
Description |
| GET |
/organizations/{id}/oncall/now/ |
Who is on call now, per schedule |
| GET, POST |
/organizations/{id}/oncall/schedules/ |
Schedules |
| GET, PUT, PATCH, DELETE |
/organizations/{id}/oncall/schedules/{schedule_id}/ |
One schedule with its rotations |
| GET |
/organizations/{id}/oncall/schedules/{schedule_id}/shifts/ |
Upcoming shifts |
| POST |
/organizations/{id}/oncall/schedules/{schedule_id}/take/ |
Take the pager |
| GET, POST |
/organizations/{id}/oncall/schedules/{schedule_id}/handoff/ |
Handoff notes |
| GET, POST |
/organizations/{id}/oncall/schedules/{schedule_id}/overrides/ |
Overrides |
| GET, PATCH, DELETE |
/organizations/{id}/oncall/schedules/{schedule_id}/overrides/{override_id}/ |
One override |
| GET |
/oncall/calendar/{token}.ics |
Calendar feed (no auth: the token is the secret) |
Alert rules
| Method |
Path |
Description |
| GET, POST |
/projects/{id}/alert-rules/ |
List or create rules |
| GET, PUT, PATCH, DELETE |
/projects/{id}/alert-rules/{rule_id}/ |
One rule (provider keys and webhook urls are shown masked) |
| POST |
/projects/{id}/alert-rules/{rule_id}/test/ |
Send a test alert on every channel |
| GET |
/projects/{id}/alert-rules/{rule_id}/triggers/ |
Triggers of this rule |
| GET |
/projects/{id}/alert-rules/condition-types/ |
Conditions and their fields |
| GET |
/projects/{id}/alert-rules/channel-types/ |
Channels, their fields and whether the plan includes them |
| GET |
/projects/{id}/alert-triggers/ |
All triggers |
| GET |
/projects/{id}/alert-triggers/{trigger_id}/ |
One trigger with its delivery receipts |
| POST |
/projects/{id}/alert-triggers/{trigger_id}/acknowledge/ |
Acknowledge |
| POST |
/projects/{id}/alert-triggers/{trigger_id}/resolve/ |
Resolve |
Logs and metrics
| Method |
Path |
Description |
| GET |
/projects/{id}/logs/ |
Logs (error_group filters to one group) |
| GET |
/projects/{id}/logs/stats/ |
Statistics |
| GET |
/projects/{id}/logs/search/ |
Search |
| GET |
/projects/{id}/logs/services/ |
Services |
| GET |
/projects/{id}/logs/export/ |
Export |
| GET |
/projects/{id}/logs/{log_id}/ |
One log line |
| GET, POST |
/projects/{id}/logs/bookmarks/ |
Bookmarks |
| GET, PATCH, DELETE |
/projects/{id}/logs/bookmarks/{bookmark_id}/ |
One bookmark |
| GET, POST |
/projects/{id}/logs/saved-searches/ |
Saved searches |
| GET, PATCH, DELETE |
/projects/{id}/logs/saved-searches/{search_id}/ |
One saved search |
| POST |
/projects/{id}/logs/saved-searches/{search_id}/use/ |
Run it |
| GET |
/logs/, /logs/stats/, /logs/search/, /logs/services/, /logs/filters/ |
Across all your projects |
| GET |
/projects/{id}/error-groups/, /projects/{id}/error-groups/{group_id}/ |
Error groups, one group |
| POST |
/projects/{id}/error-groups/{group_id}/resolve/, ignore/, reopen/, merge/, unmerge/ |
Change a group |
| GET, PATCH |
/projects/{id}/error-grouping/ |
Grouping settings; POST .../default-rule/ creates the New errors rule |
| GET |
/projects/{id}/metrics/, /metrics/latest/, /metrics/hosts/ |
Server metrics |
Logs are sent to the ingest service, not to this API: see Send logs.
Deployments and maintenance
| Method |
Path |
Description |
| GET |
/projects/{id}/deployments/ |
Deployments |
| GET |
/projects/{id}/deployments/stats/ |
Statistics |
| GET |
/projects/{id}/deployments/{deployment_id}/ |
One deployment |
| POST |
/projects/{id}/deployments/webhook/ |
Report a deployment from CI (secret sk_ key) |
| PATCH |
/projects/{id}/deployments/webhook/{deployment_id}/ |
Update it from CI |
| GET, POST |
/projects/{id}/maintenance/ |
Maintenance windows |
| GET, PATCH, DELETE |
/projects/{id}/maintenance/{window_id}/ |
One window |
| POST |
/webhooks/pipeline/{monitor_id}/github/ |
GitHub Actions events for pipeline monitors (signed) |
| POST |
/webhooks/pipeline/{monitor_id}/gitlab/ |
GitLab CI pipeline events (X-Gitlab-Token) |
| POST |
/webhooks/pipeline/{monitor_id}/bitbucket/ |
Bitbucket build status events (signed) |
| GET |
/webhooks/pipeline/{monitor_id}/info/ |
Webhook URL, secret and setup steps for the monitor’s provider |
Webhooks
| Method |
Path |
Description |
| GET, POST |
/organizations/{id}/webhooks/ |
Webhook endpoints |
| GET |
/organizations/{id}/webhooks/events/ |
Event types |
| GET, PUT, PATCH, DELETE |
/organizations/{id}/webhooks/{webhook_id}/ |
One endpoint |
| POST |
/organizations/{id}/webhooks/{webhook_id}/test/ |
Send a test event |
| POST |
/organizations/{id}/webhooks/{webhook_id}/regenerate-secret/ |
New signing secret |
| GET |
/organizations/{id}/webhooks/{webhook_id}/deliveries/ |
Delivery history |
| GET |
/organizations/{id}/webhooks/{webhook_id}/deliveries/{delivery_id}/ |
One delivery |
| POST |
/organizations/{id}/webhooks/{webhook_id}/deliveries/{delivery_id}/redeliver/ |
Send a delivery again |
| GET |
/organizations/{id}/webhook-deliveries/ |
All deliveries |
| POST |
/organizations/{id}/webhook-deliveries/{delivery_id}/retry/ |
Retry a delivery |
Notifications and devices
| Method |
Path |
Description |
| GET |
/notifications/ |
Notification history (inbox) |
| GET |
/notifications/counts/, /notifications/unread_count/, /notifications/grouped/ |
Counts and grouped view |
| POST |
/notifications/mark_read/, /notifications/mark_all_read/, /notifications/archive/, /notifications/{id}/toggle_read/ |
Mark read or archive |
| DELETE |
/notifications/clear_all/ |
Clear the inbox |
| GET, PATCH |
/me/notifications/ |
Notification preferences |
| POST |
/me/notifications/test/ |
Send yourself a test push |
| GET, POST |
/notifications/devices/ |
Your devices for pages (one per phone) |
| DELETE |
/notifications/devices/{device_id}/ |
Remove a device |
| POST |
/notifications/devices/{device_id}/test/ |
Send a test page |
| GET |
/notifications/readiness/ |
Whether pages can reach you |
| POST |
/notifications/live-activities/ |
Register an iOS Live Activity |
| DELETE |
/notifications/live-activities/{activity_id}/ |
End it |
Status pages
| Method |
Path |
Description |
| GET, POST |
/organizations/{id}/status-pages/ |
Status pages of the organization |
| GET |
/organizations/{id}/status-pages/limits/ |
How many the plan allows |
| GET, PUT, PATCH, DELETE |
/organizations/{id}/status-pages/{page_id}/ |
One page (owners and admins write) |
| GET |
/organizations/{id}/status-pages/{page_id}/preview/ |
The page as the public would see it, also as a draft |
| GET, POST |
/organizations/{id}/status-pages/{page_id}/components/ |
Components (monitors under a public name) |
| POST |
/organizations/{id}/status-pages/{page_id}/components/reorder/ |
Reorder components |
| GET, PUT, PATCH, DELETE |
/organizations/{id}/status-pages/{page_id}/components/{component_id}/ |
One component |
| GET |
/status/ |
Incidion’s own status as JSON (no auth) |
| GET |
/status/{slug}/ |
A published page as JSON (no auth) |
| POST |
/status/{slug}/subscribe/ |
Subscribe by email; a confirmation email follows (no auth) |
The pages themselves are at https://incidion.dev/s/{slug}/. See Status page.
Billing
| Method |
Path |
Description |
| GET |
/organizations/{id}/billing/ |
Plan, trial, subscription and usage (members) |
| POST |
/organizations/{id}/billing/checkout/ |
Stripe Checkout url (owners) |
| POST |
/organizations/{id}/billing/portal/ |
Stripe customer portal url (owners) |
| POST |
/organizations/{id}/billing/web-link/ |
One-time link that opens the web billing page signed in (owners) |
| GET |
/billing/continue/{token}/ |
Where that link leads (no auth: the token is single use) |
| POST |
/billing/stripe/webhook/ |
Stripe events (no auth: signed by Stripe; /billing/webhook/ is an older alias) |
Plans are bought and managed on the web at /billing/, never in the app. See Plans and limits.
Other
| Method |
Path |
Description |
| GET |
/external-services/ |
Catalog of external dependencies |
| GET |
/external-services/{id}/ |
One service |
| GET |
/system/status/ |
Whether checks are delayed |
Outside /api/v1/: GET /health/ (liveness) and GET /health/deep/ (readiness: database, cache, Celery worker and beat, check lag), and the OpenAPI schema at /api/schema/ with Swagger UI at /api/docs/ and ReDoc at /api/redoc/.
Ingest service
Logs and metrics go to https://ingest.incidion.dev with a public pk_ key (X-API-Key or Authorization: Bearer):
| Method |
Path |
Description |
| POST |
/v1/logs |
A batch of logs: {"logs": [...], "environment_id"?} |
| POST |
/v1/logs/single |
One log object (?environment_id=) |
| POST |
/v1/otlp/v1/logs (alias /otlp/v1/logs) |
OpenTelemetry logs, protobuf or JSON |
| POST |
/v1/metrics |
Server metrics of one host |
| POST |
/v1/metrics/single |
One metric as query parameters |
| GET |
/v1/projects/{project_id}/stats |
Lines and metric points received for the key’s project |
| GET |
/health |
200 when healthy, 503 when a dependency fails (no auth) |
See Send logs and OpenTelemetry.