Skip to main content
Notes allow you to attach comments and documentation to entities (events, policies, and insureds (exposures)) in AI Insurance. The Notes API supports creating, listing, retrieving, and deleting notes programmatically. Key Concepts:
  • Notes are attached to a specific entity (event, policy, or insured)
  • Notes can be privileged (restricted visibility) or standard
  • Notes support author override for historical imports and on-behalf-of scenarios

API Endpoints


Author Override

When creating notes via the API, you can specify who the note author should be. This is useful for:
  • Historical imports - Migrating notes from legacy systems with original author names
  • On-behalf-of creation - Creating notes attributed to a specific user

Author Fields

authorId and authorName are mutually exclusive. Provide one or the other, not both.

How Author is Determined

When creating a note:
  1. If authorId is provided - The note is linked to that user. The user must exist in the system.
  2. If authorName is provided - The name is stored directly (no user lookup). Use for external authors.
  3. If neither is provided - The note has no specific author assigned.

Response: Author Display

When retrieving notes, the response includes both author (user details) and authorName (display string):
Always use authorName for display purposes. It provides a consistent display string regardless of how the author was specified.

Examples

Creating a note with an existing user as author:
Creating a note with an external author name:
Response with linked user:
Response with external author (no linked user):

Privileged Notes

Notes can be marked as privileged to restrict their visibility. Privileged notes are only visible to users with the privileged_notes:read permission (typically carrier admins and managers). Creating a privileged note:
To create a privileged note, the requestor must have privileged_notes:read permission. The API will return an error if the requestor lacks this permission.

Entity Types

Notes can be attached to three entity types:

Pagination and Sorting

List endpoints support pagination and sorting: Response includes:
  • items - Array of notes for the current page
  • totalCount - Total number of matching notes