Skip to content
View as Markdown

POST Save WhatsApp Settings​

POST
/campaign-pro-settings/whatsapp-settings

Save WhatsApp module settings, selected provider, and provider credentials. PRO (requires FluentCampaign Pro).

Required capability: fcrm_manage_settings

Enforced by SettingsPolicy::verifyRequest(), the policy default for this route group.

Requires: FluentCampaign Pro. Without it the route does not exist.

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
{
"settings": {
"enabled": "string",
"whatsapp_provider": "string",
"additionalProperties": "string"
}
}

Responses​

WhatsApp settings saved successfully.

application/json
JSON
{
"message": "string",
"settings": {
},
"options": {
},
"whatsapp_webhook": {
}
}

Playground​

Authorization
Body

Samples​

Powered by VitePress OpenAPI