Kaseya Subscriptions API

The Subscriptions API from Kaseya — 7 operation(s) for subscriptions.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 12

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /V1.0/Subscriptions/query Search subscriptions with a GET query · Subscriptions url parameter query #
Ask an LLM
“How do I search subscriptions by a text query using URL parameters?”
“Can I find subscriptions that match a search term in the URL?”
Tell an agent
Search subscriptions for {search}.
Find subscriptions matching {search} with the GET subscription search.
POST /V1.0/Subscriptions/query Search subscriptions with a POST body · Subscriptions query #
Ask an LLM
“Can I search subscriptions with a filter in the request body?”
“What does a POST subscription search body look like?”
Tell an agent
Search subscriptions matching {filter}.
Find subscriptions using the POST subscription search body.
GET /V1.0/Subscriptions/{id} Get one subscription · Subscriptions query item #
Ask an LLM
“How do I look up a single subscription by ID?”
“What does a subscription record include?”
Tell an agent
Get subscription {id}.
Show me subscription {id}.
DELETE /V1.0/Subscriptions/{id} Delete a subscription · Subscriptions delete entity #
Ask an LLM
“How do I delete a subscription?”
“Can I remove a subscription record?”
Tell an agent destructive · confirm first
Delete subscription {id}.
Remove subscription {id}.
GET /V1.0/Subscriptions/query/count Count subscriptions with a GET query · Subscriptions url parameter query count #
Ask an LLM
“How many subscriptions match a search term in the URL?”
“Can I get a subscription count from a GET query?”
Tell an agent
Count subscriptions matching {search}.
Tell me how many subscriptions match {search}.
POST /V1.0/Subscriptions/query/count Count subscriptions with a filter body · Subscriptions query count #
Ask an LLM
“How many subscriptions are there that fit a filter I send in a POST body?”
“Can I get just a subscription total without pulling every record?”
Tell an agent
Count subscriptions where {filter}, using the POST count query.
Count subscriptions up to {maxRecords} records, signing in as {userName}.
PUT /V1.0/Subscriptions Replace a subscription · Subscriptions update entity #
Ask an LLM
“How do I replace a subscription's full record?”
“Can I overwrite a subscription's period cost and price?”
Tell an agent
Replace subscription {id} with name {subscriptionName}, cost {periodCost} and price {periodPrice}.
Overwrite the whole subscription record {id}.
POST /V1.0/Subscriptions Create a subscription · Subscriptions create entity #
Ask an LLM
“How do I create a new subscription for a vendor?”
“Can I set a subscription's effective and expiration dates?”
Tell an agent
Create subscription {subscriptionName} with vendor {vendorID}.
Create a subscription effective {effectiveDate} expiring {expirationDate}.
PATCH /V1.0/Subscriptions Change fields on a subscription · Subscriptions patch entity #
Ask an LLM
“How do I change just a subscription's status?”
“Can I update a subscription's period price without resending the rest?”
Tell an agent
Set subscription {id}'s status to {status}.
Change subscription {id} to period price {periodPrice}.
GET /V1.0/Subscriptions/entityInformation Get subscription entity information · Subscriptions query entity information #
Ask an LLM
“What metadata does the subscription entity expose?”
“Can I see general entity details for subscriptions before I build queries?”
Tell an agent
Get the subscription entity information as user {userName}.
Show the subscription entity information using integration code {apiIntegrationCode}.
GET /V1.0/Subscriptions/entityInformation/fields List subscription field definitions · Subscriptions query field definitions #
Ask an LLM
“What do each of the standard subscription fields mean?”
“Which built-in fields can I filter subscriptions by?”
Tell an agent
List the standard subscription field definitions as user {userName}.
Show the subscription field descriptions using integration code {apiIntegrationCode}.
GET /V1.0/Subscriptions/entityInformation/userDefinedFields List subscription custom field definitions · Subscriptions query user defined field definitions #
Ask an LLM
“What custom fields have been defined on subscriptions?”
“Which user-defined fields can I use on a subscription?”
Tell an agent
List the user-defined subscription field definitions as user {userName}.
Show custom subscription fields using integration code {apiIntegrationCode}.

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:kaseya-subscriptions-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

kaseya-subscriptions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: v1
  title: Datto|Autotask PSA Rest Subscriptions API
