# VictorOps API

> This API allows you to interact with the VictorOps platform in various ways. Your account may be limited to a total number of API calls per month. Also, some of these API calls have rate limits. NOTE: In this documentation when creating a sample curl request (clicking the TRY IT OUT! button), in some API viewing interfaces, the '@' in an email address may be encoded. Please note that the REST endpoints will not process the encoded version. Make sure that the encoded character '%40' is changed to its unencoded form before submitting the curl request.

VictorOps is a development API from victorops.com. It needs no API key. It is served over HTTPS. Its OpenAPI description documents 72 endpoints.

## At a glance

- Category: [Development](https://www.openparable.com/apis/category/development)
- Provider: victorops.com
- Authentication: None (no API key)
- HTTPS: Yes
- CORS: Not stated
- Base URL: https://api.victorops.com/
- Documentation: https://victorops.com/
- OpenAPI description: https://api.apis.guru/v2/specs/victorops.com/0.0.3/swagger.json
- Version: 0.0.3
- Specification updated: 2019-07-22

## Example request

```bash
curl -X GET "https://api.victorops.com/api-public/v1/incidents" \
  -H "Accept: application/json"
```

## Endpoints

- `GET /api-public/v1/alerts/{uuid}` — Retrieve alert details.
- `GET /api-public/v1/incidents` — Get current incident information
- `POST /api-public/v1/incidents` — Create a new incident
- `PATCH /api-public/v1/incidents/ack` — Acknowledge an incident or list of incidents
- `PATCH /api-public/v1/incidents/byUser/ack` — Acknowledge all incidents for which a user was paged.
- `PATCH /api-public/v1/incidents/byUser/resolve` — Resolve all incidents for which a user was paged.
- `POST /api-public/v1/incidents/reroute` — Reroute one or more incidents to one or more new routable destinations.
- `PATCH /api-public/v1/incidents/resolve` — Resolve an incident or list of incidents
- `GET /api-public/v1/maintenancemode` — Get an organization's current maintenance mode state
- `POST /api-public/v1/maintenancemode/start` — Start maintenance mode for routing keys
- `PUT /api-public/v1/maintenancemode/{maintenancemodeid}/end` — End maintenance mode for routing keys
- `GET /api-public/v1/oncall/current` — Get an organization's on-call users
- `GET /api-public/v1/org/routing-keys` — List routing keys with associated teams
- `GET /api-public/v1/overrides` — List the scheduled overrides
- `POST /api-public/v1/overrides` — Creates a new scheduled override
- `GET /api-public/v1/overrides/{publicId}` — Get the specified scheduled override
- `DELETE /api-public/v1/overrides/{publicId}` — Deletes a scheduled override
- `GET /api-public/v1/overrides/{publicId}/assignments` — Get the specified scheduled override
- `GET /api-public/v1/overrides/{publicId}/assignments/{policySlug}` — Get the specified scheduled override assignment
- `PUT /api-public/v1/overrides/{publicId}/assignments/{policySlug}` — Update the scheduled override assignment
- `DELETE /api-public/v1/overrides/{publicId}/assignments/{policySlug}` — Delete the scheduled override assignment
- `GET /api-public/v1/policies` — Get escalation policy info
- `GET /api-public/v1/policies/types/contacts` — Get the available contact types
- `GET /api-public/v1/policies/types/notifications` — Get the available notification types
- `GET /api-public/v1/policies/types/timeouts` — Get the available timeout values
- `PATCH /api-public/v1/policies/{policy}/oncall/user` — Create an on-call override (take on-call)
- `GET /api-public/v1/profile/{username}/policies` — Get the user's paging policy
- `POST /api-public/v1/profile/{username}/policies` — Create a paging policy step
- `GET /api-public/v1/profile/{username}/policies/{step}` — Get a paging policy step
- `POST /api-public/v1/profile/{username}/policies/{step}` — Create a rule for a paging policy step
- `PUT /api-public/v1/profile/{username}/policies/{step}` — Update a paging policy step
- `GET /api-public/v1/profile/{username}/policies/{step}/{rule}` — Get a rule from a paging policy step
- `PUT /api-public/v1/profile/{username}/policies/{step}/{rule}` — Update a rule for a paging policy step
- `DELETE /api-public/v1/profile/{username}/policies/{step}/{rule}` — Delete a rule from a paging policy step
- `GET /api-public/v1/team` — List teams
- `POST /api-public/v1/team` — Add a team
- `GET /api-public/v1/team/{team}` — Retrieve information for a team
- `PUT /api-public/v1/team/{team}` — Update a team
- `DELETE /api-public/v1/team/{team}` — Remove a team
- `GET /api-public/v1/team/{team}/admins` — Retrieve a list of team admins for a team
- `GET /api-public/v1/team/{team}/members` — Retrieve a list of members for a team
- `POST /api-public/v1/team/{team}/members` — Add a team member
- `DELETE /api-public/v1/team/{team}/members/{user}` — Remove a team member
- `GET /api-public/v1/team/{team}/oncall/schedule` (deprecated) — Get a team's on-call schedule
- `PATCH /api-public/v1/team/{team}/oncall/user` (deprecated) — Create an on-call override (take on-call)
- `GET /api-public/v1/team/{team}/policies` — Retrieve a list of escalation policies for a team
- `GET /api-public/v1/user` — List users
- `POST /api-public/v1/user` — Add a user
- `GET /api-public/v1/user/{user}` — Retrieve information for a user
- `PUT /api-public/v1/user/{user}` — Update a user
- `DELETE /api-public/v1/user/{user}` — Remove a user
- `GET /api-public/v1/user/{user}/contact-methods` — Get a list of all contact methods for a user
- `GET /api-public/v1/user/{user}/contact-methods/devices` — Get a list of all contact devices for a user
- `GET /api-public/v1/user/{user}/contact-methods/devices/{contactId}` — Get the indicated contact device for a user
- `PUT /api-public/v1/user/{user}/contact-methods/devices/{contactId}` — Update a contact device for a user
- `DELETE /api-public/v1/user/{user}/contact-methods/devices/{contactId}` — Delete a contact device for a user
- `GET /api-public/v1/user/{user}/contact-methods/emails` — Get a list of all contact emails for a user
- `POST /api-public/v1/user/{user}/contact-methods/emails` — Create a contact emails for a user
- `GET /api-public/v1/user/{user}/contact-methods/emails/{contactId}` — Get the indicated contact email for a user
- `DELETE /api-public/v1/user/{user}/contact-methods/emails/{contactId}` — Delete a contact email for a user
- `GET /api-public/v1/user/{user}/contact-methods/phones` — Get a list of all contact phones for a user
- `POST /api-public/v1/user/{user}/contact-methods/phones` — Create a contact phones for a user
- `GET /api-public/v1/user/{user}/contact-methods/phones/{contactId}` — Get the indicated contact phone for a user
- `DELETE /api-public/v1/user/{user}/contact-methods/phones/{contactId}` — Delete a contact phone for a user
- `GET /api-public/v1/user/{user}/oncall/schedule` (deprecated) — Get a user's on-call schedule
- `GET /api-public/v1/user/{user}/policies` — Get a list of paging policies for a user
- `GET /api-public/v1/user/{user}/teams` — Retrieve the user's team membership
- `GET /api-public/v2/team/{team}/oncall/schedule` — Get a team's on-call schedule
- `GET /api-public/v2/user/{user}/oncall/schedule` — Get a user's on-call schedule
- `GET /api-reporting/v1/incidents` (deprecated) — Get/search incident history
- `GET /api-reporting/v1/team/{team}/oncall/log` — A list of shift changes for a team
- `GET /api-reporting/v2/incidents` — Get/search incident history

## Questions

### Does the VictorOps API need an API key?

No. The VictorOps API can be called without an API key or sign-up, which makes it handy for prototypes and front-end demos.

### Does the VictorOps API support HTTPS?

Yes, the VictorOps API is served over HTTPS.

### How many endpoints does the VictorOps API have?

Its OpenAPI description lists 72 endpoints in version 0.0.3. All of them are shown on this page.

### What are alternatives to the VictorOps API?

Other Development APIs include Cloudflare, Azure DevOps, IPify, App Store Connect API, StackExchange.

## Similar development APIs

- [Cloudflare](https://www.openparable.com/apis/cloudflare): Manage DNS, CDN, Workers and other services; documented with an official OpenAPI 3.0 spec
- [Azure DevOps](https://www.openparable.com/apis/azure-devops): The Azure DevOps basic components of a REST API request/response pair
- [IPify](https://www.openparable.com/apis/ipify): A simple IP Address API
- [App Store Connect API](https://www.openparable.com/apis/app-store-connect): The data structure that represents an app store connect api resource.
- [StackExchange](https://www.openparable.com/apis/stackexchange): Q&A forum for developers
- [IPinfo](https://www.openparable.com/apis/ipinfo): Another simple IP Address API
- [IBM Text to Speech](https://www.openparable.com/apis/ibm-text-to-speech): Convert text to speech
- [SiteIntel](https://www.openparable.com/apis/siteintel): Extract metadata, tech stack, emails, and screenshots from any URL
- [DigitalOcean Status](https://www.openparable.com/apis/digitalocean-status): Status of all DigitalOcean services
- [Netlify](https://www.openparable.com/apis/netlify): Netlify is a hosting service for the programmable web
- [Docker Hub](https://www.openparable.com/apis/docker-hub): Interact with Docker Hub
- [MineSkin API](https://www.openparable.com/apis/mineskin): Client implementations: Java: https://github.com/InventivetalentDev/MineskinClient NodeJS: https://github.com/InventivetalentDev/mineskin-client Examples: https://github.com/MineSkin/examples

Listed from: APIs.guru (CC0). Check the provider's terms before use.

---

Source: https://www.openparable.com/apis/victorops (OpenParable). Cite the canonical URL above.
