Renders the Amazon Q in Connect message template based on the attribute values provided and generates the message content. For any variable present in the message template, if the attribute value is neither provided in the attribute request parameter nor the default attribute of the message template, the rendered message content will keep the variable placeholder as it is and return the attribute keys that are missing.
post/knowledgeBases/{knowledgeBaseId}/messageTemplates/{messageTemplateId}/render
Path parameters
knowledgeBaseIdstring required
The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
messageTemplateIdstring required
The identifier of the message template. Can be either the ID or the ARN.
Request body
Response
Success