Skip to main content

Post

VARIABLETYPEDESCRIPTIONOPTIONAL
idStringUnique ID of the post.
textStringText content of the post.
attachmentsAttachment[]List of attached medias in the post. Maximum size is 10.
communityIdIntUnique ID of the community.
isLikedBooltrue if the user has liked the post, false otherwise.
isEditedBooltrue if the post was edited, false otherwise.
isPinnedBooltrue if the post is pinned, false otherwise.
userIdStringUnique ID of post creator.
uuidStringUnique ID of post creator. creator.
likesCountIntNumber of users that liked the post.
commentsCountIntNumber of users that commented on the post.
isSavedBooltrue if the user has saved the post, false otherwise.
menuItemsMenuItem[]List of actions as menu items on the post.
repliesComment[]List of comments on the post.
createdAtIntTimestamp when the post was created.
updatedAtIntTimestamp when the post was last updated.
headingStringHeading of the post.
tempIdStringTemporary ID of post.
topicIdsString[]List of ids of the topics added in the post.

Attachment

VARIABLETYPEDESCRIPTIONOPTIONAL
attachmentTypeIntType of attachment.
1 - Image
2 - Video
3 - Document
4 - Link
6 - Poll
attachmentMetaAttachmentMetaDownload url of attachment.

AttachmentMeta

VARIABLETYPEDESCRIPTIONOPTIONAL
nameStringName of the attachment.
urlStringDownload url of attachment.
formatStringFormat of attachment (pdf, etc.).
sizeIntSize of attachment in bytes.
durationIntDuration of video attachment in seconds.
pageCountIntNumber of pages in pdf attachment.
ogTagsOGTagsOGTags for link type attachment.
thumbnailUrlStringThumbnail url for the attached media.
attachmentUrlStringURL of the attachment.
coverImageUrlStringURL of the cover image.
titleStringTitle of the attachment.
bodyStringBody text of the attachment.
entityIDStringUnique identifier for the entity.
expiryTimeIntExpiration time of the attachment.
pollOptions[String]List of options for a poll.
multiSelectStateStringState of multi-select for polls. Default: "exactly"
pollTypeStringType of poll. Default: "instant"
multSelectNoIntNumber of options that can be selected. Default: 1
isAnonymousBoolWhether the poll is anonymous. Default: false
allowAddOptionsBoolWhether users can add options. Default: false

OGTags

VARIABLETYPEDESCRIPTIONOPTIONAL
titleStringLink title.
imageStringLink image url.
descriptionStringLink description.
urlStringLink url.
VARIABLETYPEDESCRIPTIONOPTIONAL
idIntID of the menu item.
titleStringTitle of the menu item.