Kaseya Service Calls API

The ServiceCalls API from Kaseya — 7 operation(s) for servicecalls.

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/ServiceCalls/query Search service calls with a URL query · Service calls url parameter query #
Ask an LLM
“How do I find service calls matching a search term in the URL query?”
“Can I search service calls by a keyword and get the results back in the URL?”
Tell an agent
Search service calls for {search} using the URL query.
Find service calls matching {search} in the URL parameter.
POST /V1.0/ServiceCalls/query Search service calls with a POST body · Service calls query #
Ask an LLM
“Can I send a filter as JSON in a POST body to find service calls?”
“What fields can I include when searching service calls with a POST body?”
Tell an agent
Search service calls with filter {filter} in the POST body.
Find service calls matching {filter} and include {includeFields} in the POST body.
GET /V1.0/ServiceCalls/{id} Get one service call · Service calls query item #
Ask an LLM
“How do I look up a single service call by its ID?”
“What details come back for one service call?”
Tell an agent
Get service call {id}.
Show me the details of service call {id}.
DELETE /V1.0/ServiceCalls/{id} Delete a service call · Service calls delete entity #
Ask an LLM
“How do I delete a service call?”
“Can I remove a service call by its ID?”
Tell an agent destructive · confirm first
Delete service call {id}.
Remove the service call with ID {id}.
GET /V1.0/ServiceCalls/query/count Count service calls with a URL query · Service calls url parameter query count #
Ask an LLM
“How many service calls match a search term in the URL query?”
“Can I get just the count of service calls matching a keyword?”
Tell an agent
Count service calls matching {search} using the URL query.
Tell me how many service calls match {search} in the URL parameter.
POST /V1.0/ServiceCalls/query/count Count service calls with a POST body · Service calls query count #
Ask an LLM
“Can I count service calls using a filter in the POST body?”
“What is the total number of service calls matching a filter?”
Tell an agent
Count service calls with filter {filter} in the POST body.
Give me the total number of service calls matching {filter} in the POST body.
PUT /V1.0/ServiceCalls Replace a service call's details · Service calls update entity #
Ask an LLM
“How do I overwrite a service call's status and duration?”
“Can I fully replace a service call's fields?”
Tell an agent
Replace service call {id} with status {status} and duration {duration}.
Overwrite the details of service call {id}.
POST /V1.0/ServiceCalls Create a service call · Service calls create entity #
Ask an LLM
“How do I create a new service call for a customer?”
“Can I set the start and end times when creating a service call?”
Tell an agent
Create a service call with status {status} and duration {duration}.
Add a new service call for company {companyID} starting {startDateTime}.
PATCH /V1.0/ServiceCalls Change some fields of a service call · Service calls patch entity #
Ask an LLM
“Can I change just the status of a service call without resending the rest?”
“How do I mark a service call as complete?”
Tell an agent
Patch service call {id} to status {status}.
Set the status of service call {id} to {status}.
GET /V1.0/ServiceCalls/entityInformation Get service call entity information · Service calls query entity information #
Ask an LLM
“What general entity information is available for service calls?”
“Can I get the service call entity's metadata before building an integration?”
Tell an agent
Get the service call entity information using integration code {code} and username {user}.
Show the service call entity metadata as user {user}, impersonating resource {resource}.
GET /V1.0/ServiceCalls/entityInformation/fields List standard field definitions for service calls · Service calls query field definitions #
Ask an LLM
“Which standard fields are on service calls?”
“What field definitions exist for service call records?”
Tell an agent
List the standard field definitions for service calls using integration code {code} and username {user}.
Return the built-in service call field metadata as user {user}, impersonating resource {resource}.
GET /V1.0/ServiceCalls/entityInformation/userDefinedFields List user-defined field definitions for service calls · Service calls query user defined field definitions #
Ask an LLM
“What user-defined fields exist on service calls?”
“Which custom fields has my account added to service call records?”
Tell an agent
List the user-defined field definitions for service calls using integration code {code} and username {user}.
Return the custom service call field definitions as user {user}, impersonating resource {resource}.

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-servicecalls-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-servicecalls-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: v1
  title: Datto|Autotask PSA Rest Service Calls API
