ZapGate icon

ZapGate

Interaja com a API ZapGate — WhatsApp gateway self-hosted

Actions1511

Usuários → Testar Regras

AI-generated

Summary

Testa regras de automação enviando um payload JSON para avaliar corresponded samples.

Inputs

  • body (required) — JSON payload containing rule identifier and sample data, e.g., {"ruleId":"...","sample":{"text":"...","phone":"..."}}

Output shape

JSON response indicating rule evaluation result

Contains the rule test output; no pagination; errors are thrown as exceptions.

Examples

Example 1: Validate a rule against a sample message

resource=Platform, operation=Testar Regras, body={"ruleId":"rule_123","sample":{"text":"Olá","phone":"5511999999999"}}

Links

Discussion