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/jsonstatusstring
Example:
successdataarray
current_pageinteger
Example:
1total_resultsinteger
Example:
10total_pagesinteger
Example:
1
401
Authentication required
application/jsonExample:
{
"status": "error",
"message": "Not authenticated or insufficient permissions"
}
403
Insufficient permissions - user must be affiliate
application/jsonExample:
{
"status": "error",
"message": "Feature affiliate required"
}