Splunk On-Call (VictorOps) Users API

The Users API from Splunk On-Call (VictorOps) — 5 operation(s) for users.

GitHub OpenAPI

Operations 8

POST /api-public/v1/user Add a user #
GET /api-public/v1/user List users #
GET /api-public/v2/user List users #
POST /api-public/v1/user/batch Add multiple users #
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}/teams Retrieve the user's team membership #

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-users-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-users-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Victorops Users API
  version: 0.0.3
  x-refined-note:
  - x-apievangelist differs across the merged source definitions and was not carried
  description: 'Operations tagged Users 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: Users
paths:
  /api-public/v1/user:
    post:
      tags:
      - Users
      summary: Add a user
      description: '__NOTE: Use of the admin parameter is deprecated. All calls to add a user will set admin to false.


        Add a user to your organization


        This API may be called a maximum of 2 times per second.'
      parameters:
      - $ref: '#/components/parameters/apiId'
      - $ref: '#/components/parameters/apiKey'
      responses:
        '200':
          description: Some details about the user that was added
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AddUserResponse'
        '400':
          $ref: '#/components/responses/400'
        '401':
          $ref: '#/components/responses/401'
        '403':
          $ref: '#/components/responses/403'
        '404':
          $ref: '#/components/responses/user-not-found'
        '409':
          $ref: '#/components/responses/409-username-conflict'
        '422':
          $ref: '#/components/responses/422-max-users-reached'
        '500':
          $ref: '#/components/responses/500'
      requestBody:
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/AddUserPayload'
              - type: object
                properties:
                  stakeholder:
                    type: boolean
        required: true
      operationId: postApiPublicV1User
      x-operation-id-source: derived
    get:
      tags:
      - Users
      summary: List users
      description: '__NOTE: This call is deprecated. Please use `GET /api-public/v2/user` instead.__


        Get a list of users for your organization


        This API may be called a maximum of 2 times per second.'
      parameters:
      - $ref: '#/components/parameters/apiId'
      - $ref: '#/components/parameters/apiKey'
      responses:
        '200':
          description: A list of users for your organization
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListUserResponse'
        '400':
          $ref: '#/components/responses/400'
        '401':
          $ref: '#/components/responses/401'
        '403':
          $ref: '#/components/responses/403'
        '404':
          $ref: '#/components/responses/user-not-found'
        '422':
          description: 'You have reached your user limit

            '
        '500':
          $ref: '#/components/responses/500'
      operationId: getApiPublicV1User
      x-operation-id-source: derived
    servers:
    - url: https://api.victorops.com/
  /api-public/v2/user:
    get:
      tags:
      - Users
      summary: List users
      description: 'Get a list of users for your organization. Optionally, search for users by email address.


        Email searches require a verified email address and verified user by default. Set `requireVerified=false` to include unverified users, such as pending invitations. This parameter is ignored when `email` is omitted.


        This API may be called a maximum of 2 times per second.'
      parameters:
      - $ref: '#/components/parameters/apiId'
      - $ref: '#/components/parameters/apiKey'
      - name: email
        in: query
        description: An email address with which to search for users
        required: false
        schema:
          type: string
      - name: requireVerified
        in: query
        description: When `email` is present, require both the matching email address and user account to be verified. Set to `false` to include unverified users, such as pending invitations. Ignored when `email` is omitted.
        required: false
        schema:
          type: boolean
          default: true
      responses:
        '200':
          description: A list of the users in your organization. If the `email` parameter is present, the response is the list of users in your organization with a matching email address, filtered according to `requireVerified`.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListUserResponse'
        '400':
          description: Problem with the request arguments. The `email` request parameter must be at least three (3) characters long, if present.
        '401':
          $ref: '#/components/responses/401'
        '403':
          $ref: '#/components/responses/403'
        '404':
          $ref: '#/components/responses/user-not-found'
        '500':
          $ref: '#/components/responses/500'
      operationId: getApiPublicV2User
      x-operation-id-source: derived
    servers:
    - url: https://api.victorops.com/
  /api-public/v1/user/batch:
    post:
      tags:
      - Users
      summary: Add multiple users
      description: 'Add users to your organization


        This API may be called a maximum of 1 time per second.'
      parameters:
      - $ref: '#/components/parameters/apiId'
      - $ref: '#/components/parameters/apiKey'
      responses:
        '200':
          description: The users were added, for errors, please see the response body
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/BatchAddUserEntry'
        '400':
          $ref: '#/components/responses/400'
        '401':
          $ref: '#/components/responses/401'
        '403':
          $ref: '#/components/responses/403'
        '409':
          $ref: '#/components/responses/409-username-conflict'
        '422':
          description: 'You have reached your user limit.

            '
        '500':
          $ref: '#/components/responses/500'
      requestBody:
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/parameters/addUserPayload'
              maxItems: 50
      operationId: postApiPublicV1UserBatch
      x-operation-id-source: derived
    servers:
    - url: https://api.victorops.com/
  /api-public/v1/user/{user}:
    get:
      tags:
      - Users
      summary: Retrieve information for a user
      description: 'Get the information for the specified user


        This API may be called a maximum of 2 times per second.'
      parameters:
      - $ref: '#/components/parameters/apiId'
      - $ref: '#/components/parameters/apiKey'
      - name: user
        in: path
        description: The VictorOps user to fetch
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Some details about the user that was added
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AddUserResponse'
        '400':
          $ref: '#/components/responses/400'
        '401':
          $ref: '#/components/responses/401'
        '403':
          $ref: '#/components/responses/403'
        '404':
          $ref: '#/components/responses/user-not-found'
        '422':
          description: 'Username or email is unavailable, or you have reached your user limit.

            '
        '500':
          $ref: '#/components/responses/500'
      operationId: getApiPublicV1UserByUser
      x-operation-id-source: derived
    put:
      tags:
      - Users
      summary: Update a user
      description: 'Update the designated user


        This API may be called a maximum of 2 times per second.'
      parameters:
      - $ref: '#/components/parameters/apiId'
      - $ref: '#/components/parameters/apiKey'
      - name: user
        in: path
        description: The VictorOps user to be updated
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/addUserPayload'
      responses:
        '200':
          description: Some details about the user that was added
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AddUserResponse'
        '400':
          $ref: '#/components/responses/400'
        '401':
          $ref: '#/components/responses/401'
        '403':
          $ref: '#/components/responses/403'
        '404':
          $ref: '#/components/responses/user-not-found'
        '409':
          $ref: '#/components/responses/409-username-conflict'
        '422':
          description: 'You have reached your user limit.

            '
        '500':
          $ref: '#/components/responses/500'
      operationId: putApiPublicV1UserByUser
      x-operation-id-source: derived
    delete:
      tags:
      - Users
      summary: Remove a user
      description: 'Remove a user from your organization. You can choose a user to act as a replacement or let VictorOps handle finding the replacement. User will be replaced in their on-call rotations, escalation policies and scheduled overrides.


        This API may be called a maximum of 2 times per second.'
      parameters:
      - $ref: '#/components/parameters/apiId'
      - $ref: '#/components/parameters/apiKey'
      - name: user
        in: path
        description: The VictorOps user to be deleted
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/deleteUserPayload'
      responses:
        '200':
          description: User was deleted
        '400':
          $ref: '#/components/responses/400'
        '401':
          $ref: '#/components/responses/401'
        '403':
          $ref: '#/components/responses/403'
        '404':
          $ref: '#/components/responses/user-not-found'
        '422':
          description: 'There was a problem with the delete such as a replacement is required or the replacement user was not found.

            Details will be provided in the response body.

            '
        '500':
          $ref: '#/components/responses/500'
      operationId: deleteApiPublicV1UserByUser
      x-operation-id-source: derived
    servers:
    - url: https://api.victorops.com/
  /api-public/v1/user/{user}/teams:
    get:
      tags:
      - Users
      summary: Retrieve the user's team membership
      description: This API may be called a maximum of 2 times per second.
      parameters:
      - $ref: '#/components/parameters/apiId'
      - $ref: '#/components/parameters/apiKey'
      - name: user
        in: path
        description: The VictorOps user
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Team details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserTeamsResponse'
        '401':
          $ref: '#/components/responses/401'
        '403':
          $ref: '#/components/responses/403'
        '404':
          $ref: '#/components/responses/user-not-found'
        '500':
          $ref: '#/components/responses/500'
      operationId: getApiPublicV1UserByUserTeams
      x-operation-id-source: derived
    servers:
    - url: https://api.victorops.com/
