Skip to content

List current user's subcategory preferences

GET
/api/v1/user-subcategory-preference
curl --request GET \
--url https://example.com/api/v1/user-subcategory-preference

Subcategory preferences for the authenticated user, or an empty list for anonymous requests

Media typeapplication/json
Array<object>
object
id
required

Preference ID (15 chars)

string
user
required

User ID (15 chars)

string
subcategory
required

Subcategory ID (15 chars)

string
visible
required
boolean
priority
integer
nullable
created
string format: date-time
updated
string format: date-time
Examplegenerated
[
{
"id": "example",
"user": "example",
"subcategory": "example",
"visible": true,
"priority": 1,
"created": "2026-04-15T12:00:00Z",
"updated": "2026-04-15T12:00:00Z"
}
]

Internal Server Error