Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
information of a post to be created.
require text or at least 1 attachments
Custom post
- When
dataTypeis set as the custom name (dot separated string format, see thedataTypefield section),datapayload can be anything but it will not support normal data capability (ex.textdata will not be created) anddatapayload size will be limit to100kb attachmentswill be ignored, users need to keep them indatafield and handle the file info by themselves
Image, File, Video post
- Put
typewith file id inattachments - Image and File data can be picked from
fileIdindataobject in child post - Video fileId for each resolution will be in
videoFileIdindataobject in child post
Live streaming post
- When put
dataTypeasliveStreamandstreamIdindata, post will be created as live streaming post attachmentswill be ignored- Video streaming info will be in
videoStreamingsobject in response
Poll post
- When put
dataTypeaspollandpollIdindata, post will be created as poll post attachmentswill be ignored- Poll info will be in
pollsobject in response
Clip post
- Put
type = clipwithfileId(from POST /v4/clips) inattachments - Optionally we can add
isMutedon the attachment to set the clip to mute for displaying on UI. - Optionally we can add
displayModeon the attachment to set the clip displayMode for displaying on UI. fileId,isMuted,displayModewill be indataobject in child post
Must be in dot separated string format or system defined format (ex. "upstra.customtype", "com.eko.birthday", "liveStream")
"upstra.customtype"
where to create post to
user, community, content Resource public id depends on target type (ex. target type is community, target id will be community public id)
"public_user_id"
{ "anything": "you want" }for specify public post id on post creation
"postidiwant"
5tags
Hashtags for the post.
30[
"tech_news",
"startup_life",
"product_launch",
"innovation_2025"
]The object of the mentions type and user who get a notification from the post.
The date/time when a post is created.
"2022-07-07T04:24:20.444Z"
Set whether the post is discoverable in search and hashtag feeds. Default is true.