Event Stream API

Note

See the Event Stream Feature Guide for more information about using this feature.

Endpoint Index

ActionEndpoint
Fetch eventsGET /eventstream/events
Fetch attributed eventsGET /eventstream/attributedEvents

Details

Fetch events
GET /eventstream/events
    Request:
    NamePositionTypeRequired
    endTimestampquerytimestampoptional
    eventTypequerystringoptional
    pageSizequeryintegeroptional
    pagingTokenquerystringoptional
    startTimestampquerytimestampoptional
Fetch attributed events
GET /eventstream/attributedEvents
    Request:
    NamePositionTypeRequired
    endTimestampquerytimestampoptional
    eventTypequerystringoptional
    pageSizequeryintegeroptional
    pagingTokenquerystringoptional
    startTimestampquerytimestampoptional

Note

Fetch events and Fetch attributed events do the same thing except the latter endpoint will include the username of the user that initiated the event as part of the event data.

EventPageResponse
required
events [EventResponse]

optional
pagingToken string
EventResponse
required
id string
timestamp timestamp
type string cancellation.create | cancellation.update | cancellation.rescind | cancellation.issue | cancellation.effective | claim.close | claim.create | claim.discard | claim.open | claim.update | policy.gracePeriod | policy.gracePeriod.update | invoice.issue | invoice.invalidate | invoice.pastDue | invoice.writtenOff | payment.pay | policy.cancel | policy.create | policy.discard | policy.endorse | policy.finalize | policy.issue | policy.lapse | policy.reinstatement.close | policy.reinstatement.invoice | policy.reinstatement.issue | policy.reinstatement.open | policy.renew | policy.update | policy.upgrade | subClaim.open | subClaim.update | subClaim.close | subClaim.reopen | subClaim.updateReserve | policy.end.reminder | subClaim.createPayable | subClaim.reversePayable | endorsement.create | endorsement.update | endorsement.quote | endorsement.accept | endorsement.issue | endorsement.invalidate | endorsement.discard | endorsement.effective | reinstatement.accept | reinstatement.create | reinstatement.issue | reinstatement.invalidate | reinstatement.deadlineReached | reinstatement.effective | renewal.create | renewal.update | renewal.quote | renewal.accept | renewal.issue | renewal.invalidate | renewal.discard | renewal.effective | policy.effective | policy.end | policy.quote.create | policy.quote.discard | policy.quote.update | policy.quote.quoted | policy.quote.accept | policy.quote.declined | policy.quote.invalidate | premiumReport.create | premiumReport.update | premiumReport.issue | premiumReport.discard | premiumReport.reverse | premiumReport.replace | premiumReport.effective | premiumReport.pay | login.success | login.failure | policyholder.create | policyholder.update | payment.reverse | payment.update | payment.ready | payment.discard | payment.return | payment.decline | payment.draft | policy.gracePeriod.satisfied | webhook.suspended | disbursement.issue | disbursement.create | disbursement.update | catchUp.issue | catchUp.writtenOff | catchUp.pay | catchUp.pay.reverse | catchUp.invalidate | catchUp.pastDue | cash.transfer

optional
username string
EventStreamData
no fields

The data contained in EventStreamData depends on the type field from Event.

Login

Policyholders

Policies

Quotes

Endorsements

Renewals

Cancellations

Reinstatements

Claims

SubClaims

Invoicing and Payments

Cash Management

Premium Reports

Webhooks

EventStreamLoginData
required
username string
EventStreamLoginFailureData
required
username string
EventStreamPolicyholderCreateData
required
policyholderLocator string
EventStreamPolicyholderUpdateData
required
policyholderLocator string
EventStreamPolicyCreateData
required
policyLocator string
EventStreamPolicyUpdateData
required
policyLocator string

Note: The update event will only fire on an explicit call to the update endpoint. It is not fired implicitly when the policy is finalized or issued.

EventStreamPolicyFinalizeData
required
policyLocator string
EventStreamPolicyIssueData
required
policyLocator string
EventStreamPolicyEffectiveData
required
policyLocator string
effectiveTimestamp timestamp
EventStreamPolicyCancelData
required
policyLocator string
modificationName string
effectiveDate integer (deprecated)

