History events
When certain events occur in InsuranceSuite they are automatically recorded.
Each history event is stored as a CustomHistory type. You can retrieve these history
events by using the history-events endpoint.
The following endpoints are available for retrieving history events:
-
- Common:
- GET
/common/v1/history-events/{historyEventId}
- GET
- ClaimCenter:
- GET
/claims/{claimId}/history-events
- GET
- PolicyCenter:
- GET
/account/v1/accounts/{accountId}/history-events - GET
/policy/v1/policies/{policyId}/history-events - GET
/job/v1/jobs/{jobId}/history-events - GET
/common/v1/contacts/{contactId}/history-events
- GET
- BillingCenter:
- GET
/billing/v1/accounts/{accountId}/history-events - GET
billing/v1/accounts/{accountId}/policies/{policyId}/policy-periods/{policyPeriodId}/history-events
- GET
- Common:
The following sections provide examples of these endpoints.
Retrieve a single history event
You can retrieve a single history event by using the
history-events endpoint in the common API. To use this endpoint
you must first retrieve the historyEventId from the
history-events endpoint on the relevant object, such as the
contacts object in the ContactManager Contact API. (For more information on the
Contact API, see ContactManager Cloud API Consumer Guide for
ContactManager.)
The information retrieved in this example is from an account change history event where the account changed from pending to active.
Command
GET /common/v1/history-events/S-d_RRz9cG9bhqcfVN2xC
Response
{
"data": {
"attributes": {
"account": {
"displayName": "C000478975",
"id": "SaDgS3XDMmUlTYlw-HNoI",
"type": "Account",
"uri": "/account/v1/accounts/SaDgS3XDMmUlTYlw-HNoI"
},
"customType": {
"code": "acct_changed",
"name": "Account changed"
},
"description": "Pending account became active",
"eventTimestamp": "2024-06-03T23:03:05.992Z",
"historyType": {
"code": "custom",
"name": "Custom"
},
"id": "SJj0sm_oXm7aZUXrKuWxF",
"user": {
"displayName": "Super User",
"id": "default_data:1",
"type": "User",
"uri": "/admin/v1/users/default_data:1"
}
},
…
}
Retrieve claim history events
This section only applies to ClaimCenter.
Claim history events record events associated with a claim, even minor events, such as when a claim is viewed. For example:
Command
GET /claim/v1/claims/cc:439/history-events
Response
{
"count": 7,
"data": [
{
"attributes": {
"description": "Reserve of $500.00 created",
"eventTimestamp": "2024-11-18T22:00:43.109Z",
"historyType": {
"code": "reservecreated",
"name": "Reserve created"
},
"id": "cc:SHNXJQFrqGjZNWSkZEUC-",
"user": {
"displayName": "Super User",
"id": "default_data:1",
"type": "User",
"uri": "/admin/v1/users/default_data:1"
}
},
...
},
...
}
}
Retrieve account history events in PolicyCenter
This section only applies to PolicyCenter.
Account events include history events that occur on policies and jobs on the account, as well as on the account itself. In the following example, the response contains history events for the creation of a new policy submission and a status change on the account.
Command
GET /account/v1/accounts/pc:SaDgS3XDMmUlTYlw-HNoI/history-events
Response
{
"count": 6,
"data": [
{
"attributes": {
"customType": {
"code": "sub_created",
"name": "Submission created"
},
"description": "Submission Created",
"eventTimestamp": "2024-06-07T16:22:29.274Z",
"historyType": {
"code": "custom",
"name": "Custom"
},
"id": "pc:SR4hGI-1z3kboa72Iq8TA",
"user": {
"displayName": "Super User",
"id": "default_data:1",
"type": "User",
"uri": "/admin/v1/users/default_data:1"
}
},
…
},
…
{
"attributes": {
"customType": {
"code": "acct_changed",
"name": "Account changed"
},
"description": "Pending account became active",
"eventTimestamp": "2024-06-03T23:03:05.992Z",
"historyType": {
"code": "custom",
"name": "Custom"
},
"id": "pc:SJj0sm_oXm7aZUXrKuWxF",
"user": {
"displayName": "Super User",
"id": "default_data:1",
"type": "User",
"uri": "/admin/v1/users/default_data:1"
}
},
…
},
…
Retrieve claim history events
This section only applies to ClaimCenter.
Claim history events record events associated with a claim, even minor events, such as when a claim is viewed. For example:
Command
GET /claim/v1/claims/cc:439/history-events
Response
{
"count": 7,
"data": [
{
"attributes": {
"description": "Reserve of $500.00 created",
"eventTimestamp": "2024-11-18T22:00:43.109Z",
"historyType": {
"code": "reservecreated",
"name": "Reserve created"
},
"id": "cc:SHNXJQFrqGjZNWSkZEUC-",
"user": {
"displayName": "Super User",
"id": "default_data:1",
"type": "User",
"uri": "/admin/v1/users/default_data:1"
}
},
...
},
...
}
}
Retrieve account history events in BillingCenter
This section only applies to BillingCenter
Account history events include changes to the account itself and financial transactions related to the account and any policies it owns.
Command
GET /billing/v1/accounts/pc:632/history-events
Response
{
"count": 5,
"data": [
{
"attributes": {
"description": "Account Created",
"eventDate": "2024-11-18T19:41:53.678Z",
"id": "bc:SMu-oWMYmtGYGLpNC_ctW",
"user": {
"displayName": "Super User",
"id": "default_data:1",
"type": "User",
"uri": "/admin/v1/users/default_data:1"
}
},
...
},
...
],
...
}
Retrieve policy period history events in BillingCenter
This section only applies to BillingCenter.
Policy period history events relate to the policy period iand financial transactions related to the policy period. For example, when a policy period enters the delinquency phase, a dunning letter is sent, which is recorded as a history event.
Command
GET /billing/v1/accounts/pc:234/policies/bc:242/policy-periods/bc:345/history-events
Response
{
"count": 5,
"data": [
{
"attributes": {
"description": "Dunning Letter Sent",
"eventDate": "2025-03-18T20:28:58.755Z",
"id": "bc:Sc5bdAEz5TAWX2zhIHQj4",
"user": {
"displayName": "System User",
"id": "systemTables:2",
"type": "User",
"uri": "/admin/v1/users/systemTables:2"
}
},
...
},
...
],
...
}
Retrieve producer history events in BillingCenter
This section only applies to BillingCenter.
Producer history events are used to track financial events related to a producer, as well as other actions.
Command
GET /billing/v1/producers/pc:543/history-events
Response
{
"count": 1,
"data": [
{
"attributes": {
"description": "Trouble ticket opened",
"eventDate": "2025-03-18T20:28:58.755Z",
"id": "bc:Sc5bdAEz4543253543gefe43f",
"user": {
"displayName": "System User",
"id": "systemTables:2",
"type": "User",
"uri": "/admin/v1/users/systemTables:2"
}
},
...
}
...
]
}
Retrieve policy history events in PolicyCenter
This section only applies to PolicyCenter.
Policy events include history events that occur on a policy such as submission and renewal. The following example retrieves the history events for a policy, which includes issuing and binding a policy submission.
Command
GET /policy/v1/policies/pc:SLPuVkGT6eWGRHdgoUKhf/history-events
Response
{
"count": 3,
"data": [
{
"attributes": {
"customType": {
"code": "sub_issued",
"name": "Submission issued"
},
"description": "Submission Issued",
"eventTimestamp": "2024-06-04T18:31:27.520Z",
"historyType": {
"code": "custom",
"name": "Custom"
},
"id": "pc:S-d_RRz9cG9bhqcfVN2xC",
"user": {
"displayName": "Super User",
"id": "default_data:1",
"type": "User",
"uri": "/admin/v1/users/default_data:1"
}
},
…
},
{
"attributes": {
"customType": {
"code": "sub_bound",
"name": "Submission bound"
},
"description": "Submission Bound",
"eventTimestamp": "2024-06-04T18:31:27.425Z",
"historyType": {
"code": "custom",
"name": "Custom"
},
"id": "pc:SNO7nB9xRpVIAjnsWkKdg",
"user": {
"displayName": "Super User",
"id": "default_data:1",
"type": "User",
"uri": "/admin/v1/users/default_data:1"
}
},
…
Retrieve contact history events in PolicyCenter
This section only applies to PolicyCenter.
There is an endpoint for retrieving contact history events, but in the base configuration, there are no history events that are recorded for contacts. History events must be configured manually to be recorded.
In the following example, the history events for contact ab:110 includes the creation of the contact and an update to the contact's primary address. These are both custom history events that were added to PolicyCenter.
GET /contact/v1/contacts/ab:110/history-eventsResponse{
"count": 1,
"data": [
{
"attributes": {
"customType": {
"code": "primaryaddressadded",
"name": "Primary Address Added"
},
"description": "A new primary address was added",
"eventTimestamp": "2024-06-11T23:25:14.394Z",
"id": "ab:Sv_Ejfl07S-itXhjyVGnT",
"user": {
"displayName": "Super User",
"id": "default_data:1",
"type": "User",
"uri": "/admin/v1/users/default_data:1"
}
},
…
},
{
"attributes": {
"customType": {
"code": "contactcreated",
"name": "Contact Created"
},
"description": "Contact was created",
"eventTimestamp": "2024-06-11T23:25:14.427Z",
"id": "ab:S9aqZ8xIjijgVa-QPyKue",
"user": {
"displayName": "Super User",
"id": "default_data:1",
"type": "User",
"uri": "/admin/v1/users/default_data:1"
}
},
…Retrieve job history events in PolicyCenter
This section only applies to PolicyCenter.
Job events include history events that occur on a specific job, such as submission and binding. The following example retrieves the history events on a job.
Command
GET /job/v1/jobs/pc:Sbc3KMas5O0NLUtEOCn1w/history-events
Response
{
"count": 3,
"data": [
{
"attributes": {
"customType": {
"code": "sub_issued",
"name": "Submission issued"
},
"description": "Submission Issued",
"eventTimestamp": "2024-06-04T18:31:27.520Z",
"historyType": {
"code": "custom",
"name": "Custom"
},
"id": "pc:S-d_RRz9cG9bhqcfVN2xC",
"user": {
"displayName": "Super User",
"id": "default_data:1",
"type": "User",
"uri": "/admin/v1/users/default_data:1"
}
},
…
},
{
"attributes": {
"customType": {
"code": "sub_bound",
"name": "Submission bound"
},
"description": "Submission Bound",
"eventTimestamp": "2024-06-04T18:31:27.425Z",
"historyType": {
"code": "custom",
"name": "Custom"
},
"id": "pc:SNO7nB9xRpVIAjnsWkKdg",
"user": {
"displayName": "Super User",
"id": "default_data:1",
"type": "User",
"uri": "/admin/v1/users/default_data:1"
}
},
…
},
{
"attributes": {
"customType": {
"code": "sub_created",
"name": "Submission created"
},
"description": "Submission Created",
"eventTimestamp": "2024-06-03T23:03:05.991Z",
"historyType": {
"code": "custom",
"name": "Custom"
},
"id": "pc:SD3Ll6tm852Ca9xTqenCm",
"user": {
"displayName": "Super User",
"id": "default_data:1",
"type": "User",
"uri": "/admin/v1/users/default_data:1"
}
},
…