Skip to main content

CreateMessageBlock

Stable

Signature​

mutation {
CreateMessageBlock(localizedContent: ..., enabled: ...)
}

Retourne : MessageBlock

Arguments​

NomTypeRequisDéfautDescription
nameString—Name of the message block. If not provided, defaults to configuration.partner_name. This parameter will be required starting April 2026.
localizedContent[LocalizedStringInput]!✓——
localizedName[LocalizedStringInput]——
enabledBoolean!✓——
displayConditions[MessageBlockDisplayCondition]——
segments[ID]——
sortIndexInt——

Exemple​

mutation {
CreateMessageBlock(
localizedContent: $localizedContent
enabled: $enabled
) {
id
content
localizedContent {}
localizedName {}
enabled
displayConditions {}
segments {}
name
sortIndex
}
}