Kaseya /v2/account API

Operations on accounts

Operations 12

PUT /v2/account/variable Creates an account variable #
POST /v2/account/variable/{variableId} Updates the account variable identified by the given variable Id. #
DELETE /v2/account/variable/{variableId} Deletes the account variable identified by the given variable Id. #
GET /v2/account Fetches the authenticated user's account data. #
GET /v2/account/variables Fetches the account variables. #
GET /v2/account/users Fetches the authentication users records of the authenticated user's account. #
GET /v2/account/sites Fetches the site records of the authenticated user's account. #
GET /v2/account/dnet-site-mappings Fetches the sites records with its mapped dnet network id for the authenticated user's account. #
GET /v2/account/devices Fetches the devices of the authenticated user's account. #
GET /v2/account/components Fetches the components records of the authenticated user's account. #
GET /v2/account/alerts/resolved Fetches resolved alerts of the authenticated user's account. #
GET /v2/account/alerts/open Fetches open alerts of the authenticated user's account. #

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/kaseya-v2-account-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

kaseya-v2-account-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Datto RMM /v2/account API
  description: Datto RMM (Remote Monitoring and Management) REST API
  license:
    name: '©Datto, Inc. - All rights reserved. '
    url: http://www.datto.com/
  version: 2.0.0 (Build 235_0add0e4d537431f30405d568ccb46b6d7af1f183)
servers:
- url: https://syrah-api.centrastage.net/api
  description: Generated server url
tags:
- name: /v2/account
  description: Operations on accounts