optional
effectiveTimestamp timestamp
EventStreamPolicyEndData
required
policyLocator string
policyEndTimestamp timestamp
EventStreamPolicyDiscardData
required
policyLocator string
EventStreamGracePeriodCreateData
required
policyLocator string
gracePeriodLocator string
EventStreamGracePeriodUpdateData
required
policyLocator string
gracePeriodLocator string

optional
cancelEffectiveTimestamp timestamp
newEndTimestamp timestamp
previousEndTimestamp timestamp
EventStreamGracePeriodSatisfiedData
required
policyLocator string
settledTimestamp timestamp
gracePeriodLocator string
EventStreamPolicyUpgradeData
required
policyLocator string
newConfigVersion integer
originalConfigVersion integer
EventStreamPolicyEndReminderData
required
policyLocator string
policyEndTimestamp timestamp
reminderName string
EventStreamPolicyLapseData
required
policyLocator string
lapseLocator string
EventStreamReinstatementOpenData
required
policyLocator string
reinstatementLocator string
EventStreamReinstatementInvoiceData
required
policyLocator string
invoiceLocator string
reinstatementLocator string
EventStreamReinstatementCloseData
required
policyLocator string
reinstatementLocator string
EventStreamPolicyQuoteCreateData
required
policyLocator string
quoteLocator string
EventStreamPolicyQuoteUpdateData
required
policyLocator string
quoteLocator string
EventStreamPolicyQuoteQuotedData
required
policyLocator string
quoteLocator string
EventStreamPolicyQuoteAcceptData
required
policyLocator string
quoteLocator string
EventStreamPolicyQuoteDeclinedData
required
policyLocator string
quoteLocator string
EventStreamPolicyQuoteInvalidateData
required
policyLocator string
quoteLocator string
EventStreamPolicyQuoteDiscardData
required
policyLocator string
quoteLocator string
EventStreamClaimCloseData
required
policyLocator string
claimLocator string
EventStreamClaimCreateData
required
policyLocator string
claimLocator string
EventStreamClaimDiscardData
required
policyLocator string
claimLocator string
EventStreamClaimOpenData
required
policyLocator string
claimLocator string
EventStreamClaimUpdateData
required
policyLocator string
claimLocator string
EventStreamSubClaimOpenData
required
policyLocator string
claimLocator string
subClaimLocator string
EventStreamSubClaimUpdateData
required
policyLocator string
claimLocator string
subClaimLocator string
EventStreamSubClaimCloseData
required
policyLocator string
claimLocator string
subClaimLocator string
EventStreamSubClaimReOpenData
required
policyLocator string
claimLocator string
subClaimLocator string
EventStreamSubClaimReserveUpdateData
required
policyLocator string
claimLocator string
reserveCurrency string
reserveType string loss | expense
subClaimLocator string

optional
newAmount number
oldAmount number
EventStreamSubClaimPayableCreateData
required
policyLocator string
claimLocator string
payableLocator string
subClaimLocator string

optional
amountChange number
reserveCurrency string
reserveType string loss | expense
EventStreamSubClaimPayableReverseData
required
policyLocator string
claimLocator string
reversalLocator string
reversedLocator string
subClaimLocator string

