Skip to content
View as Markdown

POST Send Subscriber WhatsApp Message​

POST
/whatsapp/subscribers/{id}/send

Send a one-off WhatsApp session message or approved template to a subscriber/contact. Session messages require an open 24-hour WhatsApp window. 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)

Parameters​

Path Parameters

id*

Subscriber/contact ID.

Type
integer
Required

Request Body​

application/json
JSON
{
"message_type": "session",
"message": "string",
"template_name": "string",
"template_language": "string",
"components": [
{
}
]
}

Responses​

Message sent through the configured WhatsApp provider.

application/json
JSON
{
"message": "string"
}

Playground​

Authorization
Variables
Key
Value
Body

Samples​

Powered by VitePress OpenAPI