Skip to content

Returns the member's FluentCRM contact for the profile widget: status, engagement stats, lifetime value, lists and tags.

Reading needs both community administrator rights and FluentCRM's own read permission. Each tag carries the spaces and courses that tag grants, so an administrator can see what removing it would take away.

Endpoint ​

  • Method: GET

  • Path: /profile/{username}/crm-contact

  • Edition: PRO

  • Controller: CrmProfileController@getContact

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

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

  • The route only exists when FluentCRM is installed; without it the call is a plain 404.

  • A member with no contact is a 200 with contact: null, not an error. The write endpoints answer 404 in the same situation.

  • can_manage is a stronger permission than reading, so an administrator may receive the data and still be refused on a change.

  • lifetime_value is an empty string when there is nothing to show, and depends on a FluentCRM filter being answered.

Inferred sample

No recorded sample exists for this endpoint yet, so the payload below is inferred from the controller and model definitions. Field names and types are accurate; values are placeholders.

GET Get Contact​

GET
/profile/{username}/crm-contact

Returns the member's FluentCRM contact for the profile widget: status, engagement stats, lifetime value, lists and tags.

Controller: CrmProfileController@getContact
Route source: fluent-community-pro/app/Http/Routes/api.php:122

Authorizations​

ApplicationPasswords

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

Type
API Key (header: Authorization)

Parameters​

Path Parameters

username*

Username extracted from the URL path.

Type
string
Required

Responses​

Successful response

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

Playground​

Authorization
Variables
Key
Value

Samples​

Powered by VitePress OpenAPI

FluentCommunity developer documentation