What are Comments?
The Comments feature allows your operators and integrated systems to programmatically add notes and observations directly to an entity’s profile (both Individuals and Organisations). This functionality is essential for maintaining a comprehensive and contextual audit trail. Every comment is timestamped and associated with the user or API key that created it, providing crucial context for compliance reviews, manual investigations, and decision-making processes.How It Works
The process for adding a comment is straightforward and involves a single API call.1. Identify the Entity
Determine the
entityId of the Individual or Organisation you wish to add a comment to.2. Call the Comments Endpoint
Make a
POST request to the /v2/comments endpoint, providing the entityId and the text of your comment in the request body.3. Comment is Recorded
FrankieOne saves the comment, linking it to the specified entity profile and recording the author and timestamp.
API Integration Guide
Add a Comment to an Entity
To add a comment, make aPOST request to the /v2/comments endpoint.
Request Body
The request body must contain the ID of the entity and the content of the comment.| Field | Type | Required | Description |
|---|---|---|---|
entityId | String | Yes | The unique identifier for the entity. |
comment | String | Yes | The text content of the comment to be added. |
Response Body
A successful request will return a201 Created status code and the full comment object, including its unique commentId and server-generated metadata.
Example Response
The
authorId and authorDisplayName are automatically determined from the authentication context (API Key or user session) of the request.Common Use Cases
Adding comments via the API is useful for a variety of scenarios:- Documenting Manual Actions: Record notes from offline actions, such as phone calls or in-person meetings.
- Explaining Overrides: Provide justification when a compliance officer manually overrides a workflow decision or an automated check result.
- Integrating External System Data: Push alerts or notes from third-party case management or fraud systems into the FrankieOne entity profile.
- Case Management: Allow operators to add notes and updates as they investigate a case, creating a running log of their findings.