Get content by ID or slug
const url = 'https://api.example.com/cms/content/example';const options = {method: 'GET', headers: {'API-Key': '<API-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.example.com/cms/content/example \ --header 'API-Key: <API-Key>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Content ID or slug
Responses
Section titled “Responses”Content found
object
API representation of an article/content item (v3)
object
Object PHP class name
Article ID (numeric string)
Signature
Absolute URL
Short URL
Slug
API representation of a content type
object
Content Type ID
Name
Slug
Editor
Views count
Comments count
Average rating by customers
Total ratings count
Preview limit
Excluded from search engine flag
Title
First published date, MySQL datetime (Y-m-d H:i:s)
Last update date, MySQL datetime (Y-m-d H:i:s)
Categories
API representation of a category
object
Category ID
Page builder category template to render the category with (own, else nearest parent’s, else the publication’s). Only on GET /cms/category/{id}; null when none applies or the page builder is off
The page builder template to render a category, publication, article, author or keyword with (the layoutTemplate field of their views). For category, author, keyword and article pages, prefer their /layout endpoint (e.g. GET /cms/category/{category_id}/layout), which returns the object and this template already filled in one call. Otherwise fetch the layout with GET /cms/layout/key/{key}, or GET /cms/layout/{id} when key is null.
object
Layout ID of the template
Stable key of the template; null when not set
Template name
Why this template applies, most specific first: the content type (article templates only), the category itself, a parent category, or the publication; for author and keyword templates, the author or keyword itself
What the template is used for
ID of the content type, category, publication, author or keyword
Category name
Seo name
Signature
Slug
Type ID or object
Parent category ID
Parent object
Image URL
Cover URL
Logo URL
Paid flag
PHP class name of the object
Absolute URL
CSS code
Template name
Tagline
Link parameter
Description
Meta description
IPTC Media Topic code
Order
Page ID
Articles count
Allow comments flag
Access type of the category (e.g., public, restricted)
Status
Content length
Summary
Introduction
Premium flag
Free flag
Credits
Authors
API representation of an author
object
Author ID (numeric string)
Page builder author template linked to this author. Only on GET /cms/author/{id}; null when none is linked (use your default template) or the page builder is off
The page builder template to render a category, publication, article, author or keyword with (the layoutTemplate field of their views). For category, author, keyword and article pages, prefer their /layout endpoint (e.g. GET /cms/category/{category_id}/layout), which returns the object and this template already filled in one call. Otherwise fetch the layout with GET /cms/layout/key/{key}, or GET /cms/layout/{id} when key is null.
object
Layout ID of the template
Stable key of the template; null when not set
Template name
Why this template applies, most specific first: the content type (article templates only), the category itself, a parent category, or the publication; for author and keyword templates, the author or keyword itself
What the template is used for
ID of the content type, category, publication, author or keyword
URL to the author page
Author name
Image URL
Available image transformations in different sizes
object
Width in pixels (numeric string)
Height in pixels (numeric string)
URL to the transformed image; empty string when the author has no image
Cover image URL
Author email
Department
Editorial name (slug)
Short biography
Full description (HTML)
Name in latin characters
Country code or name
Google+ profile (legacy)
Twitter handle (without @)
Facebook username
LinkedIn profile
Instagram handle
Class name of the object
If this author was replaced, id of replacement
Source, if present
Sponsor
API representation of a sponsor
object
Sponsor ID (numeric string)
URL to the sponsor page
Sponsor name
Image URL
Attachments
API representation of an attachment (images, video, files)
object
Attachment ID (numeric string)
Name
Description
Type (image|video|file)
Public URL
Width in pixels
Height in pixels
Focal point as “x% y%”
Transforms (list of available image transforms)
object
Width in pixels (numeric string)
Height in pixels (numeric string)
URL of the transformed image
Additional urls per transform
object
Search title
Search description
Social title
Video object when type is video
API representation of a video
object
Video ID (numeric string)
Title
URL
Duration in seconds (numeric string)
Episode number (numeric string)
Status
Show ID (numeric string)
Show name
Show URL
Brief
Thumbnail URL
ThumbnailPlay URL
Filename/URL
Publish date
Views (numeric string)
Publish flag
Formats
API representation of a video format
object
Format
Filename/URL
CDN path
MIME type
Duration in seconds
Inline attachments
API representation of an attachment (images, video, files)
object
Attachment ID (numeric string)
Name
Description
Type (image|video|file)
Public URL
Width in pixels
Height in pixels
Focal point as “x% y%”
Transforms (list of available image transforms)
object
Width in pixels (numeric string)
Height in pixels (numeric string)
URL of the transformed image
Additional urls per transform
object
Search title
Search description
Social title
Video object when type is video
API representation of a video
object
Video ID (numeric string)
Title
URL
Duration in seconds (numeric string)
Episode number (numeric string)
Status
Show ID (numeric string)
Show name
Show URL
Brief
Thumbnail URL
ThumbnailPlay URL
Filename/URL
Publish date
Views (numeric string)
Publish flag
Formats
API representation of a video format
object
Format
Filename/URL
CDN path
MIME type
Duration in seconds
Files
API representation of an attachment (images, video, files)
object
Attachment ID (numeric string)
Name
Description
Type (image|video|file)
Public URL
Width in pixels
Height in pixels
Focal point as “x% y%”
Transforms (list of available image transforms)
object
Width in pixels (numeric string)
Height in pixels (numeric string)
URL of the transformed image
Additional urls per transform
object
Search title
Search description
Social title
Video object when type is video
API representation of a video
object
Video ID (numeric string)
Title
URL
Duration in seconds (numeric string)
Episode number (numeric string)
Status
Show ID (numeric string)
Show name
Show URL
Brief
Thumbnail URL
ThumbnailPlay URL
Filename/URL
Publish date
Views (numeric string)
Publish flag
Formats
API representation of a video format
object
Format
Filename/URL
CDN path
MIME type
Duration in seconds
Videos
API representation of an attachment (images, video, files)
object
Attachment ID (numeric string)
Name
Description
Type (image|video|file)
Public URL
Width in pixels
Height in pixels
Focal point as “x% y%”
Transforms (list of available image transforms)
object
Width in pixels (numeric string)
Height in pixels (numeric string)
URL of the transformed image
Additional urls per transform
object
Search title
Search description
Social title
Video object when type is video
API representation of a video
object
Video ID (numeric string)
Title
URL
Duration in seconds (numeric string)
Episode number (numeric string)
Status
Show ID (numeric string)
Show name
Show URL
Brief
Thumbnail URL
ThumbnailPlay URL
Filename/URL
Publish date
Views (numeric string)
Publish flag
Formats
API representation of a video format
object
Format
Filename/URL
CDN path
MIME type
Duration in seconds
Keywords
API representation of a keyword
object
Keyword ID (numeric string)
Page builder keyword template linked to this keyword. Only on GET /cms/keyword/{id}; null when none is linked (use your default template) or the page builder is off
The page builder template to render a category, publication, article, author or keyword with (the layoutTemplate field of their views). For category, author, keyword and article pages, prefer their /layout endpoint (e.g. GET /cms/category/{category_id}/layout), which returns the object and this template already filled in one call. Otherwise fetch the layout with GET /cms/layout/key/{key}, or GET /cms/layout/{id} when key is null.
object
Layout ID of the template
Stable key of the template; null when not set
Template name
Why this template applies, most specific first: the content type (article templates only), the category itself, a parent category, or the publication; for author and keyword templates, the author or keyword itself
What the template is used for
ID of the content type, category, publication, author or keyword
Name
URL
Slug
Description
Articles count
If this keyword was replaced, id of replacement
Display name
Translations
Collection id
Image URL
Language of the article, as a two- or three-letter code: the one set in its Translations panel, else its primary category’s publication locale (fr-FR gives fr). Empty when neither is known. Missing from arrays cached before this field was added, until they are rebuilt.
The published translations of this article (the other articles in its language group), sorted by language; an empty array when it has none. Scheduled translations appear once their publish date has passed. Missing from arrays cached before this field was added, until they are rebuilt.
object
Article ID of the translation
Its language code
Its title
Its absolute URL
First published date, MySQL datetime (Y-m-d H:i:s)
Last update date, MySQL datetime (Y-m-d H:i:s)
Elements (youtube, liveblogs, polls, quiz); an empty array when the article has none
object
Live blogs in the article
API representation of a liveblog
object
LiveBlog ID
Title
Start date
End date
Websocket room name
Preview messages
API representation of a liveblog message
object
Message ID
Timestamp
Text
Title
Minute
Additional minute value
Type id
Image letter/character
Highlight flag
HTML content
User display name
User thumbnail URL
Polls in the article
API representation of a poll
object
Poll ID (numeric string)
Timestamp, MySQL datetime (Y-m-d H:i:s)
Question
Choices
object
Choice number
Choice text
Choice image URL (only when the choice has an image)
Votes
Slug
API representation of a poll category
object
Category ID (numeric string)
Name
Results, keyed by choice number, plus a total key with the total number of votes
Message
Only logged in (“0” or “1”)
End date
Voted (only true when voting)
Closed (“0” or “1”)
Quizzes in the article
API representation of a quiz
object
Quiz ID
Name
Timestamp
Image
Cover picture
Description
Share
Template
Allow form
Introduction message
Thankyou message
Terms
Status
Questions
API representation of a quiz question
object
Question ID
Title
Result text
Image
Choices
API representation of a quiz answer
object
Answer ID
Answer text
Letter
Image
Correct
Points
Votes
Results
API representation of a quiz result
object
Result ID
Result
Image
Letter
Result text
Share
Twitter share
Minimum
Maximum
Votes
YouTube video IDs in the article
SEO object
object
Search title
Search description
Social title
Social description
Social image URL
Time to read (seconds)
Access control enabled
Access allowed
Status
Cached flag
The page builder article template to render it with; null when none applies or the page builder is off
The page builder template to render a category, publication, article, author or keyword with (the layoutTemplate field of their views). For category, author, keyword and article pages, prefer their /layout endpoint (e.g. GET /cms/category/{category_id}/layout), which returns the object and this template already filled in one call. Otherwise fetch the layout with GET /cms/layout/key/{key}, or GET /cms/layout/{id} when key is null.
object
Layout ID of the template
Stable key of the template; null when not set
Template name
Why this template applies, most specific first: the content type (article templates only), the category itself, a parent category, or the publication; for author and keyword templates, the author or keyword itself
What the template is used for
ID of the content type, category, publication, author or keyword
Example
{ "data": [ { "id": "2906598", "contentType": { "editor": "default" }, "firstPublished": "2026-10-13 14:02:05", "lastUpdate": "2026-10-13 14:02:05", "categories": [ { "layoutTemplate": { "id": 31, "key": "opinion-article", "name": "Opinion article", "matchedBy": "article_type", "targetType": "article_type", "targetId": 14 } } ], "authors": [ { "id": "1073916", "layoutTemplate": { "id": 31, "key": "opinion-article", "name": "Opinion article", "matchedBy": "article_type", "targetType": "article_type", "targetId": 14 }, "image_transforms": [ { "x": "200", "y": "100" } ] } ], "sponsor": { "id": "1" }, "attachments": [ { "id": "110586", "transforms": [ { "x": "200", "y": "100" } ], "video": { "id": "4903", "duration": "171", "number": "1", "showId": "2", "views": "0" } } ], "inline_attachments": [ { "id": "110586", "transforms": [ { "x": "200", "y": "100" } ], "video": { "id": "4903", "duration": "171", "number": "1", "showId": "2", "views": "0" } } ], "files": [ { "id": "110586", "transforms": [ { "x": "200", "y": "100" } ], "video": { "id": "4903", "duration": "171", "number": "1", "showId": "2", "views": "0" } } ], "videos": [ { "id": "110586", "transforms": [ { "x": "200", "y": "100" } ], "video": { "id": "4903", "duration": "171", "number": "1", "showId": "2", "views": "0" } } ], "keywords": [ { "keywordId": "408663", "layoutTemplate": { "id": 31, "key": "opinion-article", "name": "Opinion article", "matchedBy": "article_type", "targetType": "article_type", "targetId": 14 } } ], "language": "en", "translations": [ { "id": 2906648, "language": "fr", "firstPublished": "2026-10-13 14:02:05", "lastUpdate": "2026-10-13 14:02:05" } ], "elements": { "polls": [ { "id": "7", "timestamp": "2024-12-17 16:32:19", "choices": [ { "num": 1, "text": "I like this" } ], "category": { "id": "1" }, "image": false, "results": { "1": { "value": 16, "percentage": "100.0" }, "2": { "value": 0, "percentage": "0.0" }, "total": 16 }, "onlyLoggedIn": "0", "voted_choice": false, "closed": "0" } ] } } ], "layoutTemplate": { "id": 31, "key": "opinion-article", "name": "Opinion article", "matchedBy": "article_type", "targetType": "article_type", "targetId": 14 }}Content not found