SendTemplateRequest

  • template_id
    Type: integer
    required

    ID of the WhatsApp template to send.

  • template_language
    Type: string
    required

    ISO language code of the template.

  • template_params
    Type: object
    required

    Values that fill the template's placeholders.

    • body
      Type: object
      required

      Values for the body placeholders.

    • buttons
      Type: array (object | null)[]

      Required only for templates with buttons. Use null for a quick_reply button; pass an object with params for a URL button.

    • header
      Type: object

      Required only for templates with a header.