Comments
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.
API Integration Guide
Add a Comment to an Entity
To add a comment, make a POST request to the /v2/comments endpoint.
Request Body
The request body must contain the ID of the entity and the content of the comment.
Example Request
Response Body
A successful request will return a 201 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.
