Splunk On-Call (VictorOps) Escalation Policies API

The Escalation Policies API from Splunk On-Call (VictorOps) — 3 operation(s) for escalation policies.

GitHub OpenAPI

Operations 6

GET /api-public/v1/policies Get a list of escalation policy info #
POST /api-public/v1/policies Create an escalation policy #
GET /api-public/v1/policies/{policy} Get a specific escalation policy #
PUT /api-public/v1/policies/{policy} Update an escalation policy #
DELETE /api-public/v1/policies/{policy} Delete a specified escalation policy #
GET /api-public/v1/team/{team}/policies Retrieve a list of escalation policies for a team #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/victorops:victorops-escalation-policies-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

victorops-escalation-policies-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Victorops Escalation Policies API
  version: 0.0.3
  x-refined-note:
  - x-apievangelist differs across the merged source definitions and was not carried
  description: 'Operations tagged Escalation Policies across 2 of this provider''s published API definitions: victorops-api-v1.yaml, victorops-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.victorops.com/
- url: https://api.victorops.com
tags:
- name: Escalation Policies
paths:
  /api-public/v1/policies:
    get:
      tags:
      - Escalation Policies
      summary: Get a list of escalation policy info
      description: 'Retrieves a list of all escalation policy summaries and their associated teams that exist in your organization.

        If the optional `filter` query parameter is present, retrieves a list of all escalation policy summaries with a name matching the provided search filter.


        This is the recommended way for determining to which team an escalation policy belongs.


        This API may be called a maximum of 2 times per second.'
      parameters:
      - $ref: '#/components/parameters/apiId'
      - $ref: '#/components/parameters/apiKey'
      - name: filter
        in: query
        description: 'An escalation policy name to be used for filtering the results. Note: If this parameter is present, it must be at least three (3) characters long'
        required: false
        schema:
          type: string
      responses:
        '200':
          description: A list of escalation policy info objects, each of which contain a summary of an escalation policy and a summary for the team associated with that escalation policy.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EscalationPolicyInfoList'
        '400':
          $ref: '#/components/responses/400'
        '401':
          $ref: '#/components/responses/401'
        '403':
          $ref: '#/components/responses/403'
        '404':
          $ref: '#/components/responses/404'
        '500':
          $ref: '#/components/responses/500'
      operationId: getApiPublicV1Policies
      x-operation-id-source: derived
    post:
      tags:
      - Escalation Policies
      summary: Create an escalation policy
      description: 'Takes an entire escalation policy and creates it.


        For the purpose of using this API, escalation policies are treated as immutable. The policy will not be able to be updated or modified in any way via this API once created. It will only be able to be deleted. However, The escalation policies are accessable in the UI once created and can be updated from there.


        This API may be called a maximum of 2 times per second.'
      parameters:
      - $ref: '#/components/parameters/apiId'
      - $ref: '#/components/parameters/apiKey'
      - $ref: '#/components/parameters/escalationPolicyPost'
      responses:
        '200':
          description: The newly created escalation policy
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EscalationPolicy'
        '400':
          $ref: '#/components/responses/400'
        '401':
          $ref: '#/components/responses/401'
        '403':
          $ref: '#/components/responses/403'
        '404':
          $ref: '#/components/responses/404'
        '500':
          $ref: '#/components/responses/500'
      operationId: postApiPublicV1Policies
      x-operation-id-source: derived
    servers:
    - url: https://api.victorops.com/
  /api-public/v1/policies/{policy}:
    get:
      tags:
      - Escalation Policies
      summary: Get a specific escalation policy
      description: 'Gets a specific escalation policy based on the unique policy slug provided in the path.


        The context for which team this policy belongs to is not available at this level. To retrieve information about this escalation policy''s team, you must retrieve all of the policy summaries. The escalation policy summaries include links to this endpoint for each escalation policy.


        This API may be called a maximum of 2 times per second.'
      parameters:
      - $ref: '#/components/parameters/apiId'
      - $ref: '#/components/parameters/apiKey'
      - name: policy
        in: path
        description: 'The uniquely identifying escalation policy slug.


          This slug is in the format `pol-[\w\d]{16}`'
        required: true
        schema:
          type: string
      responses:
        '200':
          description: The escalation policy matching the provided slug
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EscalationPolicy'
        '400':
          $ref: '#/components/responses/400'
        '401':
          $ref: '#/components/responses/401'
        '403':
          $ref: '#/components/responses/403'
        '404':
          $ref: '#/components/responses/404'
        '500':
          $ref: '#/components/responses/500'
      operationId: getApiPublicV1PoliciesByPolicy
      x-operation-id-source: derived
    put:
      tags:
      - Escalation Policies
      summary: Update an escalation policy
      description: 'Updates a specific escalation policy. Takes the full escalation policy steps and replaces the existing ones.


        The escalation policy must not contain ''team'' based escalation entries.


        This API may be called a maximum of 2 times per second.'
      parameters:
      - $ref: '#/components/parameters/apiId'
      - $ref: '#/components/parameters/apiKey'
      - name: policy
        in: path
        description: 'The uniquely identifying escalation policy slug.

          The policy slug is in the format `pol-[\w\d]{16}`'
        required: true
        schema:
          type: string
      responses:
        '200':
          description: The updated escalation policy
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EscalationPolicy'
        '400':
          $ref: '#/components/responses/400'
        '401':
          $ref: '#/components/responses/401'
        '403':
          $ref: '#/components/responses/403'
        '404':
          $ref: '#/components/responses/404'
        '500':
          $ref: '#/components/responses/500'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EscalationPolicyUpdatePayload'
        required: true
      operationId: putApiPublicV1PoliciesByPolicy
      x-operation-id-source: derived
    delete:
      tags:
      - Escalation Policies
      summary: Delete a specified escalation policy
      description: 'Deletes a specific escalaton policy based on the unique policy slug provided in the path.


        Any routing keys which ONLY contain this policy will also be deleted.


        This API may be called a maximum of 2 times per second.'
      parameters:
      - $ref: '#/components/parameters/apiId'
      - $ref: '#/components/parameters/apiKey'
      - name: policy
        in: path
        description: 'The uniquely identifying escalation policy slug.

          The policy slug is in the format `pol-[\w\d]{16}`'
        required: true
        schema:
          type: string
      responses:
        '200':
          description: The escalation policy was deleted
        '400':
          $ref: '#/components/responses/400'
        '401':
          $ref: '#/components/responses/401'
        '403':
          $ref: '#/components/responses/403'
        '404':
          $ref: '#/components/responses/404'
        '500':
          $ref: '#/components/responses/500'
      operationId: deleteApiPublicV1PoliciesByPolicy
      x-operation-id-source: derived
    servers:
    - url: https://api.victorops.com/
  /api-public/v1/team/{team}/policies:
    get:
      deprecated: true
      tags:
      - Escalation Policies
      summary: Retrieve a list of escalation policies for a team
      description: 'Please see the Escalation Policies section for retrieving information on escalation policies


        Get the escalation policies for the specified team.


        This API may be called a maximum of 2 times per second.'
      parameters:
      - $ref: '#/components/parameters/apiId'
      - $ref: '#/components/parameters/apiKey'
      - name: team
        in: path
        description: The VictorOps team to fetch
        required: true
        schema:
          type: string
      responses:
        '200':
          description: The escalation policy list. This does not include details about the actual notification steps of the policy.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EscalationPolicyInfoList'
        '400':
          $ref: '#/components/responses/400'
        '401':
          $ref: '#/components/responses/401'
        '403':
          $ref: '#/components/responses/403'
        '404':
          $ref: '#/components/responses/team-not-found'
        '422':
          description: 'Team name or email is unavailable, or you have reached your team limit.

            '
        '500':
          $ref: '#/components/responses/500'
      operationId: getApiPublicV1TeamByTeamPolicies
      x-operation-id-source: derived
    servers:
    - url: https://api.victorops.com/