servers:
- url: https://webservices2.autotask.net/ATServicesRest
tags:
- name: Subscriptions
paths:
  /V1.0/Subscriptions/query:
    get:
      tags:
      - Subscriptions
      operationId: Subscriptions_UrlParameterQuery
      parameters:
      - name: search
        in: query
        required: true
        schema:
          type: string
      - name: ApiIntegrationCode
        in: header
        description: API Integration Code
        required: true
        schema:
          type: string
      - name: UserName
        in: header
        description: User Name
        required: true
        schema:
          type: string
      - name: Secret
        in: header
        description: Secret
        required: true
        schema:
          type: string
      - name: ImpersonationResourceId
        in: header
        description: Impersonation Resource Key
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QueryActionResult_SubscriptionModel_Subscription'
            text/json:
              schema:
                $ref: '#/components/schemas/QueryActionResult_SubscriptionModel_Subscription'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      summary: Subscriptions url parameter query
      x-summary-source: derived
    post:
      tags:
      - Subscriptions
      operationId: Subscriptions_Query
      parameters:
      - name: ApiIntegrationCode
        in: header
        description: API Integration Code
        required: true
        schema:
          type: string
      - name: UserName
        in: header
        description: User Name
        required: true
        schema:
          type: string
      - name: Secret
        in: header
        description: Secret
        required: true
        schema:
          type: string
      - name: ImpersonationResourceId
        in: header
        description: Impersonation Resource Key
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QueryActionResult_SubscriptionModel_Subscription'
            text/json:
              schema:
                $ref: '#/components/schemas/QueryActionResult_SubscriptionModel_Subscription'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/QueryModel'
        required: true
      summary: Subscriptions query
      x-summary-source: derived
  /V1.0/Subscriptions/{id}:
    get:
      tags:
      - Subscriptions
      operationId: Subscriptions_QueryItem
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
          format: int64
      - name: ApiIntegrationCode
        in: header
        description: API Integration Code
        required: true
        schema:
          type: string
      - name: UserName
        in: header
        description: User Name
        required: true
        schema:
          type: string
      - name: Secret
        in: header
        description: Secret
        required: true
        schema:
          type: string
      - name: ImpersonationResourceId
        in: header
        description: Impersonation Resource Key
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ItemQueryResultModel_SubscriptionModel_Subscription'
            text/json:
              schema:
                $ref: '#/components/schemas/ItemQueryResultModel_SubscriptionModel_Subscription'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      summary: Subscriptions query item
      x-summary-source: derived
    delete:
      tags:
      - Subscriptions
      operationId: Subscriptions_DeleteEntity
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
          format: int64
      - name: ApiIntegrationCode
        in: header
        description: API Integration Code
        required: true
        schema:
          type: string
      - name: UserName
        in: header
        description: User Name
        required: true
        schema:
          type: string
      - name: Secret
        in: header
        description: Secret
        required: true
        schema:
          type: string
      - name: ImpersonationResourceId
        in: header
        description: Impersonation Resource Key
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OperationResultModel'
            text/json:
              schema:
                $ref: '#/components/schemas/OperationResultModel'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      summary: Subscriptions delete entity
      x-summary-source: derived
  /V1.0/Subscriptions/query/count:
    get:
      tags:
      - Subscriptions
      operationId: Subscriptions_UrlParameterQueryCount
      parameters:
      - name: search
        in: query
        required: true
        schema:
          type: string
      - name: ApiIntegrationCode
        in: header
        description: API Integration Code
        required: true
        schema:
          type: string
      - name: UserName
        in: header
        description: User Name
        required: true
        schema:
          type: string
      - name: Secret
        in: header
        description: Secret
        required: true
        schema:
          type: string
      - name: ImpersonationResourceId
        in: header
        description: Impersonation Resource Key
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QueryCountResultModel'
            text/json:
              schema:
                $ref: '#/components/schemas/QueryCountResultModel'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      summary: Subscriptions url parameter query count
      x-summary-source: derived
    post:
      tags:
      - Subscriptions
      operationId: Subscriptions_QueryCount
      parameters:
      - name: ApiIntegrationCode
        in: header
        description: API Integration Code
        required: true
        schema:
          type: string
      - name: UserName
        in: header
        description: User Name
        required: true
        schema:
          type: string
      - name: Secret
        in: header
        description: Secret
        required: true
        schema:
          type: string
      - name: ImpersonationResourceId
        in: header
        description: Impersonation Resource Key
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QueryCountResultModel'
            text/json:
              schema:
                $ref: '#/components/schemas/QueryCountResultModel'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/QueryModel'
        required: true
      summary: Subscriptions query count
      x-summary-source: derived
  /V1.0/Subscriptions:
    put:
      tags:
      - Subscriptions
      operationId: Subscriptions_UpdateEntity
      parameters:
      - name: ApiIntegrationCode
        in: header
        description: API Integration Code
        required: true
        schema:
          type: string
      - name: UserName
        in: header
        description: User Name
        required: true
        schema:
          type: string
      - name: Secret
        in: header
        description: Secret
        required: true
        schema:
          type: string
      - name: ImpersonationResourceId
        in: header
        description: Impersonation Resource Key
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OperationResultModel'
            text/json:
              schema:
                $ref: '#/components/schemas/OperationResultModel'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SubscriptionModel'
        required: true
      summary: Subscriptions update entity
      x-summary-source: derived
    post:
      tags:
      - Subscriptions
      operationId: Subscriptions_CreateEntity
      parameters:
      - name: ApiIntegrationCode
        in: header
        description: API Integration Code
        required: true
        schema:
          type: string
      - name: UserName
        in: header
        description: User Name
        required: true
        schema:
          type: string
      - name: Secret
        in: header
        description: Secret
        required: true
        schema:
          type: string
      - name: ImpersonationResourceId
        in: header
        description: Impersonation Resource Key
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OperationResultModel'
            text/json:
              schema:
                $ref: '#/components/schemas/OperationResultModel'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SubscriptionModel'
        required: true
      summary: Subscriptions create entity
      x-summary-source: derived
    patch:
      tags:
      - Subscriptions
      operationId: Subscriptions_PatchEntity
      parameters:
      - name: ApiIntegrationCode
        in: header
        description: API Integration Code
        required: true
        schema:
          type: string
      - name: UserName
        in: header
        description: User Name
        required: true
        schema:
          type: string
      - name: Secret
        in: header
        description: Secret
        required: true
        schema:
          type: string
      - name: ImpersonationResourceId
        in: header
        description: Impersonation Resource Key
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OperationResultModel'
            text/json:
              schema:
                $ref: '#/components/schemas/OperationResultModel'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SubscriptionModel'
        required: true
      summary: Subscriptions patch entity
      x-summary-source: derived
  /V1.0/Subscriptions/entityInformation:
    get:
      tags:
      - Subscriptions
      operationId: Subscriptions_QueryEntityInformation
      parameters:
      - name: ApiIntegrationCode
        in: header
        description: API Integration Code
        required: true
        schema:
          type: string
      - name: UserName
        in: header
        description: User Name
        required: true
        schema:
          type: string
      - name: Secret
        in: header
        description: Secret
        required: true
        schema:
          type: string
      - name: ImpersonationResourceId
        in: header
        description: Impersonation Resource Key
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EntityInformationResultModel'
            text/json:
              schema:
                $ref: '#/components/schemas/EntityInformationResultModel'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      summary: Subscriptions query entity information
      x-summary-source: derived
  /V1.0/Subscriptions/entityInformation/fields:
    get:
      tags:
      - Subscriptions
      operationId: Subscriptions_QueryFieldDefinitions
      parameters:
      - name: ApiIntegrationCode
        in: header
        description: API Integration Code
        required: true
        schema:
          type: string
      - name: UserName
        in: header
        description: User Name
        required: true
        schema:
          type: string
      - name: Secret
        in: header
        description: Secret
        required: true
        schema:
          type: string
      - name: ImpersonationResourceId
        in: header
        description: Impersonation Resource Key
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FieldInformationResultModel'
            text/json:
              schema:
                $ref: '#/components/schemas/FieldInformationResultModel'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      summary: Subscriptions query field definitions
      x-summary-source: derived
  /V1.0/Subscriptions/entityInformation/userDefinedFields:
    get:
      tags:
      - Subscriptions
      operationId: Subscriptions_QueryUserDefinedFieldDefinitions
      parameters:
      - name: ApiIntegrationCode
        in: header
        description: API Integration Code
        required: true
        schema:
          type: string
      - name: UserName
        in: header
        description: User Name
        required: true
        schema:
          type: string
      - name: Secret
        in: header
        description: Secret
        required: true
        schema:
          type: string
      - name: ImpersonationResourceId
        in: header
        description: Impersonation Resource Key
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserDefinedFieldInformationResultModel'
            text/json:
              schema:
                $ref: '#/components/schemas/UserDefinedFieldInformationResultModel'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      summary: Subscriptions query user defined field definitions
      x-summary-source: derived
