Autotask icon

Autotask

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

Actions1078

Opportunity Category → Get

AI-generated

Summary

Fetches an Autotask opportunity category by its ID and returns the category data. You can choose which fields to include, flatten user-defined fields, and add human-readable labels for picklist and reference fields.

Inputs

  • Category ID (required) — ID of the opportunity category to retrieve.
  • Select Columns — Choose 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 returned object.

Output shape

A single item containing the opportunity category record.

The returned fields depend on the selected columns; if none are selected, all fields are returned. The ID is always included. Label fields are added when enabled and values are non-empty.

Links

Discussion