Endpoint
- Method:
GET - Path:
/affiliates/{id}/crm-contact - Edition: Core
- Controller:
AffiliateController@getCrmContact - Route source:
app/Http/Routes/api.php
GET Get Affiliate CRM Contact
GET
/affiliates/{id}/crm-contact
Get the FluentCRM contact linked to an affiliate, with its current tags and lists. Requires FluentCRM to be active and the fcrm_read_contacts capability.
Controller: AffiliateController@getCrmContact
Route source: app/Http/Routes/api.php
Authorizations
ApplicationPasswords
WordPress Application Passwords — use Basic auth with username:application_password.
Type
API Key (header: Authorization)
Parameters
Path Parameters
id*
The id.
Type
Requiredinteger
Responses
Successful response
application/json
JSON
{
"exists": true,
"tag_ids": [
0
],
"list_ids": [
0
],
"selected_tags": [
{
"id": 0,
"title": "string"
}
],
"selected_lists": [
{
"id": 0,
"title": "string"
}
]
}