optional
amountChange number
reserveCurrency string
reserveType string loss | expense
EventStreamPaymentPayData
required
policyLocator string
invoiceLocator string
paymentLocator string
EventStreamPaymentReverseData
required
policyLocator string
invoiceLocator string
paymentLocator string
EventStreamPaymentUpdateData
required
paymentLocator string
EventStreamPaymentReadyData
required
paymentLocator string
EventStreamPaymentDiscardData
required
paymentLocator string
EventStreamPaymentReturnData
required
paymentLocator string
EventStreamPaymentDeclineData
required
paymentLocator string
EventStreamPaymentDraftData
required
paymentLocator string
EventStreamDisbursementIssueData
required
cashBalanceLocator string
disbursementLocator string
EventStreamDisbursementCreateData
required
cashBalanceLocator string
disbursementLocator string
EventStreamDisbursementUpdateData
required
cashBalanceLocator string
disbursementLocator string
EventStreamCatchUpIssueData
required
cashBalanceLocator string
catchUpInvoiceLocator string
EventStreamCatchUpWrittenOffData
required
cashBalanceLocator string
catchUpInvoiceLocator string
EventStreamCatchUpPayData
required
cashBalanceLocator string
catchUpInvoiceLocator string
EventStreamCatchUpPayReverseData
required
cashBalanceLocator string
catchUpInvoiceLocator string
EventStreamCatchUpInvalidateData
required
cashBalanceLocator string
catchUpInvoiceLocator string
EventStreamCatchUpPastDueData
required
cashBalanceLocator string
catchUpInvoiceLocator string
EventStreamCashTransferData
required
name string
amount number
sourceCashBalanceLocator string
targetCashBalanceLocator string

optional
details string
EventStreamPolicyInvoiceIssueData
required
policyLocator string
invoiceLocator string
EventStreamPolicyInvoiceInvalidateData
required
policyLocator string
invoiceLocator string
EventStreamPolicyInvoicePastDueData
required
policyLocator string
invoiceLocator string
EventStreamPolicyInvoiceWrittenOffData
required
policyLocator string
invoiceLocator string
EventStreamEndorsementCreateData
required
policyLocator string
endorsementName string
endorsementLocator string
policyModificationLocator string
EventStreamEndorsementUpdateData
required
policyLocator string
endorsementName string
endorsementLocator string
policyModificationLocator string
EventStreamEndorsementQuoteData
required
policyLocator string
endorsementName string
endorsementLocator string
policyModificationLocator string
EventStreamEndorsementAcceptData
required
policyLocator string
endorsementName string
endorsementLocator string
policyModificationLocator string
EventStreamEndorsementIssueData
required
policyLocator string
endorsementName string
endorsementLocator string
policyModificationLocator string
EventStreamEndorsementEffectiveData
required
policyLocator string
endorsementName string
effectiveTimestamp timestamp
endorsementLocator string
policyModificationLocator string
EventStreamEndorsementInvalidateData
required
policyLocator string
endorsementLocator string
EventStreamEndorsementDiscardData
required
policyLocator string
endorsementLocator string
EventStreamPolicyEndorseData
required
policyLocator string
endorsementName string
modificationLocator string
EventStreamRenewalCreateData
required
policyLocator string
startTimestamp timestamp
endTimestamp timestamp
policyModificationLocator string
renewalLocator string
EventStreamRenewalUpdateData
required
policyLocator string
startTimestamp timestamp
endTimestamp timestamp
policyModificationLocator string
renewalLocator string
EventStreamRenewalAcceptData
required
policyLocator string
startTimestamp timestamp
endTimestamp timestamp
policyModificationLocator string
renewalLocator string
EventStreamRenewalQuoteData
required
policyLocator string
startTimestamp timestamp
endTimestamp timestamp
policyModificationLocator string
renewalLocator string
EventStreamRenewalIssueData
required
policyLocator string
startTimestamp timestamp
endTimestamp timestamp
policyModificationLocator string
renewalLocator string
EventStreamRenewalEffectiveData
required
policyLocator string
endTimestamp timestamp
effectiveTimestamp timestamp
policyModificationLocator string
renewalLocator string
EventStreamRenewalInvalidateData
required
policyLocator string
renewalLocator string
EventStreamRenewalDiscardData
required
policyLocator string
renewalLocator string
EventStreamRenewalData
required
policyLocator string
startTimestamp timestamp
endTimestamp timestamp
modificationLocator string
EventStreamCancellationCreateData
required
policyLocator string
cancellationLocator string
modificationName string
effectiveDate integer (deprecated)

optional
effectiveTimestamp timestamp
EventStreamCancellationUpdateData
required
policyLocator string
cancellationLocator string
modificationName string
effectiveDate integer (deprecated)

optional
effectiveTimestamp timestamp
EventStreamCancellationRescindData
required
policyLocator string
cancellationLocator string
modificationName string
effectiveDate integer (deprecated)

