POST Validate WhatsApp Template​
POST
/whatsapp/templates/validate
Validate a WhatsApp template payload without submitting it to the provider. PRO (requires FluentCampaign Pro WhatsApp module).
Required capability: fcrm_read_emails
Enforced by SMSPolicy::verifyRequest(), the policy default for this route group.
Requires: FluentCampaign Pro with the SMS module enabled. While SMS is switched off the route is not registered at all and returns a 404.
Authorizations​
ApplicationPasswords
WordPress Application Passwords — use Basic auth with your WordPress username and an application password in the format: username:application_password
Type
API Key (header: Authorization)
Request Body​
application/json
JSON
{
"name": "string",
"body_text": "string",
"header_text": "string",
"footer_text": "string",
"buttons": [
{
}
],
"variables": {
}
}
Responses​
Template validation result.
application/json
JSON
{
"errors": [
"string"
],
"warnings": [
"string"
]
}