Skip to content

Add or update an article

POST
/cms/content

Article data to create or update

object
id

Existing article ID to update. Leave empty to create a new article

integer
nullable
type

Article type ID or type name

string
platformId

Platform ID to assign the article

integer
status

Article status: draft, publish, unpublish

string
title

Title of the article

string
teaser

Article teaser text

string
tag

Tags for the article

string
byline

Author byline

string
url

Custom URL for the article

string
descriptive_summary

Short descriptive summary of the article

string
firstPublished

First published date

string format: date-time
lastUpdate

Last updated date

string format: date-time
sponsorId

ID of sponsor

integer
nullable
sourceId

ID of source

integer
nullable
author

List of author IDs

Array<integer>
keywords

Keywords for the article

Array<string>
related

Related article IDs

Array<integer>
category

Category IDs or names

Array<integer>
options

Custom fields as key-value pairs

object
seo

SEO settings

object
title
string
description
string
social_title
string
social_description
string
versionId

Existing version ID if updating a specific version

integer
nullable
version_title

Title for the version

string
summary

Version summary text

string
introduction

Version introduction text

string
contents

Main content of the version

string

Imported article and version

object
item

The article created or updated

Array<string>
version

The article version created or updated

Array<string>

Permission denied