components:
  schemas:
    CreateEscalationPolicyEntry:
      type: object
      required:
      - executionType
      properties:
        executionType:
          type: string
          enum:
          - rotation_group
          - rotation_group_next
          - rotation_group_previous
          - webhook
          - user
          - email
          - policy_routing
          description: 'This is an entry containing only ONE of the available execution types.


            If the executionType provided is one of [rotation_group, rotation_group_next, rotation_group_previous] then you must (and only) provide the rotation group object in the body.


            If the executionType provided is [webhook] then you must (and only) provide the webhook object in the body.


            If the executionType provided is [user] then you must (and only) provide the user object in the body.


            If the executionType provided is [email] then you must (and only) provide the email object in the body.


            If the executionType provided is [policy_routing] then you must (and only) provide the target policy object in the body.'
        rotationGroup:
          type: object
          title: rotationGroup
          properties:
            slug:
              type: string
              description: 'The unique identifier for the rotation group that will be executed when this escalation policy step activates.


                The slug is in the format `rtg-[\w\d]{16}`


                The rotation group must already exist and can currently only be created in the web application. In the Rotations section, the `/api-public/v1/teams/{team}/rotations` endpoint will return a list of the available rotations. The rotation must exist for the same team used in this escalation policy.'
        webhook:
          type: object
          title: wehook
          properties:
            slug:
              type: string
              description: 'The unique identifier for the webhook that will be executed when this escalation policy step activates


                The slug is in the format `wh-[\w\d]{16}`


                The webhook must already exist and can currently only be created in the web application. In the Webhooks section, the `/api-public/v1/webhooks` endpoint will return a list of your organization''s webhooks.'
        user:
          type: object
          title: user
          properties:
            username:
              type: string
              description: The unique identifier for the user. This user will be notified when the escalation policy step activates.
        email:
          type: object
          title: email
          properties:
            address:
              type: string
              description: 'The email address that will be notified when this escalation policy step activates.


                Any email adress may be provided here.'
        targetPolicy:
          type: object
          title: targetPolicy
          description: The escalation policy to target when executing
          properties:
            policySlug:
              type: string
              description: 'The unique slug of another escalation policy that will be executed when this escalation policy step activates.


                The policy slug is simply a reference to another escalation policy that already currently exists. The slug is in the format `pol-[\w\d]{16}`'
    EscalationPolicy:
      type: object
      required:
      - name
      - slug
      - ignoreCustomPagingPolicies
      - steps
      properties:
        name:
          type: string
          description: The name of this escalation policy
        slug:
          type: string
          description: 'A unique identifier for this escalation polcy


            This slug is in the format `pol-[\w\d]{16}`'
        ignoreCustomPagingPolicies:
          type: boolean
          description: True if this policy ignores a user's custom paging policy; this will page the on-call user via their Primary Paging Policy and ignore any custom paging policies they have set. We recommend enabling this if the escalation policy handles high severity incidents.
        steps:
          type: array
          items:
            $ref: '#/components/schemas/EscalationPolicyGroup'
          description: A list of groupings of entries. Each group is a "step" in the escalation policy. Each "step" contains a group of entries to be executed.
    Team:
      type: object
      required:
      - name
      - slug
      properties:
        name:
          type: string
          description: The team name
        slug:
          type: string
          description: 'The unique identifier for this team.


            The slug is in the format `team-[\w\d]{16}`'
    EscalationPolicyInfo:
      type: object
      required:
      - policy
      - team
      properties:
        policy:
          $ref: '#/components/schemas/EscalationPolicySummary'
        team:
          $ref: '#/components/schemas/Team'
    CreateEscalationPolicyGroup:
      type: object
      required:
      - timeout
      - entries
      properties:
        timeout:
          type: integer
          description: 'The duration in minutes to wait until executing this step since the last step was executed.


            This value may be 0. This implies that this policy step should immediately execute.'
        entries:
          type: array
          description: A list of entries that this escalation policy group encapsulates
          items:
            $ref: '#/components/schemas/CreateEscalationPolicyEntry'
    EscalationPolicyGroup:
      type: object
      required:
      - timeout
      - entries
      properties:
        timeout:
          type: integer
          description: 'The duration in minutes to wait until executing this step since the last step was executed.


            This value may be 0. This implies that this policy step should immediately execute.'
        entries:
          type: array
          description: A list of entries that this escalation policy group encapsulates. These entries will all be executed once the escalation policy reaches this step.
          items:
            $ref: '#/components/schemas/EscalationPolicyEntry'
    CreateEscalationPolicy:
      type: object
      required:
      - name
      - teamSlug
      - steps
      properties:
        name:
          type: string
          description: The name of the escalation policy
        teamSlug:
          type: string
          description: 'The unique identifier for the team to create the policy under.


            The team slug is in the format `team-[\w\d]{16}`'
        ignoreCustomPagingPolicies:
          type: boolean
          default: false
          description: True if this policy ignores a user's custom paging policy; this will page the on-call user via their Primary Paging Policy and ignore any custom paging policies they have set. We recommend enabling this if the escalation policy handles high severity incidents.
        steps:
          type: array
          items:
            $ref: '#/components/schemas/CreateEscalationPolicyGroup'
          description: A list of groupings of entries. Each group is a "step" in the escalation policy.
    EscalationPolicyEntry:
      type: object
      description: 'This is an entry containing only ONE of the available execution types.


        If the executionType provided is one of [rotation_group, rotation_group_next, rotation_group_previous] then only the rotation group object will be provided in the body.


        If the executionType provided is [webhook] then only the webhook object will be provided in the body.


        If the executionType provided is [user] then only the user object will be provided in the body.


        If the executionType provided is [email] the nonly the email object object will be provided in the body.


        If the executionType provided is [policy_routing] then only the target policy object will be provided in the body.'
      required:
      - executionType
      properties:
        executionType:
          type: string
          enum:
          - rotation_group
          - rotation_group_next
          - rotation_group_previous
          - webhook
          - user
          - email
          - policy_routing
          description: The type of entry
        rotationGroup:
          type: object
          title: rotationGroup
          properties:
            slug:
              type: string
              description: 'The unique identifier for the rotation group that will be executed when this escalation policy step activates.


                The slug is in the format `rtg-[\w\d]{16}`


                To get more information about this rotation group, you can use the endpoints available in the Rotation Groups section'
            label:
              type: string
              description: The name of the rotation group
        webhook:
          type: object
          title: webhook
          properties:
            slug:
              type: string
              description: 'The unique identifier for the webhook that will be executed when this escalation policy step activates


                The slug is in the format `wh-[\w\d]{16}`


                To get more information about this webhook, you can use the endpoints available in the Webhooks section'
            label:
              type: string
              description: The name of the webhook
        user:
          type: object
          title: user
          properties:
            username:
              type: string
              description: The unique identifier for the user. This user will be notified when the escalation policy step activates.
            firstName:
              type: string
              description: The user's first name
            lastName:
              type: string
              description: The user's last name
        email:
          type: object
          title: email
          properties:
            address:
              type: string
              description: The email address that will be notified when this escalation policy step activates.
        targetPolicy:
          type: object
          title: targetPolicy
          description: The escalation policy to target when executing
          properties:
            policySlug:
              type: string
              description: 'The unique slug of another escalation policy that will be executed when this escalation policy step activates.


                The policy slug is in the format `pol-[\w\d]{16}`'
    EscalationPolicyInfoList:
      type: object
      required:
      - policies
      properties:
        policies:
          type: array
          description: A list of escalation policy info objects
          items:
            $ref: '#/components/schemas/EscalationPolicyInfo'
    EscalationPolicySummary:
      type: object
      description: A summary containing minimal, high-level information about an escalation policy.
      required:
      - name
      - slug
      - _selfUrl
      properties:
        name:
          type: string
          description: The name of this escalation policy
        slug:
          type: string
          description: 'A unique identifier for this escalation policy.


            The slug is in the format `pol-[\w\d]{16}`'
        _selfUrl:
          type: string
          description: This is a URI that is generated for this escalation policy. It points to the entire escalation policy resource. and can be used to get detailed information about this escalation policy instead of just the summary.
    EscalationPolicyUpdatePayload:
      type: object
      description: The payload for updating an escalation policy's steps
      required:
      - steps
      properties:
        ignoreCustomPagingPolicies:
          type: boolean
          default: false
          description: True if this policy ignores a user's custom paging policy; this will page the on-call user via their Primary Paging Policy and ignore any custom paging policies they have set.
        steps:
          type: array
          items:
            $ref: '#/components/schemas/CreateEscalationPolicyGroup'
          description: A list of groupings of entries. Each group is a "step" in the escalation policy. This replaces all existing steps.
  responses:
    '500':
      description: Internal Server Error
    '400':
      description: Problem with the request arguments.  The response payload may include an error message.
    '401':
      description: Authentication parameters missing
    '403':
      description: Authentication failed or rate-limit reached
    '404':
      description: Path not found
    team-not-found:
      description: Team not found
  parameters:
    apiKey:
      name: X-VO-Api-Key
      description: Your API Key
      required: true
      in: header
      schema:
        type: string
    escalationPolicyPost:
      name: body
      in: body
      description: The request body needed to create an escalation policy
      required: true
      schema:
        $ref: '#/components/schemas/CreateEscalationPolicy'
    apiId:
      name: X-VO-Api-Id
      description: Your API ID
      required: true
      in: header
      schema:
        type: string
  securitySchemes:
    apiId:
      type: apiKey
      in: header
      name: X-VO-Api-Id
    apiKey:
      type: apiKey
      in: header
      name: X-VO-Api-Key
x-refined-from:
- victorops-api-v1.yaml
- victorops-openapi.yml