Skip to main content
POST
Create a story

Authorizations

Authorization
string
header
required

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

Body

application/json
data
object
required

Main data contained in the story, required only 1 field depends on dataType. The size of this object must be less than 10 KB.

dataType
enum<string>
required
Available options:
text,
image,
video
targetType
enum<string>
required

where to create story to. currently limited to community only

Available options:
community
targetId
string
required

Resource public id depends on target type (ex. target type is community, target id will be community public id)

Example:

"public_community_id"

referenceId
string
required

the id used for reference when optimistically create the story

items
object[]

List of items contained in story. Currently only support hyperlink item. Only one hyperlink item is allowed per story.

Maximum array length: 10
metadata
object

Metadata of the story. The size of this object must be less than 5 KB

Example:

Response

Create Result

Create story response payload

stories
object[]
comments
object[]
files
object[]
users
object[]
roles
object[]
communities
object[]
communityUsers
object[]
categories
object[]