---
title: "Retrieve Autotask Contracts"
method: GET
path: "/api/v2/integrations/autotask/{UUID}/contracts"
tags: ["Providers"]
---

# Retrieve Autotask Contracts

`GET /api/v2/integrations/autotask/{UUID}/contracts`

## Request

- Base URL: `https://console.jumpcloud.com`
- URL: `https://console.jumpcloud.com/api/v2/integrations/autotask/{UUID}/contracts`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/jumpcloud/apis/jumpcloud-console-api/docs/api/v2/integrations/autotask/:UUID/contracts/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieves a list of Autotask contracts for the given Autotask integration id. You must be associated to the same provider as the Autotask integration to use this endpoint.

## Query parameters

- `fields` string[]
- `filter` string[]
- `limit` integer
- `skip` integer
- `sort` string[]

## Response `200`

- object
  - `results` AutotaskContract[]
    - `id` string, required: The contract identifier.
    - `name` string, required: The contract name.
    - `companyId` string, required: The Autotask company identifier linked to contract.
  - `totalCount` integer

## Other responses

- `400`: Bad Request
- `401`: Unauthenticated
- `403`: Unauthorized
- `404`: Not Found
- `500`: Internal Server Error

---

[API](https://skmtc.dev/jumpcloud/apis/jumpcloud-console-api.md) - [All operations](https://skmtc.dev/jumpcloud/apis/jumpcloud-console-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jumpcloud/apis/jumpcloud-console-api/revisions/f396d9271b46?raw)
