Authorization headerstore permissioncommunityID401 if the key is missing, invalid, or expired403 if the key does not include the store permissionskip defaults to 0 and must be at least 0limit defaults to 20 and is capped at 100sort accepts field:asc or field:desc using sortable category fields such as displayOrderfields is a comma-separated projection using selectable category fieldssearch accepts keyword:<value> or an allowed searchable fieldfilter accepts field:value using filterable category fields, for example isArchived:falseuserID is only forwarded to the source service as a visibility filter; it does not affect partner authorization400502{ "query": "?skip=0&limit=20&sort=displayOrder:asc&fields=name,displayOrder&search=keyword:premium&filter=isArchived:false" }curl --location --request GET 'https://api.returning.ai/v1/categories?skip&limit=20&sort=displayOrder:asc&fields=name,displayOrder&search=keyword:premium&filter=isArchived:false&userID=507f1f77bcf86cd799439011' \
--header 'Authorization: Bearer XXXXXX'{
"meta": {
"status": "success",
"statusCode": 200,
"skip": 0,
"limit": 20,
"total": 3
},
"message": "Read categories success.",
"data": [
{
"_id": "507f1f77bcf86cd799439021",
"communityID": "6502c9e514a3e564c5c09c0a",
"name": "Premium Rewards",
"coverImage": "https://example.com/category.png",
"shouldShowCover": true,
"isArchived": false,
"viewType": "full",
"displayOrder": 0,
"categoryPermission": [],
"defaultPurchaseStatusID": "650906d314a3e564c56f3450",
"createdAt": "2026-04-28T00:00:00.000Z",
"updatedAt": "2026-04-28T00:00:00.000Z"
}
]
}