Skip to main content
PUT

Headers

x-publisher-token
string
required

Publisher token.

Path Parameters

contentId
string
required

Content ID.

Example:

"507f1f77bcf86cd799439011"

Body

application/json
title
string

Content title.

Example:

"Welcome to Our Game - Updated"

subTitle
string

Content description.

bodyText
string

Content body text.

headerImage
string

Content header image URL.

thumbnailImage
string

Content thumbnail image URL.

labels
string[]

List of labels associated with the content.

Example:
state
enum<string>
default:visible

Current state of the content.

Available options:
visible,
hidden,
scheduled
Example:

"visible"

contentType
enum<string>

Type: article or news.

Available options:
article,
news
publishDate
string<date-time>

Content publish date. Use for scheduling content.

pages
string[]

List of pages where this content appears.

slug
string

Content slug. If not provided, this value is auto-generated.

visibility
enum<string>
default:public

Content visibility level.

Available options:
public,
private
Example:

"public"

tag
string

Internal tag for organizing your content. Not visible to players.

Example:

"spring2025"

translations
object[]

List of translations for the content item. Each object represents a locale and its translations.

Note: You must first add the locale in the Publisher Dashboard before adding its translations.

Response

Content updated successfully.

id
string

Content ID.

Example:

"507f1f77bcf86cd799439011"

title
string

Content title.

Example:

"Welcome to Our Game"

subTitle
string

Content description.

Example:

"Everything you need to know"

bodyText
string

Content body text.

Example:

"This is the main content body with detailed information..."

headerImage
string

Content header image URL.

Example:

"https://cdn.example.com/images/header.jpg"

thumbnailImage
string

Content thumbnail image URL.

Example:

"https://media.appcharge.com/media/25cb4861ec8924a6b69a0f59/book-shelf1920.jpg"

labels
string[]

List of labels associated with the content.

Example:
state
enum<string>
default:hidden

Current state of the content.

Available options:
visible,
hidden,
scheduled
Example:

"hidden"

contentType
enum<string>

Content type.

Available options:
article,
news
Example:

"article"

publishDate
string<date-time>

Content publish date. Use for scheduling content.

Example:

"2025-10-20T00:00:00.000Z"

slug
string

Content slug. If not provided, this value is auto-generated.

Example:

"welcome-to-our-game"

visibility
enum<string>
default:public

Content visibility level.

Available options:
public,
private
Example:

"public"

tag
string

Internal tag for organizing your content. Not visible to players.

Example:

"spring2025"

createdAt
string<date-time>

Created date.

Example:

"2025-10-15T10:30:00.000Z"

updatedAt
string<date-time>

Updated date.

Example:

"2025-10-19T14:20:00.000Z"

translations
object[]

List of translations for the content item. Each object represents a locale and its translations.

pages
object[]

List of pages where this content appears.

Example: