iglooX DocsDevelopers

Schema

Message Template Body

The complete configurable content of a platform message template.

  • Models

Overview

object · 3 properties · 3 required

Properties

text

string Required

The message text. Supports a constrained Markdown-compatible syntax for bold, italic, bulleted lists, and numbered lists. Supported template placeholders may only be used in this property.

Example Hello! Welcome to {{merchant_name}}. You have successfully signed up for an account.
Min length 1

header

oneOf Required

Optional message header. Active messaging integrations may impose additional constraints.

Nullable Yes
One of

One of 1

null

One of 2

reference

References Message Template Text Header.

One of 3

reference

References Message Template Image Header.

One of 4

reference

References Message Template Video Header.

action

oneOf Required

Optional message action. Quick-reply actions require unique action identifiers and case-insensitively unique labels.

Nullable Yes
One of

One of 1

null

One of 2

reference

References Message Template URL Action.

One of 3

reference

References Message Template Quick-Reply Action.

One of 4

reference

References Message Template Dynamic Action.

Used by

Raw YAML
Download source
title: Message Template Body
type: object
x-tags:
  - Models
description: The complete configurable content of a platform message template.
required:
  - text
  - header
  - action
additionalProperties: false
properties:
  text:
    type: string
    minLength: 1
    description: The message text. Supports a constrained Markdown-compatible syntax for bold, italic, bulleted lists, and numbered lists. Supported template placeholders may only be used in this property.
    example: 'Hello! Welcome to {{merchant_name}}. You have successfully signed up for an account.'
  header:
    description: Optional message header. Active messaging integrations may impose additional constraints.
    oneOf:
      - type: 'null'
      - $ref: ./MessageTemplateTextHeader.yaml
      - $ref: ./MessageTemplateImageHeader.yaml
      - $ref: ./MessageTemplateVideoHeader.yaml
  action:
    description: Optional message action. Quick-reply actions require unique action identifiers and case-insensitively unique labels.
    oneOf:
      - type: 'null'
      - $ref: ./MessageTemplateUrlAction.yaml
      - $ref: ./MessageTemplateQuickReplyAction.yaml
      - $ref: ./MessageTemplateDynamicAction.yaml

Search documentation

Search across this documentation site.