components:
  schemas:
    RestUserAccessLevel:
      type: object
      properties: {}
    FieldInformationModel:
      type: object
      properties:
        name:
          type: string
        dataType:
          type: string
        length:
          format: int32
          type: integer
        isRequired:
          type: boolean
        isReadOnly:
          type: boolean
        isQueryable:
          type: boolean
        isReference:
          type: boolean
        referenceEntityType:
          type: string
        isPickList:
          type: boolean
        picklistValues:
          type: array
          items:
            $ref: '#/components/schemas/PickListValue'
        picklistParentValueField:
          type: string
        isSupportedWebhookField:
          $ref: '#/components/schemas/Object'
    QueryActionResult_SubscriptionModel_Subscription:
      type: object
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/SubscriptionModel'
        pageDetails:
          $ref: '#/components/schemas/PagingModel'
    EntityInformationModel:
      type: object
      properties:
        name:
          type: string
          readOnly: true
        canCreate:
          type: boolean
          readOnly: true
        canDelete:
          type: boolean
          readOnly: true
        canQuery:
          type: boolean
          readOnly: true
        canUpdate:
          type: boolean
          readOnly: true
        userAccessForCreate:
          $ref: '#/components/schemas/RestUserAccessLevel'
          readOnly: true
        userAccessForDelete:
          $ref: '#/components/schemas/RestUserAccessLevel'
          readOnly: true
        userAccessForQuery:
          $ref: '#/components/schemas/RestUserAccessLevel'
          readOnly: true
        userAccessForUpdate:
          $ref: '#/components/schemas/RestUserAccessLevel'
          readOnly: true
        hasUserDefinedFields:
          type: boolean
          readOnly: true
        supportsWebhookCallouts:
          type: boolean
          readOnly: true
    FieldInformationResultModel:
      type: object
      properties:
        fields:
          type: array
          items:
            $ref: '#/components/schemas/FieldInformationModel'
            readOnly: true
    UserDefinedFieldInformationResultModel:
      type: object
      properties:
        fields:
          type: array
          items:
            $ref: '#/components/schemas/Field'
            readOnly: true
    UserDefinedField:
      type: object
      properties:
        name:
          type: string
        value:
          type: string
    QueryModel:
      type: object
      properties:
        maxRecords:
          format: int32
          type: integer
        includeFields:
          type: array
          items:
            type: string
        filter:
          type: array
          items:
            $ref: '#/components/schemas/Filter'
      example:
        MaxRecords: 10
        IncludeFields: []
        Filter:
        - op: gt
          field: id
          value: 0
          udf: false
          items: []
    Field:
      type: object
      properties:
        name:
          type: string
        label:
          type: string
        type:
          type: string
        length:
          format: int32
          type: integer
        description:
          type: string
        isRequired:
          type: boolean
        isReadOnly:
          type: boolean
        isQueryable:
          type: boolean
        isReference:
          type: boolean
        referenceEntityType:
          type: string
        isPickList:
          type: boolean
        picklistValues:
          type: array
          items:
            $ref: '#/components/schemas/PickListValue'
        picklistParentValueField:
          type: string
        defaultValue:
          type: string
        isSupportedWebhookField:
          $ref: '#/components/schemas/Object'
    EntityInformationResultModel:
      type: object
      properties:
        info:
          $ref: '#/components/schemas/EntityInformationModel'
          readOnly: true
    PagingModel:
      type: object
      properties:
        count:
          format: int32
          type: integer
        requestCount:
          format: int32
          type: integer
          readOnly: true
        prevPageUrl:
          type: string
        nextPageUrl:
          type: string
    Object:
      type: object
      properties: {}
    Filter:
      type: object
      properties:
        op:
          type: string
        field:
          type: string
        udf:
          type: boolean
        value:
          description: 'Can be either an Integer, String, Boolean, an Array of Integers, or an Array of Strings. '
          type: object
          properties: {}
        items:
          description: An Array of Filter objects
          type: array
          items:
            $ref: '#/components/schemas/Filter'
    OperationResultModel:
      type: object
      properties:
        itemId:
          $ref: '#/components/schemas/Object'
    ItemQueryResultModel_SubscriptionModel_Subscription:
      type: object
      properties:
        item:
          $ref: '#/components/schemas/SubscriptionModel'
    PickListValue:
      type: object
      properties:
        value:
          type: string
        label:
          type: string
        isDefaultValue:
          type: boolean
        sortOrder:
          format: int32
          type: integer
        parentValue:
          type: string
        isActive:
          type: boolean
        isSystem:
          type: boolean
    QueryCountResultModel:
      type: object
      properties:
        queryCount:
          format: int32
          type: integer
    SubscriptionModel:
      type: object
      properties:
        id:
          format: int64
          type: integer
        configurationItemID:
          format: int32
          type: integer
        description:
          type: string
        effectiveDate:
          format: date-time
          type: string
        expirationDate:
          format: date-time
          type: string
        impersonatorCreatorResourceID:
          format: int32
          type: integer
        materialCodeID:
          format: int32
          type: integer
        organizationalLevelAssociationID:
          format: int32
          type: integer
        periodCost:
          format: double
          type: number
        periodPrice:
          format: double
          type: number
        periodType:
          format: int32
          type: integer
        purchaseOrderNumber:
          type: string
        status:
          format: int32
          type: integer
        subscriptionName:
          type: string
        totalCost:
          format: double
          type: number
        totalPrice:
          format: double
          type: number
        vendorID:
          format: int32
          type: integer
        userDefinedFields:
          type: array
          items:
            $ref: '#/components/schemas/UserDefinedField'
x-provenance:
  method: harvested
  publisher: Kaseya
  source: https://webservices5.autotask.net/ATServicesRest/swagger/docs/v1
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)