Skip to main content

ConsentTemplate

versionstring

Template version identifier

blocks object[]

Ordered content blocks that make up the consent statement shown before agreement.

  • Array [
  • typestring

    The kind of content block, such as text or warning.

    Possible values: [text, warning, info, success, failure]

    Example: text
    textstring

    Block text, may contain ${variable} placeholders

  • ]
  • ConsentTemplate
    {
    "version": "string",
    "blocks": [
    {
    "type": "text",
    "text": "string"
    }
    ]
    }