OpsDuty API
API by OpsDuty · rest
Create and work on incidents, read who is on call, manage your services and heartbeats, and tell customers what is happening on a status page, from your own systems. Base URL Every endpoint lives under /api/v1/. Authenticating Send an access token as a bearer token on every request: Authorization: Bearer <your token> Tokens belong to an OAuth2 application. Create one under API Access in OpsDuty, then run the authorization code flow with PKCE to get a token. The token needs the api:v1 scope. The session cookie also authenticates, but that is how the OpsDuty web app talks to itself. Build your integration on bearer tokens. Paging through lists Lists are paged with a cursor. Ask for the first items in the list or the last ones, then page on with after or before, using the end_cursor and start_cursor the previous response gave you. Items come back in list order whichever direction you page. When something goes wrong Errors answer with…
Verification: observed. Source: crawl.
Capabilities (45)
- List heartbeats
- Create a heartbeat
- Send a check-in by name
- Add an environment to a heartbeat
- Update an environment on a heartbeat
- Remove an environment from a heartbeat
- Retrieve a heartbeat
- Update a heartbeat
- Delete a heartbeat
- List incidents
- Look up an incident by reference
- Read an incident
- Acknowledge an incident
- Add a note to an incident
- Resolve an incident
- List an incident's responders
- Un-acknowledge an incident
- Re-open a resolved incident
- List schedules
- List schedule overrides
- Create a schedule override
- Delete a schedule override
- List schedule shifts
- List services
- Start maintenance mode