Kajabi icon

Kajabi

Consume Kajabi API

Actions80

Offer → Count

AI-generated

Summary

Count offers in Kajabi, optionally filtering by site ID, title substring, or description substring, and applying a sort order. Returns the total number of offers matching the specified filters.

Inputs

  • Filters — Optional filters to narrow down which offers are counted. Includes Site ID (loaded dynamically), Title Contains substring, and Description Contains substring.
  • Sort — Optional sort order applied when counting offers, selectable by title or price in ascending or descending order.
  • Fields — Optional comma-separated list of offer attributes to return, e.g., title,price_in_cents. This affects which fields are included in the response but does not affect the count itself.

Output shape

a single JSON object containing the total count of offers matching the filters

The operation does not call a dedicated count endpoint; instead, it queries all matching offers and returns their total count. Pagination and filtering are supported, but the output is only the count number.

Examples

Example 1: Count all offers containing 'Course' in their title for a specific site

Filters set with Site ID and Title Contains = 'Course'; Sort and Fields optionally left empty or set as needed.

Links

Discussion