servers:
- url: https://webservices2.autotask.net/ATServicesRest
tags:
- name: ServiceCalls
paths:
  /V1.0/ServiceCalls/query:
    get:
      tags:
      - ServiceCalls
      operationId: ServiceCalls_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_ServiceCallModel_ServiceCall'
            text/json:
              schema:
                $ref: '#/components/schemas/QueryActionResult_ServiceCallModel_ServiceCall'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      summary: Service calls url parameter query
      x-summary-source: derived
    post:
      tags:
      - ServiceCalls
      operationId: ServiceCalls_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_ServiceCallModel_ServiceCall'
            text/json:
              schema:
                $ref: '#/components/schemas/QueryActionResult_ServiceCallModel_ServiceCall'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/QueryModel'
        required: true
      summary: Service calls query
      x-summary-source: derived
  /V1.0/ServiceCalls/{id}:
    get:
      tags:
      - ServiceCalls
      operationId: ServiceCalls_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_ServiceCallModel_ServiceCall'
            text/json:
              schema:
                $ref: '#/components/schemas/ItemQueryResultModel_ServiceCallModel_ServiceCall'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      summary: Service calls query item
      x-summary-source: derived
    delete:
      tags:
      - ServiceCalls
      operationId: ServiceCalls_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: Service calls delete entity
      x-summary-source: derived
  /V1.0/ServiceCalls/query/count:
    get:
      tags:
      - ServiceCalls
      operationId: ServiceCalls_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: Service calls url parameter query count
      x-summary-source: derived
    post:
      tags:
      - ServiceCalls
      operationId: ServiceCalls_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: Service calls query count
      x-summary-source: derived
  /V1.0/ServiceCalls:
    put:
      tags:
      - ServiceCalls
      operationId: ServiceCalls_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/ServiceCallModel'
        required: true
      summary: Service calls update entity
      x-summary-source: derived
    post:
      tags:
      - ServiceCalls
      operationId: ServiceCalls_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/ServiceCallModel'
        required: true
      summary: Service calls create entity
      x-summary-source: derived
    patch:
      tags:
      - ServiceCalls
      operationId: ServiceCalls_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/ServiceCallModel'
        required: true
      summary: Service calls patch entity
      x-summary-source: derived
  /V1.0/ServiceCalls/entityInformation:
    get:
      tags:
      - ServiceCalls
      operationId: ServiceCalls_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: Service calls query entity information
      x-summary-source: derived
  /V1.0/ServiceCalls/entityInformation/fields:
    get:
      tags:
      - ServiceCalls
      operationId: ServiceCalls_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: Service calls query field definitions
      x-summary-source: derived
  /V1.0/ServiceCalls/entityInformation/userDefinedFields:
    get:
      tags:
      - ServiceCalls
      operationId: ServiceCalls_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: Service calls query user defined field definitions
      x-summary-source: derived
components:
  schemas:
    RestUserAccessLevel:
      type: object
      properties: {}
    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
    ItemQueryResultModel_ServiceCallModel_ServiceCall:
      type: object
      properties:
        item:
          $ref: '#/components/schemas/ServiceCallModel'
    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'
    QueryActionResult_ServiceCallModel_ServiceCall:
      type: object
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/ServiceCallModel'
        pageDetails:
          $ref: '#/components/schemas/PagingModel'
    ServiceCallModel:
      type: object
      properties:
        id:
          format: int64
          type: integer
        cancelationNoticeHours:
          format: double
          type: number
        canceledByResourceID:
          format: int32
          type: integer
        canceledDateTime:
          format: date-time
          type: string
        companyID:
          format: int32
          type: integer
        companyLocationID:
          format: int32
          type: integer
        createDateTime:
          format: date-time
          type: string
        creatorResourceID:
          format: int32
          type: integer
        description:
          type: string
        duration:
          format: double
          type: number
        endDateTime:
          format: date-time
          type: string
        impersonatorCreatorResourceID:
          format: int32
          type: integer
        isComplete:
          format: int32
          type: integer
        lastModifiedDateTime:
          format: date-time
          type: string
        startDateTime:
          format: date-time
          type: string
        status:
          format: int32
          type: integer
    OperationResultModel:
      type: object
      properties:
        itemId:
          $ref: '#/components/schemas/Object'
    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'
    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
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)