Skip to main content
POST
Create content

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

projectId
string
required

Project ID

Body

application/json
type
enum<string>
required

Content kind. An announcement is a feed item delivered through a resource center that has an announcement block — publish alone does not surface it without one.

Available options:
checklist,
flow,
launcher,
banner,
tracker,
resource-center,
announcement
name
string

Display name. For announcement it also seeds the draft title.

Minimum string length: 1
buildUrl
string

URL of the app page where this content is authored and previewed. Metadata only — no effect on runtime targeting (start rules control where content shows).

themeId
string

Theme applied to the initial draft version. Required for every type except tracker (which has no UI) — content has no usable styling without one. List options with the themes endpoint; use the one with isDefault if unsure.

Response

Content created

id
string
required
object
enum<string>
required
Available options:
content
name
string
required
type
enum<string>
required
Available options:
checklist,
flow,
launcher,
banner,
tracker,
resource-center,
announcement
buildUrl
string | null
required

URL of the app page where this content is authored and previewed (the visual editor opens it there). Metadata only — it plays NO part in runtime targeting; where content shows is controlled by its start rules.

editedVersionId
string
required
environments
object[]
required

Where this content is live RIGHT NOW: one row per environment it is currently published to (empty = published nowhere). Rows disappear on unpublish.

deleted
boolean
required
updatedAt
string<date-time>
required
createdAt
string<date-time>
required
editedVersion
object