components:
  schemas:
    AddUserResponse:
      $ref: '#/components/schemas/V1User'
    BatchAddUserEntry:
      type: object
      description: A report on success/failure of a single user in a batch user create request
      properties:
        username:
          type: string
        errors:
          type: array
          items:
            $ref: '#/components/schemas/BatchUserError'
    V1User:
      type: object
      description: Some info about the user
      properties:
        firstName:
          type: string
        lastName:
          type: string
        username:
          type: string
        email:
          type: string
        createdAt:
          type: string
        passwordLastUpdated:
          type: string
        verified:
          type: boolean
          description: Whether or not this user has set their password (will always be false)
        _selfUrl:
          type: string
    SimpleTeamDetail:
      type: object
      description: Some info about the team
      properties:
        name:
          type: string
        slug:
          type: string
        _selfUrl:
          type: string
        _membersUrl:
          type: string
        _policiesUrl:
          type: string
        _adminsUrl:
          type: string
    AddUserPayload:
      type: object
      description: The user information
      required:
      - firstName
      - lastName
      - username
      - email
      properties:
        firstName:
          type: string
        lastName:
          type: string
        username:
          type: string
        email:
          type: string
          format: email
        admin:
          type: boolean
        expirationHours:
          type: number
          description: The validity duration for the invitatation/set password link sent to the added user.
          default: 24
    BatchUserError:
      type: object
      description: a single error for an attept to create a user in batch
      properties:
        code:
          type: string
          description: general class of error
        message:
          type: string
          description: specifics about the error
    ListUserResponse:
      type: object
      description: Some info about the user
      properties:
        users:
          type: array
          items:
            $ref: '#/components/schemas/V1User'
        _selfUrl:
          type: string
    DeleteUserPayload:
      type: object
      description: The information about what to do with the deleted user
      properties:
        replacement:
          type: string
          description: The user to take the place of the deleted user in escalations
        replacementStrategy:
          type: string
          enum:
          - specifiedUser
          - globalAdmin
          - teamAdmin
          - findReplacement
          description: "The strategy you would like to use to replace the user. They work as follows specifiedUser - replace the deleted user with a specific user. If using\n               this strategy, you MUST provide the `replacement` field\n               as well. This is also the default strategy. So, if you\n               provide no replacementStrategy in your request, you are\n               still required to provide a `replacement` field.\nglobalAdmin - replace the deleted user with the first Global Admin for the\n              organization.\nteamAdmin - replace the deleted user in rotations/escalation policies with\n            the team admin for the team related to that rotation or escalation\n            policy. This strategy REQUIRES that every team have an admin that\n            is not the deleted user.\nfindReplacement - This strategy will attempt to find the best replacement\n                  based on roles within the team, paging policy configuration\n                  and other factors. Selected replacement user will be\n                  notified by email. You cannot delete the last active user on\n                  any team or last Global Admin user using this strategy.\n"
    UserTeamsResponse:
      type: object
      description: A list of teams to which the user belongs
      properties:
        teams:
          type: array
          items:
            $ref: '#/components/schemas/SimpleTeamDetail'
  parameters:
    addUserPayload:
      name: body
      in: body
      required: true
      schema:
        $ref: '#/components/schemas/AddUserPayload'
    apiKey:
      name: X-VO-Api-Key
      description: Your API Key
      required: true
      in: header
      schema:
        type: string
    apiId:
      name: X-VO-Api-Id
      description: Your API ID
      required: true
      in: header
      schema:
        type: string
    deleteUserPayload:
      name: body
      in: body
      required: true
      schema:
        $ref: '#/components/schemas/DeleteUserPayload'
    addUserPayload_2:
      name: addUserPayload
      in: query
      required: false
      schema:
        type: string
      description: Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.
      x-ae-placeholder: true
  responses:
    '500':
      description: Internal Server Error
    '400':
      description: Problem with the request arguments.  The response payload may include an error message.
    user-not-found:
      description: User not found
    409-username-conflict:
      description: The requested username or email address is not available
    '401':
      description: Authentication parameters missing
    '403':
      description: Authentication failed or rate-limit reached
    422-max-users-reached:
      description: Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.
      x-ae-placeholder: true
  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