Skip to main content

ContentModel

Properties

NameTypeRequiredDescription
attachmentsList[ContentAttachment]An array containing the attachments that are attached to the content.
author_identity_idstrIdentity identifier of the author of content. Not mandatory on creation, by default it uses the token's user first identity on channel.
auto_submittedboolAuto submitted content: - won't reopen tasks or interventions - can be used to send automatic messages like asking an user to follow on twitter, sending a survey, etc, - doesn't get included in statistics
bodystrThe content's body. On creation this field is mandatory except for WhatsApp content using templates. The following are the max length restrictions for the different channels supported. Channel and max length _ Apple Messages For Business (max length 10000) _ Email (max length 262144) _ RingCX Digital Messaging (max length 1024) _ Facebook (max length 8000) _ GoogleBusinessMessages (max length 3000) _ Google My Business (max length 4000) _ Instagram (max length 950) _ Instagram Messaging (max length 1000) _ LinkedIn (max length 3000) _ Messenger (max length 2000) _ Twitter (max length 280) _ Viber (max length 7000) _ WhatsApp (max length 3800) _ Youtube (max length 8000)
body_formattedContentBodyFormattedText and HTML formatted versions of the content body.
body_input_formatContentBodyInputFormatValues can be Text or Html.
category_idsList[str]List of the category identifiers of the content.
creation_timestrCreation time of the resource.
created_fromContentCreatedFromCreated from of the content.
creator_idstrRC user id of the creator
id_strIdentifier of the content.
in_reply_to_author_identity_idstrThe identity identifier of the content to which this content is a reply to.
in_reply_to_content_idstrThe content identifier to which this content is a reply to. On creation, if omitted, a new discussion will be created. If the channel does not support to initiate discussion this parameter is mandatory.
intervention_idstrThe intervention identifier of the content.
languagestrLanguage of the content.
publicboolTrue if the content is publicly visible on the remote channel (default). Private content is NOT supported on every channel.
publishedboolTrue if the content is published on the remote channel.
ratingintRating of the content. Present only if the content supports rating and rating is filled.
remotely_deletedboolTrue if the content has been deleted on the remote channel.
source_idstrIdentifier of the channel. On creation if inReplyToContentId is specified, the channel will be determined from it. Otherwise, this parameter is mandatory.
source_typeContentSourceTypeType of the channel.
source_uristrExternal Uri of the content channel.
statusContentStatusContent status.
synchronization_statusstrSynchronization status.
synchronization_errorstrSynchronization error details.
thread_idstrContent thread identifier of the content.
titlestrApplicable to Email channels only. The subject of the email. This field is mandatory when initiating a discussion.
type_ContentTypeType of the content.
last_modified_timestrThe time when the last modification was completed.
capabilities_supportedList[str]Types of structured messages that can be used to reply to this type of message.
context_datadictAdditional data of the content. The contextData hash keys are the custom fields keys.
foreign_categoriesList[str]External categories of the content. Present only if the content has foreignCategories.

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →