Autotask icon

Autotask

Interact with Kaseya's Autotask PSA REST API to manage companies, tickets, contracts, and more.

Actions1078

Contract Block → Get

AI-generated

Summary

Retrieves one Autotask contract block by its ID. Choose which fields to return and whether to add readable labels or flatten user-defined fields.

Inputs

  • Block ID (required) — ID of the contract block to retrieve.
  • Select Columns Names or IDs. — Fields to include in the response; if none are selected, all fields are returned. The ID is always included.
  • Add Picklist Labels — Defaults to true. Adds human-readable _label fields for non-empty picklist values.
  • Add Reference Labels — Defaults to true. Adds human-readable _label fields for non-empty reference values.
  • Flatten User-Defined Fields — Defaults to false. When enabled, moves user-defined fields from the userDefinedFields array to the top level of the object.

Output shape

A single Autotask contract block record.

The selected columns determine which fields are returned; the ID is always included. Label fields and flattened user-defined fields depend on the corresponding options.

Links

Discussion