Event Stream API
Note
See the Event Stream Feature Guide for more information about using this feature.
Endpoint Index
Action | Endpoint |
---|---|
Fetch events | GET /eventstream/events |
Fetch attributed events | GET /eventstream/attributedEvents |
Details
GET /eventstream/events
Name | Position | Type | Required |
---|---|---|---|
endTimestamp | query | timestamp | optional |
eventType | query | string | optional |
pageSize | query | integer | optional |
pagingToken | query | string | optional |
startTimestamp | query | timestamp | optional |
GET /eventstream/attributedEvents
Name | Position | Type | Required |
---|---|---|---|
endTimestamp | query | timestamp | optional |
eventType | query | string | optional |
pageSize | query | integer | optional |
pagingToken | query | string | optional |
startTimestamp | query | timestamp | optional |
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.
requiredevents [EventResponse]optionalpagingToken string
requiredid stringtimestamp timestampdata EventStreamDatatype 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.transferoptionalusername string
no fields
The data contained in EventStreamData
depends on the type
field from Event
.
Login
login.success
: EventStreamLoginDatalogin.failure
: EventStreamLoginFailureData
Policyholders
policyholder.create
: EventStreamPolicyholderCreateDatapolicyholder.update
: EventStreamPolicyholderUpdateData
Policies
policy.create
: EventStreamPolicyCreateDatapolicy.update
: EventStreamPolicyUpdateDatapolicy.finalize
: EventStreamPolicyFinalizeDatapolicy.issue
: EventStreamPolicyIssueDatapolicy.effective
: EventStreamPolicyEffectiveDatapolicy.cancel
: EventStreamPolicyCancelDatapolicy.end
: EventStreamPolicyEndDatapolicy.discard
: EventStreamPolicyDiscardDatapolicy.gracePeriod
: EventStreamGracePeriodCreateDatapolicy.gracePeriod.update
: EventStreamGracePeriodUpdateDatapolicy.gracePeriod.satisfied
: EventStreamGracePeriodSatisfiedDatapolicy.upgrade
: EventStreamPolicyUpgradeDatapolicy.end.reminder
: EventStreamPolicyEndReminderDatapolicy.lapse
: EventStreamPolicyLapseData (Legacy)policy.reinstatement.open
EventStreamReinstatementOpenData (Legacy)policy.reinstatement.invoice
EventStreamReinstatementInvoiceData (Legacy)policy.reinstatement.close
EventStreamReinstatementCloseData (Legacy)
Quotes
policy.quote.create
: EventStreamPolicyQuoteCreateDatapolicy.quote.update
: EventStreamPolicyQuoteUpdateDatapolicy.quote.quoted
: EventStreamPolicyQuoteQuotedDatapolicy.quote.accept
: EventStreamPolicyQuoteAcceptDatapolicy.quote.declined
: EventStreamPolicyQuoteDeclinedDatapolicy.quote.invalidate
: EventStreamPolicyQuoteInvalidateDatapolicy.quote.discard
: EventStreamPolicyQuoteDiscardData
Endorsements
endorsement.create
: EventStreamEndorsementCreateDataendorsement.update
: EventStreamEndorsementUpdateDataendorsement.quote
: EventStreamEndorsementQuoteDataendorsement.accept
: EventStreamEndorsementAcceptDataendorsement.issue
: EventStreamEndorsementIssueDataendorsement.effective
: EventStreamEndorsementEffectiveDataendorsement.invalidate
: EventStreamEndorsementInvalidateDataendorsement.discard
: EventStreamEndorsementDiscardDatapolicy.endorse
: EventStreamPolicyEndorseData (Legacy)
Renewals
renewal.create
: EventStreamRenewalCreateDatarenewal.update
: EventStreamRenewalUpdateDatarenewal.quote
: EventStreamRenewalQuoteDatarenewal.accept
: EventStreamRenewalAcceptDatarenewal.issue
: EventStreamRenewalIssueDatarenewal.effective
: EventStreamRenewalEffectiveDatarenewal.invalidate
: EventStreamRenewalInvalidateDatarenewal.discard
: EventStreamRenewalDiscardDatapolicy.renew
: EventStreamRenewalData (Legacy)
Cancellations
cancellation.create
: EventStreamCancellationCreateDatacancellation.update
: EventStreamCancellationUpdateDatacancellation.rescind
: EventStreamCancellationRescindDatacancellation.issue
: EventStreamCancellationIssueDatacancellation.effective
: EventStreamCancellationEffectiveData
Reinstatements
reinstatement.create
: EventStreamReinstatementCreateDatareinstatement.accept
: EventStreamReinstatementAcceptDatareinstatement.issue
: EventStreamReinstatementIssueDatareinstatement.effective
: EventStreamReinstatementEffectiveDatareinstatement.invalidate
: EventStreamReinstatementInvalidateDatareinstatement.deadlineReached
: EventStreamReinstatementDeadlineReachedData
Claims
claim.close
EventStreamClaimCloseDataclaim.create
EventStreamClaimCreateDataclaim.discard
EventStreamClaimDiscardDataclaim.open
EventStreamClaimOpenDataclaim.update
EventStreamClaimUpdateData
SubClaims
subClaim.open
EventStreamSubClaimOpenDatasubClaim.update
EventStreamSubClaimUpdateDatasubClaim.close
EventStreamSubClaimCloseDatasubClaim.reopen
EventStreamSubClaimReOpenDatasubClaim.updateReserve
EventStreamSubClaimReserveUpdateDatasubClaim.createPayable
EventStreamSubClaimPayableCreateDatasubClaim.reversePayable
EventStreamSubClaimPayableReverseData
Invoicing and Payments
invoice.issue
: EventStreamPolicyInvoiceIssueDatainvoice.invalidate
: EventStreamPolicyInvoiceInvalidateDatainvoice.pastDue
: EventStreamPolicyInvoicePastDueDatainvoice.writtenOff
: EventStreamPolicyInvoiceWrittenOffDatapayment.pay
: EventStreamPaymentPayDatapayment.reverse
: EventStreamPaymentReverseDatapayment.update
: EventStreamPaymentUpdateDatapayment.ready
: EventStreamPaymentReadyDatapayment.discard
: EventStreamPaymentDiscardDatapayment.return
: EventStreamPaymentReturnDatapayment.decline
: EventStreamPaymentDeclineDatapayment.draft
: EventStreamPaymentDraftData
Cash Management
disbursement.issue
: EventStreamDisbursementIssueDatadisbursement.create
: EventStreamDisbursementCreateDatadisbursement.update
: EventStreamDisbursementUpdateDatacatchUp.issue
: EventStreamCatchUpIssueDatacatchUp.writtenOff
: EventStreamCatchUpWrittenOffDatacatchUp.pay
: EventStreamCatchUpPayDatacatchUp.pay.reverse
: EventStreamCatchUpPayReverseDatacatchUp.invalidate
: EventStreamCatchUpInvalidateDatacatchUp.pastDue
: EventStreamCatchUpPastDueDatacash.transfer
: EventStreamCashTransferData
Webhooks
webhook.suspended
: EventStreamWebhookSuspendedData
requiredusername string
requiredusername string
requiredpolicyholderLocator string
requiredpolicyholderLocator string
requiredpolicyLocator string
requiredpolicyLocator 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.
requiredpolicyLocator string
requiredpolicyLocator string
requiredpolicyLocator stringeffectiveTimestamp timestamp
requiredpolicyLocator stringmodificationName stringeffectiveDate integer (deprecated)optionaleffectiveTimestamp timestamp
requiredpolicyLocator stringpolicyEndTimestamp timestamp
requiredpolicyLocator string
requiredpolicyLocator stringgracePeriodLocator string
requiredpolicyLocator stringgracePeriodLocator stringoptionalcancelEffectiveTimestamp timestampnewEndTimestamp timestamppreviousEndTimestamp timestamp
requiredpolicyLocator stringsettledTimestamp timestampgracePeriodLocator string
requiredpolicyLocator stringnewConfigVersion integeroriginalConfigVersion integer
requiredpolicyLocator stringpolicyEndTimestamp timestampreminderName string
requiredpolicyLocator stringlapseLocator string
requiredpolicyLocator stringreinstatementLocator string
requiredpolicyLocator stringinvoiceLocator stringreinstatementLocator string
requiredpolicyLocator stringreinstatementLocator string
requiredpolicyLocator stringquoteLocator string
requiredpolicyLocator stringquoteLocator string
requiredpolicyLocator stringquoteLocator string
requiredpolicyLocator stringquoteLocator string
requiredpolicyLocator stringquoteLocator string
requiredpolicyLocator stringquoteLocator string
requiredpolicyLocator stringquoteLocator string
requiredpolicyLocator stringclaimLocator string
requiredpolicyLocator stringclaimLocator string
requiredpolicyLocator stringclaimLocator string
requiredpolicyLocator stringclaimLocator string
requiredpolicyLocator stringclaimLocator string
requiredpolicyLocator stringclaimLocator stringsubClaimLocator string
requiredpolicyLocator stringclaimLocator stringsubClaimLocator string
requiredpolicyLocator stringclaimLocator stringsubClaimLocator string
requiredpolicyLocator stringclaimLocator stringsubClaimLocator string
requiredpolicyLocator stringclaimLocator stringreserveCurrency stringreserveType string loss | expensesubClaimLocator stringoptionalnewAmount numberoldAmount number
requiredpolicyLocator stringclaimLocator stringpayableLocator stringsubClaimLocator stringoptionalamountChange numberreserveCurrency stringreserveType string loss | expense
requiredpolicyLocator stringclaimLocator stringreversalLocator stringreversedLocator stringsubClaimLocator stringoptionalamountChange numberreserveCurrency stringreserveType string loss | expense
requiredpolicyLocator stringinvoiceLocator stringpaymentLocator string
requiredpolicyLocator stringinvoiceLocator stringpaymentLocator string
requiredpaymentLocator string
requiredpaymentLocator string
requiredpaymentLocator string
requiredpaymentLocator string
requiredpaymentLocator string
requiredpaymentLocator string
requiredcashBalanceLocator stringdisbursementLocator string
requiredcashBalanceLocator stringdisbursementLocator string
requiredcashBalanceLocator stringdisbursementLocator string
requiredcashBalanceLocator stringcatchUpInvoiceLocator string
requiredcashBalanceLocator stringcatchUpInvoiceLocator string
requiredcashBalanceLocator stringcatchUpInvoiceLocator string
requiredcashBalanceLocator stringcatchUpInvoiceLocator string
requiredcashBalanceLocator stringcatchUpInvoiceLocator string
requiredcashBalanceLocator stringcatchUpInvoiceLocator string
requiredname stringamount numbersourceCashBalanceLocator stringtargetCashBalanceLocator stringoptionaldetails string
requiredpolicyLocator stringinvoiceLocator string
requiredpolicyLocator stringinvoiceLocator string
requiredpolicyLocator stringinvoiceLocator string
requiredpolicyLocator stringinvoiceLocator string
requiredpolicyLocator stringendorsementName stringendorsementLocator stringpolicyModificationLocator string
requiredpolicyLocator stringendorsementName stringendorsementLocator stringpolicyModificationLocator string
requiredpolicyLocator stringendorsementName stringendorsementLocator stringpolicyModificationLocator string
requiredpolicyLocator stringendorsementName stringendorsementLocator stringpolicyModificationLocator string
requiredpolicyLocator stringendorsementName stringendorsementLocator stringpolicyModificationLocator string
requiredpolicyLocator stringendorsementName stringeffectiveTimestamp timestampendorsementLocator stringpolicyModificationLocator string
requiredpolicyLocator stringendorsementLocator string
requiredpolicyLocator stringendorsementLocator string
requiredpolicyLocator stringendorsementName stringmodificationLocator string
requiredpolicyLocator stringstartTimestamp timestampendTimestamp timestamppolicyModificationLocator stringrenewalLocator string
requiredpolicyLocator stringstartTimestamp timestampendTimestamp timestamppolicyModificationLocator stringrenewalLocator string
requiredpolicyLocator stringstartTimestamp timestampendTimestamp timestamppolicyModificationLocator stringrenewalLocator string
requiredpolicyLocator stringstartTimestamp timestampendTimestamp timestamppolicyModificationLocator stringrenewalLocator string
requiredpolicyLocator stringstartTimestamp timestampendTimestamp timestamppolicyModificationLocator stringrenewalLocator string
requiredpolicyLocator stringendTimestamp timestampeffectiveTimestamp timestamppolicyModificationLocator stringrenewalLocator string
requiredpolicyLocator stringrenewalLocator string
requiredpolicyLocator stringrenewalLocator string
requiredpolicyLocator stringstartTimestamp timestampendTimestamp timestampmodificationLocator string
requiredpolicyLocator stringcancellationLocator stringmodificationName stringeffectiveDate integer (deprecated)optionaleffectiveTimestamp timestamp
requiredpolicyLocator stringcancellationLocator stringmodificationName stringeffectiveDate integer (deprecated)optionaleffectiveTimestamp timestamp
requiredpolicyLocator stringcancellationLocator stringmodificationName stringeffectiveDate integer (deprecated)optionaleffectiveTimestamp timestamp
requiredpolicyLocator stringcancellationLocator stringmodificationName stringeffectiveDate integer (deprecated)optionaleffectiveTimestamp timestampcancellationName string
requiredpolicyLocator stringcancellationLocator stringeffectiveTimestamp timestampcancellationName stringmodificationName string
requiredpolicyLocator stringcancellationLocator stringreinstatementLocator string
requiredpolicyLocator stringcancellationLocator stringreinstatementLocator string
requiredpolicyLocator stringreinstatementLocator stringoptionalcancellationLocator string
requiredpolicyLocator stringcancellationLocator stringeffectiveTimestamp timestampreinstatementLocator string
requiredpolicyLocator stringcancellationLocator stringreinstatementLocator string
requiredpolicyLocator stringcancellationLocator stringreinstatementLocator string
requiredpolicyLocator stringpremiumReportLocator string
requiredpolicyLocator stringpremiumReportLocator string
requiredpolicyLocator stringpremiumReportLocator string
requiredpolicyLocator stringeffectiveTimestamp timestamppremiumReportLocator string
requiredpolicyLocator stringpremiumReportLocator string
requiredpolicyLocator stringnewPremiumReportLocator stringreplacedPremiumReportLocator string
requiredpolicyLocator stringpremiumReportLocator string
requiredpolicyholderLocator stringpolicyLocator stringinvoiceLocator stringpaymentLocator stringpremiumReportLocator string
requiredevent 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.transferintegrationName stringwebhookName string