{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/activecampaign/json-schema/activecampaign-whats-app-template-send-schema.json",
  "title": "WhatsAppTemplateSend",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/activecampaign-templates-api-openapi.yml#/components/schemas/WhatsAppTemplateSend",
  "type": "object",
  "properties": {
    "variables": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "An array of variables to be used in the WhatsApp Template. Variables are taken in order HEADER, BODY and BUTTONs. (e.g. position 0 corresponds to the HEADER (if it exists) or variable {{1}}, position 1 to variable {{2}} and so on."
    },
    "phone": {
      "type": "string",
      "description": "The phone number to send the WhatsApp Template to.",
      "maxLength": 20
    }
  },
  "required": [
    "phone"
  ]
}