Skip to main content
PATCH
Update a contract's content

Authorizations

Authorization
string
header
required

OAuth 2.1 authorization code + PKCE (S256). Tokens are tenant-bound (company_id) and scoped. Discover endpoints via /.well-known/oauth-authorization-server.

Path Parameters

id
string
required

The id.

Body

application/json

Upsert or reset the per-creator contract document override.

content
string | null
required

Document content: a non-empty string (≤1MB) to upsert, or null to reset to the campaign default. For tiptap-json format the string must be valid JSON.

contentFormat
enum<string>
default:tiptap-json

Content serialization format (defaults to tiptap-json when omitted/invalid).

Available options:
tiptap-json,
html

Response

Result of the content upsert/reset, including regenerated PDF URL and pending-review flag.

data
object
required