Get rich content

Overview

Rich content can be reviewed by using the richcontentID in the Get Rich Content API.

📘

Note:

This API is only for reviewing a rich message, not for sending a message.

Functionalities available

The Rich Content API call has GET functionalities.

  • GET: This call gets a rich message so it can be reviewed by a user.
  • GET/channels/push/richcontent/{richContentId}

Swagger URL
https://api-campaign-[xx]-[yy].goacoustic.com/restdoc/#!/channels/getRichContentget

Scenarios that can be accomplished using this API

  • Get a rich push notification.
  • The rich content ID is produced by the Create Rich Content API.

Path parameter

AttributeData TypeDescription
richContentId [Required]stringrich content Id

RichContentResponse

AttributeData TypeDescription
personalizationDefaultsMapMap of key value pairs for personalization defaults
personalizationFormulasMapMap of key value pairs for personalization formulas
payloadMapRich Content Map

RichContentMap

AttributeData TypeDescription
gcmmodeltemplate content
apnsmodeltemplate content

TemplateContent

AttributeData TypeDescription
templateStringtemplate name
contentmodelcontent

Content

AttributeData TypeDescription
messagePreviewmodelmessage preview
messageDetailsmodelmessage details

MessagePreview

AttributeData TypeDescription
subjectStringSubject of the message with optional personalization tags
previewContentStringContent of the preview with optional personalization tags

MessageDetails

AttributeData TypeDescription
richContentcontent of rich pushString