A profile is how First AML represents an individual or an entity across all cases. It is identified by a profileId.
There is one profile per entity (a company, trust or partnership) and one per individual (a director, beneficial owner or private client). A case is different. Each case captures the client as they were at that point in time, for that engagement or transaction. The profile sits above your cases and joins them together, so you have one view of the client across every case they have appeared in.
A profile holds:
- the client’s details and how they have changed over time
- their verification and screening history
- their client risk level, set by the most recently completed Client Risk Assessment
- the cases and associated parties they are linked to
- whether ongoing monitoring is switched on
- whether the profile is active or inactive
You can search for profiles, query information about a specific profile, and manage profiles on the Public API. The profile examples show these requests.
In short
- Save the
profileIdreturned for each entity and individual when you first create a case. - Pass that
profileIdback in whenever the same client returns, instead of adding them as new. - Use the profile queries and mutations to search for clients, manage ongoing monitoring and stay in step when profiles are merged.
Profile IDs
The Public API has previously referred to an individual or entity by an individualId or an entityId. Those IDs come from an older model, which profiles replace. Use a profileId in new integrations.
Every entity and individual on a case returns the profileId of the profile it belongs to, alongside its entityId or individualId.
Using legacy IDs
In order to keep our API backwards compatible, support will continue for individualId and entityId. All places where a profileId can be supplied will also accept these older IDs.
If your integration already stores individualId or entityId values, you can look up the matching profileId with individualProfileDetails or entityProfileDetails and store it in their place.
Why retrieving profiles matters
When a returning client is added to a new case as if they were new, the platform creates a second profile for the same person or company. Over time this splits their history across several records. Retrieving the existing profile instead keeps everything in one place.
| Retrieving the existing profile | Adding the client as new | |
|---|---|---|
| Records | One profile, one history | Duplicate profiles that later need merging |
| Verification | Past verification history comes through to the new case | Checks start again from scratch |
| Ongoing monitoring | Stays tied to the one record you are monitoring | Can be split across duplicates |
| Audit trail | A single view of the client across every case | History scattered across records |
| Ongoing CDD | A clean base for refreshing CDD on a schedule | Harder to tell which record is current |
In practice, this is what makes ongoing CDD and ongoing monitoring work properly for API integrations. Your teams see one client, not three versions of them.
How profiles work across cases
The pattern is simple: save the profileId the first time, then pass it back in every time after that.
- When you first create a case, request
profileIdon each of the case’sentitiesandindividuals. Save these against the client in your own system, for example your CRM or client management system. - When the same client comes back, pass the saved
profileIdintoexistingRootEntityorexistingIndividualsoncreateCase, orexistingIndividualsonaddExistingIndividualsToCase, instead of adding the client as new. See create a case from existing profiles. - The new case then pulls in the latest eligible entity or individual on the existing profile and its verification history, rather than creating a duplicate.
If you do not yet store a profileId for a client, search for their profile with searchIndividualProfiles or searchEntityProfiles before creating the case.
For what happens to verification when you retrieve a client, and how retrieval keeps CDD refresh dates accurate, see Retrievals and CDD Refresh.
Merged profiles
Sometimes the same client ends up with two profiles, for example if they were added as new before you started storing profile IDs. When this happens, a user can merge them via the UI, either from the “duplicate detected” prompt or by merging profiles manually. When a merge happens one profile is picked as the “winner”, and the other profile is folded in.
In order to keep integrations simple, we’ll resolve any profileId, entityId, or individualId from “losing” profiles to the latest “winner” whenever they’re used. If you create a case with an ID from a profile that has since been merged, the winning profile is retrieved, so the case still works and no new duplicate is created. This means you don’t have to keep track of the latest profile ID in your records.
If you do want to keep track of the latest profileId, subscribe to the INDIVIDUAL_PROFILES_MERGED and ENTITY_PROFILES_MERGED webhook events. Each event publishes the latest winning profileId along with all historical profile, entity, and individual IDs associated with that profile, so you can update the ID stored in your own system.
After a merge, we recommend checking that ongoing monitoring is still switched on for the winning profile, especially if the profiles had different monitoring settings before.
Managing profiles
Profiles can be managed directly from your own system rather than in the First AML platform. The mutations need the profile-management scope.
| Action | What it is for |
|---|---|
| Search profiles | Find an existing client before creating a case, especially clients added before you stored profile IDs. |
| Turn ongoing monitoring on or off | Start monitoring when you take a client on, and stop it when the relationship ends. The profile must be active and screened before monitoring can be turned on. |
| Deactivate or activate a profile | Mark a client relationship as inactive or active. Deactivating a profile turns off its ongoing monitoring, and activating it again leaves monitoring off until you turn it back on. |
| Profile merged webhook events | Be told when two profiles are merged, so you can update the stored profileId. |
Implementation checklist
- Request and store the
profileIdfor every entity and individual when a case is created. - Link each stored
profileIdto the matching client record in your own system. - Retrieve returning clients by passing their stored
profileIdrather than adding them as new. - Where no
profileIdis stored, search profiles first to find any existing record. - Subscribe to the profile merged webhook events and update stored profile IDs when a merge comes through.
- Turn ongoing monitoring on when a client is taken on, and deactivate the profile when the relationship ends.