Developer
GET /affiliate-categories

List affiliate categories

Affiliate Categories

Description

Retrieve paginated affiliate activity categories from the category table.

Affiliate activity_types must use assignable category path values returned by this endpoint.

Authentication Required: User must be authenticated and have the 'affiliate' feature flag.

Parameters

page integer query
Page number for pagination
query string query
Case-insensitive search against the localized category name. Ignored when `ids` is provided.
ids string query
Comma-separated category IDs to return
Accept-Language string header
Locale used for the returned category name

Responses

200 Successful response
application/json
statusstring
Example: success
dataarray
current_pageinteger
Example: 1
total_resultsinteger
Example: 10
total_pagesinteger
Example: 1
401 Authentication required
application/json
Example:
{
  "status": "error",
  "message": "Not authenticated or insufficient permissions"
}
403 Insufficient permissions - user must be affiliate
application/json
Example:
{
  "status": "error",
  "message": "Feature affiliate required"
}