{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/brevo/main/json-schema/brevo-create-whats-app-campaign-schema.json", "title": "CreateWhatsAppCampaign", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/brevo-whatsapp-campaigns-api-openapi.yml#/components/schemas/CreateWhatsAppCampaign", "type": "object", "required": [ "name", "templateId", "recipients" ], "properties": { "name": { "type": "string", "description": "Name for the campaign." }, "templateId": { "type": "integer", "format": "int64", "description": "ID of the approved WhatsApp template to use." }, "scheduledAt": { "type": "string", "format": "date-time", "description": "UTC date-time to schedule the campaign send." }, "recipients": { "type": "object", "description": "Target audience for the campaign.", "required": [ "listIds" ], "properties": { "listIds": { "type": "array", "description": "IDs of contact lists to target.", "items": { "type": "integer", "format": "int64" } }, "segments": { "type": "array", "description": "IDs of segments to target.", "items": { "type": "integer", "format": "int64" } } } } } }