create_whatsapp_template
ActiveTool of QuintaDB
declared in 1.0.0
Створити WhatsApp-шаблон повідомлення. Вставляй 'html_name' поля в body БЕЗ жодних дужок (напр. Full Name). Отримай html_name через get_form_fields.
Parameters schema
{
"type": "object",
"required": [
"app_id",
"entity_id",
"name",
"body"
],
"properties": {
"body": {
"type": "string",
"description": "Текст повідомлення (використовуй html_name полів без дужок)"
},
"name": {
"type": "string",
"description": "Display name"
},
"app_id": {
"type": "string",
"description": "Project ID (from list_projects)"
},
"entity_id": {
"type": "string",
"description": "Form ID (from list_forms or describe_project)"
},
"channel_id": {
"type": "string",
"description": "ID WhatsApp-каналу (q_channel). Якщо не вказано — береться перший підключений канал проєкту."
},
"message_type": {
"type": "string",
"description": "Тип шаблону WhatsApp"
},
"language_code": {
"type": "string",
"description": "Код мови, напр. en_US, uk"
}
}
}Parent server
QuintaDB
1/7 registries