Skip to main content
PATCH
Commit Category

Authorizations

ServiceToken <token>
string
header
required

You can get Service Token from SuprSend dashboard -> Account Settings -> Service Tokens section.

Path Parameters

workspace
string
required

Workspace slug (staging, production, etc.)

Query Parameters

commit_message
string
required

Commit message describing the changes being made live.

Response

Successfully committed preference category

$schema
string

JSON schema reference for preference category structure

Example:

"https://schema.suprsend.com/preference_category/v1/schema.json"

root_categories
object[]

Array of root preference categories

status
enum<string>

Current status of the preference category

Available options:
draft,
active
Example:

"active"

version_no
integer

Version number field as an identifier to track the version

Example:

2

commit_message
string

Commit message describing the changes that were made live

Example:

"Added password-reset category"

committed_at
string<date-time>

Timestamp when the changes were committed

Example:

"2025-10-03T09:52:55.273317+00:00"