Skip to main content
POST
Create an organization style preset

Authorizations

Authorization
string
header
required

Short-lived, Developer-API-audience token obtained by the trusted MCP service through token exchange (mcp_at_...). Raw MCP resource tokens are rejected.

Body

application/json
name
string
required

Style preset name

Example:

"Corporate Blue"

definition
object
required

Reusable style definition. Supports all Defaults fields and may include an optional document object for page defaults such as size, margins, and orientation.

orgId
string

Organization that owns the style preset. May be omitted only when the current user belongs to exactly one organization.

Example:

"550e8400-e29b-41d4-a716-446655440000"

description
string
Example:

"Company branding style"

isDefault
boolean

Whether this is the default style preset for the organization. Organization management permission is required.

Example:

false

Response

201 - application/json
id
string
required
Example:

"550e8400-e29b-41d4-a716-446655440000"

userId
string
required
Example:

"550e8400-e29b-41d4-a716-446655440000"

name
string
required
Example:

"Corporate Blue"

definition
object
required

Reusable style definition. Supports all Defaults fields and may include an optional document object for page defaults such as size, margins, and orientation.

isDefault
boolean
required
Example:

false

version
number
required
Example:

1

createdAt
string<date-time>
required
Example:

"2024-01-01T00:00:00.000Z"

updatedAt
string<date-time>
required
Example:

"2024-01-01T00:00:00.000Z"

orgId
string | null
Example:

"550e8400-e29b-41d4-a716-446655440000"

description
string | null
Example:

"Company branding style"