Skip to main content

CreateContentRequest

Properties

NameTypeRequiredDescription
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.
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)
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.
publicboolTrue if the content is publicly visible on the remote channel (default). Private content is NOT supported on every channel.
source_idstrIdentifier of the channel. On creation if inReplyToContentId is specified, the channel will be determined from it. Otherwise, this parameter is mandatory.
attachment_idsList[str]An array containing the attachment identifiers that need to be attached to the content.
titlestrApplicable to Email channels only. The subject of the email. This field is mandatory when initiating a discussion.
toTo
ccList[str]Applicable on Email channels only. An array containing the email addresses used in sections of the email. This parameter is mandatory when initiating a discussion.
bccList[str]Applicable on Email channels only. An array containing the email addresses used in sections of the email. This parameter is mandatory when initiating a discussion.
template_namestrApplicable to WhatsApp channels only. Name of the Whatsapp template to use for the content. All available template names are visible on the Whatsapp Business Manager interface.
template_languagestrApplicable to WhatsApp channels only. Language of the Whatsapp template to use for the content. All available template languages are visible on the Whatsapp Business Manager interface. Language specified must conform to the ISO 639-1 alpha-2 codes for representing the names of languages.
componentsList[ContentComponents]Applicable to WhatsApp channels only. Component configuration of the Whatsapp template to use for the content. All available components are visible on the Whatsapp Business Manager interface.
context_datadictAdditional data of the content. The contextData hash keys are the custom fields keys.
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

To

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →