Skip to content

Stores the mapping between FluentCRM tags and spaces or courses, and keeps the has_crm_sync feature flag in step.

Non-numeric tag mappings are discarded, and linked_maps is reduced to the keys that survive in tagging_maps. If none of the mapped ids resolve to a real space or course the whole map is emptied rather than partially saved. Disabling the integration saves the flags and returns early without validating the maps.

Endpoint

  • Method: POST

  • Path: /settings/crm-tagging-config

  • Edition: PRO

  • Controller: ProAdminController@saveCrmTaggingConfig

  • Route source: fluent-community-pro/app/Http/Routes/api.php:32

  • Controller source: fluent-community-pro/app/Http/Controllers/ProAdminController.php

  • Requires the FluentCommunity community-admin permission (or a WordPress super admin).

  • Requires FluentCommunity Pro; create_user and send_welcome_email cause account creation and outbound email during subsequent tag syncs.

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.

POST Save CRM Tagging Config

POST
/settings/crm-tagging-config

Stores the mapping between FluentCRM tags and spaces or courses, and keeps the has_crm_sync feature flag in step.

Controller: ProAdminController@saveCrmTaggingConfig
Route source: fluent-community-pro/app/Http/Routes/api.php:32

Authorizations

ApplicationPasswords

WordPress Application Passwords — use Basic auth with username:application_password.

Type
API Key (header: Authorization)

Request Body

application/json
JSON
{
  
"settings": {
  
  
"tagging_maps": [
  
  
  
"string"
  
  
],
  
  
"linked_maps": [
  
  
  
"string"
  
  
],
  
  
"is_enabled": "string",
  
  
"create_crm_contact": "string",
  
  
"create_user": "string",
  
  
"send_welcome_email": "string"
  
}
}

Responses

Successful response

application/json
JSON
{
  
"message": "string",
  
"settings": {
  
  
"create_crm_contact": "string",
  
  
"create_user": "string",
  
  
"is_enabled": "string",
  
  
"linked_maps": {
  
  
  
"8": 0
  
  
},
  
  
"send_welcome_email": "string",
  
  
"tagging_maps": {
  
  
  
"8": 0
  
  
}
  
}
}

Playground

Authorization
Body

Samples

Powered by VitePress OpenAPI

FluentCommunity developer documentation