GET
List Cohorts
Returns a paginated list of cohorts belonging to a campaign. Use this endpoint to monitor which cohorts have been uploaded and track their processing status.

Authorizations

X-API-Key
string
header
required

Path Parameters

org_id
string
required
workspace_id
string
required
campaign_id
string
required

Query Parameters

offset
integer
default:0

Number of records to skip

Required range: x >= 0
limit
integer
default:10

Number of records to return (max 100)

Required range: 1 <= x <= 100
sort_by
string | null
default:created_at

Field to sort by

sort_order
string | null
default:desc

Sort order (asc or desc)

search
string | null

Search query string

Response

Successful Response

Paginated list of cohorts.

items
CohortMetadata · object[]
required

List of cohorts on this page

total
integer
required

Total number of cohorts matching the query

Example:

1

limit
integer
required

Maximum number of items per page

Example:

10

offset
integer
required

Number of items skipped

Example:

0

next_page_uri
string | null

URI to fetch the next page, or null if this is the last page

Example:

null

prev_page_uri
string | null

URI to fetch the previous page, or null if this is the first page

Example:

null