Skip to main content
PUT
Update a content

Authorizations

Authorization
string
header
required

API key starting with sk_. Generate one in Settings > API Keys.

Path Parameters

id
string
required

Content ID.

Body

application/json
version
integer
required

Current version for optimistic locking.

assignedToId
string | null

New assignee ID, or null to unassign.

contentStatusId
string | null

New workflow status ID.

dueDate
string | null

New due date (ISO 8601), or null to remove.

folderId
string | null

New folder ID, or null to remove.

html
string

New HTML body.

metaDescription
string

New meta description.

title
string

New title.

Maximum string length: 255

Response

200 - application/json

Default Response

assignedTo
object | null
required

User assigned to this content.

contentScore
integer | null
required

This score out of 100 measures the SEO quality of a content.

contentStatus
object | null
required

Workflow status assigned to this content.

contentUpdatedAt
string | null
required

ISO 8601 date of the last content body change.

createdAt
string
required

ISO 8601 creation date.

dueDate
string | null
required

Due date (ISO 8601).

folder
object | null
required

Folder this content is organized in.

id
string
required

Unique identifier of the content.

page
object
required

Page this content belongs to.

publishedAt
string | null
required

Publication date (ISO 8601).

title
string | null
required

Title of the content.

type
enum<string>
required

Content type.

Available options:
DRAFT,
PUBLISHED,
ORIGINAL
updatedAt
string | null
required

ISO 8601 last update date.

wordsCount
integer | null
required

Number of words in the content.

contentUpdatedBy
object | null
required

User who last edited the content body.

html
string | null
required

HTML body of the content as authored in the Semji editor. May contain editor-only markers (comments, fact-check annotations) — for a clean version safe to publish externally, use htmlSanitized.

htmlSanitized
string | null
required

HTML body of the content with all Semji editor annotations (comments, fact-check markers) stripped. Safe to push into a CMS or publish externally.

isStarted
boolean
required

Whether the content has any HTML body.

lastGeneration
object | null
required

Last Atomic Content generation.

metaDescription
string | null
required

Meta description for SEO.

publishedBy
object | null
required

User who published this content.

version
integer
required

Optimistic locking version.