Get Preference Category
Retrieve the current preference category for a workspace
Documentation Index
Fetch the complete documentation index at: https://docs.suprsend.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
You can get Service Token from SuprSend dashboard -> Account Settings -> Service Tokens section.
Path Parameters
Workspace slug (staging, production, etc.)
Query Parameters
Mode to retrieve categories. Use 'live' for active categories or 'draft' for current draft.
live, draft Response
Successfully retrieved preference category
JSON schema reference for preference category structure
"https://schema.suprsend.com/preference_category/v1/schema.json"
Array of root preference categories
Version number field as an identifier to track the version
1
Current status of the preference category
draft, active Result of validating the preference category