paths:
  /v2/account/variable:
    put:
      tags:
      - /v2/account
      summary: Creates an account variable
      operationId: createAccountVariable
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Variable_Creation_Request'
        required: true
      responses:
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                timestamp: 1781181715656
                status: 500
                error: Internal Server Error
                path: /v2/account/variable
        '409':
          description: Request aborted due to concurrent write access to this record.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                timestamp: 1781181715656
                status: 409
                error: Conflict
                path: /v2/account/variable
        '403':
          description: Authenticated user doesn't have access to this resource.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                timestamp: 1781181715656
                status: 403
                error: Forbidden
                path: /v2/account/variable
        '400':
          description: Request parameters are invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                timestamp: 1781181715656
                status: 400
                error: Bad Request
                path: /v2/account/variable
        '404':
          description: Variable was not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                timestamp: 1781181715656
                status: 404
                error: Not Found
                path: /v2/account/variable
        '401':
          description: Request can not be authorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                timestamp: 1781181715656
                status: 401
                error: Unauthorized
                path: /v2/account/variable
        '200':
          description: OK
  /v2/account/variable/{variableId}:
    post:
      tags:
      - /v2/account
      summary: Updates the account variable identified by the given variable Id.
      operationId: updateAccountVariable
      parameters:
      - name: variableId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Variable_Update_Request'
        required: true
      responses:
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                timestamp: 1781181715656
                status: 500
                error: Internal Server Error
                path: /v2/account/variable/{variableId}
        '409':
          description: Request aborted due to concurrent write access to this record.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                timestamp: 1781181715656
                status: 409
                error: Conflict
                path: /v2/account/variable/{variableId}
        '403':
          description: Authenticated user doesn't have access to this resource.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                timestamp: 1781181715656
                status: 403
                error: Forbidden
                path: /v2/account/variable/{variableId}
        '400':
          description: Request parameters are invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                timestamp: 1781181715656
                status: 400
                error: Bad Request
                path: /v2/account/variable/{variableId}
        '404':
          description: Variable was not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                timestamp: 1781181715656
                status: 404
                error: Not Found
                path: /v2/account/variable/{variableId}
        '401':
          description: Request can not be authorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                timestamp: 1781181715656
                status: 401
                error: Unauthorized
                path: /v2/account/variable/{variableId}
        '200':
          description: OK
    delete:
      tags:
      - /v2/account
      summary: Deletes the account variable identified by the given variable Id.
      operationId: deleteAccountVariable
      parameters:
      - name: variableId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                timestamp: 1781181715656
                status: 500
                error: Internal Server Error
                path: /v2/account/variable/{variableId}
        '409':
          description: Request aborted due to concurrent write access to this record.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                timestamp: 1781181715656
                status: 409
                error: Conflict
                path: /v2/account/variable/{variableId}
        '403':
          description: Authenticated user doesn't have access to this resource.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                timestamp: 1781181715656
                status: 403
                error: Forbidden
                path: /v2/account/variable/{variableId}
        '400':
          description: Request parameters are invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                timestamp: 1781181715656
                status: 400
                error: Bad Request
                path: /v2/account/variable/{variableId}
        '404':
          description: Variable was not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                timestamp: 1781181715656
                status: 404
                error: Not Found
                path: /v2/account/variable/{variableId}
        '401':
          description: Request can not be authorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                timestamp: 1781181715656
                status: 401
                error: Unauthorized
                path: /v2/account/variable/{variableId}
        '200':
          description: OK
  /v2/account:
    get:
      tags:
      - /v2/account
      summary: Fetches the authenticated user's account data.
      operationId: getUserAccount
      responses:
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                timestamp: 1781181715656
                status: 500
                error: Internal Server Error
                path: /v2/account
        '409':
          description: Conflict
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                timestamp: 1781181715656
                status: 409
                error: Conflict
                path: /v2/account
        '403':
          description: Authenticated user doesn't have access to this resource.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                timestamp: 1781181715656
                status: 403
                error: Forbidden
                path: /v2/account
        '401':
          description: Request can not be authorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                timestamp: 1781181715656
                status: 401
                error: Unauthorized
                path: /v2/account
        '200':
          description: OK
          content:
            application/json:
              schema:
                description: Account data
                properties:
                  id:
                    type: integer
                    format: int64
                  name:
                    type: string
                  descriptor:
                    $ref: '#/components/schemas/Account_Descriptor'
                  uid:
                    type: string
                  currency:
                    type: string
                  devicesStatus:
                    $ref: '#/components/schemas/AccountDevicesStatus'
  /v2/account/variables:
    get:
      tags:
      - /v2/account
      summary: Fetches the account variables.
      operationId: getAccountVariables
      parameters:
      - name: page
        in: query
        required: false
        schema:
          type: integer
          format: int32
      - name: max
        in: query
        required: false
        schema:
          type: integer
          format: int32
      responses:
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                timestamp: 1781181715656
                status: 500
                error: Internal Server Error
                path: /v2/account/variables
        '409':
          description: Conflict
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                timestamp: 1781181715656
                status: 409
                error: Conflict
                path: /v2/account/variables
        '403':
          description: Authenticated user doesn't have access to this resource.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                timestamp: 1781181715656
                status: 403
                error: Forbidden
                path: /v2/account/variables
        '401':
          description: Request can not be authorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                timestamp: 1781181715656
                status: 401
                error: Unauthorized
                path: /v2/account/variables
        '200':
          description: OK
          content:
            application/json:
              schema:
                description: Variables page
                properties:
                  pageDetails:
                    $ref: '#/components/schemas/PaginationData'
                  variables:
                    type: array
                    items:
                      $ref: '#/components/schemas/Variable'
                    uniqueItems: true
  /v2/account/users:
    get:
      tags:
      - /v2/account
      summary: Fetches the authentication users records of the authenticated user's account.
      operationId: getUsers
      parameters:
      - name: page
        in: query
        required: false
        schema:
          type: integer
          format: int32
      - name: max
        in: query
        required: false
        schema:
          type: integer
          format: int32
      responses:
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                timestamp: 1781181715656
                status: 500
                error: Internal Server Error
                path: /v2/account/users
        '409':
          description: Conflict
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                timestamp: 1781181715656
                status: 409
                error: Conflict
                path: /v2/account/users
        '403':
          description: Authenticated user doesn't have access to this resource.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                timestamp: 1781181715656
                status: 403
                error: Forbidden
                path: /v2/account/users
        '401':
          description: Request can not be authorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                timestamp: 1781181715656
                status: 401
                error: Unauthorized
                path: /v2/account/users
        '200':
          description: OK
          content:
            application/json:
              schema:
                description: Users page
                properties:
                  pageDetails:
                    $ref: '#/components/schemas/PaginationData'
                  users:
                    type: array
                    items:
                      $ref: '#/components/schemas/AuthUser'
  /v2/account/sites:
    get:
      tags:
      - /v2/account
      summary: Fetches the site records of the authenticated user's account.
      operationId: getSites
      parameters:
      - name: page
        in: query
        required: false
        schema:
          type: integer
          format: int32
      - name: max
        in: query
        required: false
        schema:
          type: integer
          format: int32
      - name: siteName
        in: query
        description: Optional. Filters results based on the provided value using the LIKE operator. Partial matches are allowed.
        required: false
        schema:
          type: string
      responses:
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                timestamp: 1781181715656
                status: 500
                error: Internal Server Error
                path: /v2/account/sites
        '409':
          description: Conflict
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                timestamp: 1781181715656
                status: 409
                error: Conflict
                path: /v2/account/sites
        '403':
          description: Authenticated user doesn't have access to this resource.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                timestamp: 1781181715656
                status: 403
                error: Forbidden
                path: /v2/account/sites
        '401':
          description: Request can not be authorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                timestamp: 1781181715656
                status: 401
                error: Unauthorized
                path: /v2/account/sites
        '200':
          description: OK
          content:
            application/json:
              schema:
                description: Sites page
                properties:
                  pageDetails:
                    $ref: '#/components/schemas/PaginationData'
                  sites:
                    type: array
                    items:
                      $ref: '#/components/schemas/Site'
  /v2/account/dnet-site-mappings:
    get:
      tags:
      - /v2/account
      summary: Fetches the sites records with its mapped dnet network id for the authenticated user's account.
      operationId: getDnetSiteMappings
      parameters:
      - name: page
        in: query
        required: false
        schema:
          type: integer
          format: int32
      - name: max
        in: query
        required: false
        schema:
          type: integer
          format: int32
      responses:
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                timestamp: 1781181715656
                status: 500
                error: Internal Server Error
                path: /v2/account/dnet-site-mappings
        '409':
          description: Conflict
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                timestamp: 1781181715656
                status: 409
                error: Conflict
                path: /v2/account/dnet-site-mappings
        '403':
          description: Authenticated user doesn't have access to this resource.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                timestamp: 1781181715656
                status: 403
                error: Forbidden
                path: /v2/account/dnet-site-mappings
        '401':
          description: Request can not be authorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                timestamp: 1781181715656
                status: 401
                error: Unauthorized
                path: /v2/account/dnet-site-mappings
        '200':
          description: OK
          content:
            application/json:
              schema:
                description: Dnet site mappings page
                properties:
                  pageDetails:
                    $ref: '#/components/schemas/PaginationData'
                  dnetSiteMappings:
                    type: array
                    items:
                      $ref: '#/components/schemas/DnetSiteMappingsDto'
  /v2/account/devices:
    get:
      tags:
      - /v2/account
      summary: Fetches the devices of the authenticated user's account.
      operationId: getUserAccountDevices_1
      parameters:
      - name: page
        in: query
        required: false
        schema:
          type: integer
          format: int32
      - name: max
        in: query
        required: false
        schema:
          type: integer
          format: int32
      - name: filterId
        in: query
        description: Optional. If applied, this filter exclusively determines the results.
        required: false
        schema:
          type: integer
          format: int64
      - name: hostname
        in: query
        description: Optional. Filters results based on the provided value using the LIKE operator. Partial matches are allowed.
        required: false
        schema:
          type: string
      - name: deviceType
        in: query
        description: Optional. Filters results based on the provided value using the LIKE operator. Partial matches are allowed.
        required: false
        schema:
          type: string
      - name: operatingSystem
        in: query
        description: Optional. Filters results based on the provided value using the LIKE operator. Partial matches are allowed.
        required: false
        schema:
          type: string
      - name: siteName
        in: query
        description: Optional. Filters results based on the provided value using the LIKE operator. Partial matches are allowed.
        required: false
        schema:
          type: string
      responses:
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                timestamp: 1781181715656
                status: 500
                error: Internal Server Error
                path: /v2/account/devices
        '409':
          description: Conflict
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                timestamp: 1781181715656
                status: 409
                error: Conflict
                path: /v2/account/devices
        '403':
          description: Authenticated user doesn't have access to this resource.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                timestamp: 1781181715656
                status: 403
                error: Forbidden
                path: /v2/account/devices
        '401':
          description: Request can not be authorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                timestamp: 1781181715656
                status: 401
                error: Unauthorized
                path: /v2/account/devices
        '404':
          description: Filter was not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                timestamp: 1781181715656
                status: 404
                error: Not Found
                path: /v2/account/devices
        '200':
          description: OK
          content:
            application/json:
              schema:
                description: Devices page
                properties:
                  pageDetails:
                    $ref: '#/components/schemas/PaginationData'
                  devices:
                    type: array
                    items:
                      $ref: '#/components/schemas/Device'
  /v2/account/components:
    get:
      tags:
      - /v2/account
      summary: Fetches the components records of the authenticated user's account.
      operationId: getComponents
      parameters:
      - name: page
        in: query
        required: false
        schema:
          type: integer
          format: int32
      - name: max
        in: query
        required: false
        schema:
          type: integer
          format: int32
      responses:
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                timestamp: 1781181715656
                status: 500
                error: Internal Server Error
                path: /v2/account/components
        '409':
          description: Conflict
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                timestamp: 1781181715656
                status: 409
                error: Conflict
                path: /v2/account/components
        '403':
          description: Authenticated user doesn't have access to this resource.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                timestamp: 1781181715656
                status: 403
                error: Forbidden
                path: /v2/account/components
        '401':
          description: Request can not be authorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                timestamp: 1781181715656
                status: 401
                error: Unauthorized
                path: /v2/account/components
        '200':
          description: OK
          content:
            application/json:
              schema:
                description: Components page
                properties:
                  pageDetails:
                    $ref: '#/components/schemas/PaginationData'
                  components:
                    type: array
                    items:
                      $ref: '#/components/schemas/Component'
  /v2/account/alerts/resolved:
    get:
      tags:
      - /v2/account
      summary: Fetches resolved alerts of the authenticated user's account.
      description: If the muted parameter is not provided, both muted and umuted alerts will be queried.
      operationId: getUserAccountClosedAlerts
      parameters:
      - name: page
        in: query
        required: false
        schema:
          type: integer
          format: int32
      - name: max
        in: query
        required: false
        schema:
          type: integer
          format: int32
      - name: muted
        in: query
        required: false
        schema:
          type: boolean
      responses:
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                timestamp: 1781181715656
                status: 500
                error: Internal Server Error
                path: /v2/account/alerts/resolved
        '409':
          description: Conflict
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                timestamp: 1781181715656
                status: 409
                error: Conflict
                path: /v2/account/alerts/resolved
        '403':
          description: Authenticated user doesn't have access to this resource.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                timestamp: 1781181715656
                status: 403
                error: Forbidden
                path: /v2/account/alerts/resolved
        '401':
          description: Request can not be authorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                timestamp: 1781181715656
                status: 401
                error: Unauthorized
                path: /v2/account/alerts/resolved
        '200':
          description: OK
          content:
            application/json:
              schema:
                description: Alerts page
                properties:
                  pageDetails:
                    $ref: '#/components/schemas/PaginationData'
                  alerts:
                    type: array
                    items:
                      $ref: '#/components/schemas/Alert'
  /v2/account/alerts/open:
    get:
      tags:
      - /v2/account
      summary: Fetches open alerts of the authenticated user's account.
      description: If the muted parameter is not provided, both muted and umuted alerts will be queried.
      operationId: getUserAccountOpenAlerts
      parameters:
      - name: page
        in: query
        required: false
        schema:
          type: integer
          format: int32
      - name: max
        in: query
        required: false
        schema:
          type: integer
          format: int32
      - name: muted
        in: query
        required: false
        schema:
          type: boolean
      responses:
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                timestamp: 1781181715656
                status: 500
                error: Internal Server Error
                path: /v2/account/alerts/open
        '409':
          description: Conflict
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                timestamp: 1781181715656
                status: 409
                error: Conflict
                path: /v2/account/alerts/open
        '403':
          description: Authenticated user doesn't have access to this resource.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                timestamp: 1781181715656
                status: 403
                error: Forbidden
                path: /v2/account/alerts/open
        '401':
          description: Request can not be authorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                timestamp: 1781181715656
                status: 401
                error: Unauthorized
                path: /v2/account/alerts/open
        '200':
          description: OK
          content:
            application/json:
              schema:
                description: Alerts page
                properties:
                  pageDetails:
                    $ref: '#/components/schemas/PaginationData'
                  alerts:
                    type: array
                    items:
                      $ref: '#/components/schemas/Alert'
components:
  schemas:
    ProxySettings:
      type: object
      description: Site's Proxy Settings
      properties:
        host:
          type: string
        password:
          type: string
        port:
          type: integer
          format: int32
        type:
          type: string
          enum:
          - http
          - socks4
          - socks5
        username:
          type: string
    WindowsPerformanceContext:
      allOf:
      - $ref: '#/components/schemas/AlertContext'
      - type: object
        properties:
          value:
      

# --- truncated at 32 KB (53 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/kaseya/refs/heads/main/openapi/kaseya-v2-account-api-openapi.yml