Returns the direct-messaging configuration alongside the realtime socket credentials used by the chat client.
Fails with a message asking for an update when the installed Fluent Messaging plugin is too old to expose the config helper.
Endpoint
Method:
GETPath:
/admin/messaging-settingEdition: PRO
Controller:
ProAdminController@getMessagingSettingsRoute source:
fluent-community-pro/app/Http/Routes/api.php:21Controller source:
fluent-community-pro/app/Http/Controllers/ProAdminController.phpRequires the FluentCommunity community-admin permission (or a WordPress super admin).
Requires FluentCommunity Pro and the Fluent Messaging plugin.
Live sample
The request and response below were recorded against a running FluentCommunity install and then anonymised — member names, emails, avatars and post content are fictional, and long collections are trimmed to a few entries.
GET Get Messaging Settings
Returns the direct-messaging configuration alongside the realtime socket credentials used by the chat client.
Controller: ProAdminController@getMessagingSettings
Route source: fluent-community-pro/app/Http/Routes/api.php:21
Authorizations
WordPress Application Passwords — use Basic auth with username:application_password.
Responses
Successful response