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.
You can get Service Token from SuprSend dashboard -> Account Settings -> Service Tokens section.
Workspace slug (staging, production, etc.)
Mode to retrieve categories. Use 'live' for active categories or 'draft' for current draft.
live, draft 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