optional
effectiveTimestamp timestamp
EventStreamCancellationIssueData
required
policyLocator string
cancellationLocator string
modificationName string
effectiveDate integer (deprecated)

optional
effectiveTimestamp timestamp
cancellationName string
EventStreamCancellationEffectiveData
required
policyLocator string
cancellationLocator string
effectiveTimestamp timestamp
cancellationName string
modificationName string
EventStreamReinstatementCreateData
required
policyLocator string
cancellationLocator string
reinstatementLocator string
EventStreamReinstatementAcceptData
required
policyLocator string
cancellationLocator string
reinstatementLocator string
EventStreamReinstatementIssueData
required
policyLocator string
reinstatementLocator string

optional
cancellationLocator string
EventStreamReinstatementEffectiveData
required
policyLocator string
cancellationLocator string
effectiveTimestamp timestamp
reinstatementLocator string
EventStreamReinstatementInvalidateData
required
policyLocator string
cancellationLocator string
reinstatementLocator string
EventStreamReinstatementDeadlineReachedData
required
policyLocator string
cancellationLocator string
reinstatementLocator string
EventStreamPremiumReportCreateData
required
policyLocator string
premiumReportLocator string
EventStreamPremiumReportUpdateData
required
policyLocator string
premiumReportLocator string
EventStreamPremiumReportIssueData
required
policyLocator string
premiumReportLocator string
EventStreamPremiumReportEffectiveData
required
policyLocator string
effectiveTimestamp timestamp
premiumReportLocator string
EventStreamPremiumReportDiscardData
required
policyLocator string
premiumReportLocator string
EventStreamPremiumReportReplaceData
required
policyLocator string
newPremiumReportLocator string
replacedPremiumReportLocator string
EventStreamPremiumReportReverseData
required
policyLocator string
premiumReportLocator string
EventStreamPremiumReportInvoicePaymentData
required
policyholderLocator string
policyLocator string
invoiceLocator string
paymentLocator string
premiumReportLocator string
EventStreamWebhookSuspendedData
required
event string cancellation.create | cancellation.update | cancellation.rescind | cancellation.issue | cancellation.effective | claim.close | claim.create | claim.discard | claim.open | claim.update | policy.gracePeriod | policy.gracePeriod.update | invoice.issue | invoice.invalidate | invoice.pastDue | invoice.writtenOff | payment.pay | policy.cancel | policy.create | policy.discard | policy.endorse | policy.finalize | policy.issue | policy.lapse | policy.reinstatement.close | policy.reinstatement.invoice | policy.reinstatement.issue | policy.reinstatement.open | policy.renew | policy.update | policy.upgrade | subClaim.open | subClaim.update | subClaim.close | subClaim.reopen | subClaim.updateReserve | policy.end.reminder | subClaim.createPayable | subClaim.reversePayable | endorsement.create | endorsement.update | endorsement.quote | endorsement.accept | endorsement.issue | endorsement.invalidate | endorsement.discard | endorsement.effective | reinstatement.accept | reinstatement.create | reinstatement.issue | reinstatement.invalidate | reinstatement.deadlineReached | reinstatement.effective | renewal.create | renewal.update | renewal.quote | renewal.accept | renewal.issue | renewal.invalidate | renewal.discard | renewal.effective | policy.effective | policy.end | policy.quote.create | policy.quote.discard | policy.quote.update | policy.quote.quoted | policy.quote.accept | policy.quote.declined | policy.quote.invalidate | premiumReport.create | premiumReport.update | premiumReport.issue | premiumReport.discard | premiumReport.reverse | premiumReport.replace | premiumReport.effective | premiumReport.pay | login.success | login.failure | policyholder.create | policyholder.update | payment.reverse | payment.update | payment.ready | payment.discard | payment.return | payment.decline | payment.draft | policy.gracePeriod.satisfied | disbursement.issue | disbursement.create | disbursement.update | catchUp.issue | catchUp.writtenOff | catchUp.pay | catchUp.pay.reverse | catchUp.invalidate | catchUp.pastDue | cash.transfer
integrationName string
webhookName string