For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Get access
Getting Started Key Concepts Integration Types Core Components Embed Hosted API API Reference
  • API Reference
    • Contribution Reports
    • Events and Webhooks
      • GETList all events
      • GETRetrieve an event
      • GETList all webhook endpoints
      • GETRetrieve a webhook endpoint
      • Working with webhooks
    • API Errors
Get access
LogoLogo
On this page
  • Introduction
API Reference

Events and Webhooks

Listen for events from API calls and Embedded UI sessions

Introduction

Events are our way of letting you know when something interesting happens in your account. When an interesting event occurs, we create a new Event object. For example, when an employer creates a health insurance quote, we create a employer.health_insurance.quote.created event, and when the insurer responds with a quote, we create an employer.health_insurance.quote.action_required event. Certain actions might create multiple events. For example, if an employee is offered an opt-out health insurance policy, you will receive both a employee.health_insurance.policy.created event and an employee.health_insurance.policy.

Events occur when the state of another API resource changes. The event’s data field embeds the resource’s state at the time of the change. For example, a employer.health_insurance.quote.action_required event contains an employer health insurance policy object, and an employer.health_insurance.quote.not_undertaken event also contains an employer health insurance quote object.

As with other API resources, you can use endpoints to retrieve an individual event or a list of events from the API. This connects to our webhooks system for sending the Event objects directly to an endpoint on your server. You can manage webhooks by reaching out to your contact at Kota, endpoints for managing them are coming soon.

When using Kota Embedded, you can also receive event notifications that occur within your user’s sessions so you can react to their activity, such as an employer creating a health insurance quote or an employee finalising their renewal.

We only guarantee access to events through the Retrieve Event API for 30 days.

Edit this page
Previous

List all employee breakdowns

Next

List all events

Built with