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.
Available options:
live, draft Response
Successfully retrieved preference category
JSON schema reference for preference category structure
Example:
"https://schema.suprsend.com/preference_category/v1/schema.json"
Array of preference categories
Version number field as an identifier to track the version
Example:
1
Current status of the preference category
Available options:
draft, active Result of validating the preference category