{"openapi":"3.1.0","info":{"title":"API Reference","version":"1.0"},"paths":{"/employers":{"get":{"operationId":"employers_ListEmployers","summary":"List all employers","description":"Returns a list of your `employers`. The `employers` are returned sorted by creation date, with the most recent `employers` appearing first.","tags":["employers"],"parameters":[{"name":"filter","in":"query","description":"Multiple values can be provided by separating them with a comma. Allowed values are: `pending`, `active`, `offboarding`, `inactive`, `restricted`.","required":false,"schema":{"type":"string"}},{"name":"page","in":"query","description":"The page of results to return. Defaults to 1 if not provided.","required":false,"schema":{"type":"integer"}},{"name":"page_size","in":"query","description":"The number of results to return per page. Defaults to 10 if not provided. Maximum value is 100.","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployerResponsePagedList"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HttpValidationProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"employers_CreateEmployer","summary":"Create an employer","description":"Creates an `employer`.","tags":["employers"],"parameters":[{"name":"Idempotency-Key","in":"header","description":"Unique key to ensure idempotent requests. If the same key is used for multiple _identical & successful_ requests, the same response will be returned. [Read more here](/api#idempotent-requests)","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployerResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HttpValidationProblemDetails"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateEmployerRequest"}}}},"security":[{"bearerAuth":[]}]}},"/employers/{employer_id}":{"get":{"operationId":"employers_RetrieveEmployer","summary":"Retrieve an employer","description":"Retrieves an `employer` object.","tags":["employers"],"parameters":[{"name":"employer_id","in":"path","required":true,"schema":{"type":"string","pattern":"er_.+"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployerResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"employers_UpdateEmployer","summary":"Update an employer","description":"Updates the specified `employer` by setting the values of the parameters passed. Any parameters not provided will be left unchanged. For example, if you pass the `legal_address` parameter only the `legal_address` value will be changed.\n\nNote that the `legal_address` and `contact` fields are treated as single objects that are updated entirely. If you provide either of these fields, the entire object will be replaced with the new data, not just the individual sub-fields you include in the request.For instance, if you provide a partial `legal_address` object, it will overwrite the entire existing `legal_address`, potentially removing any sub-fields you didn't include in the request.\n\nThis request accepts mostly the same arguments as the `employer` creation call.","tags":["employers"],"parameters":[{"name":"employer_id","in":"path","required":true,"schema":{"type":"string","pattern":"er_.+"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployerResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HttpValidationProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateEmployerRequest"}}}},"security":[{"bearerAuth":[]}]}},"/employers/{employer_id}/offboard":{"post":{"operationId":"employers_OffboardEmployer","summary":"Offboard an employer","description":"Immediately offboard an `employer`. The `employer`’s scheme will be terminated and all `employees` associated with the `employer` will be offboarded and have their insurance terminated. `Employee` offboarding cannot be cancelled if triggered via this call.","tags":["employers"],"parameters":[{"name":"employer_id","in":"path","required":true,"schema":{"type":"string","pattern":"er_.+"}},{"name":"Idempotency-Key","in":"header","description":"Unique key to ensure idempotent requests. If the same key is used for multiple _identical & successful_ requests, the same response will be returned. [Read more here](/api#idempotent-requests)","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployerResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HttpValidationProblemDetails"}}}}},"security":[{"bearerAuth":[]}]}},"/employees":{"get":{"operationId":"employees_ListEmployees","summary":"List all employees","description":"Returns a list of your `employees`. The `employees` are returned sorted by creation date, with the most recent `employees` appearing first.","tags":["employees"],"parameters":[{"name":"filter","in":"query","description":"Multiple values can be provided by separating them with a comma. Allowed values are: `pending`, `active`, `offboarding`, `inactive`, `restricted`.","required":false,"schema":{"type":"string"}},{"name":"employer_id","in":"query","description":"Filter by employer ID.","required":false,"schema":{"type":"string","pattern":"er_.+"}},{"name":"external_customer_id","in":"query","required":false,"schema":{"type":"string"}},{"name":"metadata_id","in":"query","description":"Filter by the employee's metadata \"id\" value (case-insensitive, accent-insensitive, partial match)","required":false,"schema":{"type":"string"}},{"name":"page","in":"query","description":"The page of results to return. Defaults to 1 if not provided.","required":false,"schema":{"type":"integer"}},{"name":"page_size","in":"query","description":"The number of results to return per page. Defaults to 10 if not provided. Maximum value is 100.","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeResponsePagedList"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HttpValidationProblemDetails"}}}}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"employees_CreateEmployee","summary":"Create an employee","description":"Creates an `employee` with the linked `employer`. If the `employer` has an active health insurance scheme that automatically provides insurance to employees the `employee` will be enrolled.","tags":["employees"],"parameters":[{"name":"Idempotency-Key","in":"header","description":"Unique key to ensure idempotent requests. If the same key is used for multiple _identical & successful_ requests, the same response will be returned. [Read more here](/api#idempotent-requests)","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HttpValidationProblemDetails"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateEmployeeRequest"}}}},"security":[{"bearerAuth":[]}]}},"/employees/{employee_id}":{"get":{"operationId":"employees_RetrieveEmployee","summary":"Retrieve an employee","description":"Retrieves an `employee` object.","tags":["employees"],"parameters":[{"name":"employee_id","in":"path","required":true,"schema":{"type":"string","pattern":"ee_.+"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HttpValidationProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"employees_UpdateEmployee","summary":"Update an employee","description":"Updates the specified `employee` by setting the values of the parameters passed. Any parameters not provided will be left unchanged. For example, if you pass the `email` parameter only the `email` value will be changed.\n\nNote that the `home_address` field is treated as single object that is updated entirely. If you provide this field, the entire address object will be replaced with the new data, not just the individual sub-fields you include in the request, potentially removing any sub-fields you didn't include in the request.\n\nThis request accepts mostly the same arguments as the `employee` creation call.","tags":["employees"],"parameters":[{"name":"employee_id","in":"path","required":true,"schema":{"type":"string","pattern":"ee_.+"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HttpValidationProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateEmployeeRequest"}}}},"security":[{"bearerAuth":[]}]}},"/employees/{employee_id}/offboard":{"post":{"operationId":"employees_OffboardEmployee","summary":"Offboard an employee","description":"Schedules an `employee` to be offboarded. Changes affecting payroll will be reflected in the next available payroll cycle data run. Offboarding an `employee` can be cancelled up to, and including, the day before they are scheduled for offboarding. A `webhook` is available to inform you when this completes.","tags":["employees"],"parameters":[{"name":"employee_id","in":"path","required":true,"schema":{"type":"string","pattern":"ee_.+"}},{"name":"Idempotency-Key","in":"header","description":"Unique key to ensure idempotent requests. If the same key is used for multiple _identical & successful_ requests, the same response will be returned. [Read more here](/api#idempotent-requests)","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HttpValidationProblemDetails"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OffboardEmployeeRequest"}}}},"security":[{"bearerAuth":[]}]}},"/employees/{employee_id}/offboard/cancel":{"post":{"operationId":"employees_CancelOffboardingEmployee","summary":"Cancel offboarding an employee","description":"Cancels the scheduled offboarding of an `employee`. Adjusts the next payroll cycle data to compensate for this change and if payroll ran while the offboarding was scheduled the next payroll cycle data will be adjusted to bring the scheme back to balance.","tags":["employees"],"parameters":[{"name":"employee_id","in":"path","required":true,"schema":{"type":"string","pattern":"ee_.+"}},{"name":"Idempotency-Key","in":"header","description":"Unique key to ensure idempotent requests. If the same key is used for multiple _identical & successful_ requests, the same response will be returned. [Read more here](/api#idempotent-requests)","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HttpValidationProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"security":[{"bearerAuth":[]}]}},"/employees/{employee_id}/salaries":{"post":{"operationId":"salaries_CreateSalary","summary":"Create a salary record","description":"Creates a new `salary` record for an `employee`, effective from the given date. Salary records are immutable — to change an employee's salary, create a new record with a later `effective_from` date rather than modifying an existing one.","tags":["salaries"],"parameters":[{"name":"employee_id","in":"path","required":true,"schema":{"type":"string","pattern":"ee_.+"}},{"name":"Idempotency-Key","in":"header","description":"Unique key to ensure idempotent requests. If the same key is used for multiple _identical & successful_ requests, the same response will be returned. [Read more here](/api#idempotent-requests)","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SalaryResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HttpValidationProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSalaryRequest"}}}},"security":[{"bearerAuth":[]}]},"get":{"operationId":"salaries_ListSalaries","summary":"List salary records","description":"Returns a paginated page of `salary` records for a specific `employee`, sorted by `effective_from` descending (most recent first).","tags":["salaries"],"parameters":[{"name":"employee_id","in":"path","required":true,"schema":{"type":"string","pattern":"ee_.+"}},{"name":"page","in":"query","description":"The page of results to return. Defaults to 1 if not provided.","required":false,"schema":{"type":"integer"}},{"name":"page_size","in":"query","description":"The number of results to return per page. Defaults to 10 if not provided. Maximum value is 100.","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SalaryResponsePagedList"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HttpValidationProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"security":[{"bearerAuth":[]}]}},"/employees/{employee_id}/salaries/current":{"get":{"operationId":"salaries_RetrieveCurrentSalary","summary":"Retrieve the current salary record","description":"Retrieves the `salary` record currently in effect for an `employee` — the one with the latest `effective_from` date on or before today.","tags":["salaries"],"parameters":[{"name":"employee_id","in":"path","required":true,"schema":{"type":"string","pattern":"ee_.+"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SalaryResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"security":[{"bearerAuth":[]}]}},"/employees/{employee_id}/salaries/{salary_id}":{"get":{"operationId":"salaries_RetrieveSalary","summary":"Retrieve a salary record","description":"Retrieves a `salary` object.","tags":["salaries"],"parameters":[{"name":"employee_id","in":"path","required":true,"schema":{"type":"string","pattern":"ee_.+"}},{"name":"salary_id","in":"path","required":true,"schema":{"type":"string","pattern":"sal_.+"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SalaryResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"security":[{"bearerAuth":[]}]},"delete":{"operationId":"salaries_DeleteSalary","summary":"Delete a salary record","description":"Deletes a `salary` record — for example one submitted in error, against the wrong employee, or a duplicate. A deleted record no longer appears in the employee's salary list and is no longer eligible to be their current salary; if it was the current record, the next most recent one takes its place.","tags":["salaries"],"parameters":[{"name":"employee_id","in":"path","required":true,"schema":{"type":"string","pattern":"ee_.+"}},{"name":"salary_id","in":"path","required":true,"schema":{"type":"string","pattern":"sal_.+"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SalaryResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"security":[{"bearerAuth":[]}]}},"/employers/{employer_id}/health_insurance/quotes/{employer_quote_id}":{"get":{"operationId":"healthInsurance_RetrieveEmployerHealthInsuranceQuote","summary":"Retrieve employer quote","description":"Returns group's health insurance `quote` for an `employer` by `employer_quote_id`.","tags":["healthInsurance"],"parameters":[{"name":"employer_id","in":"path","required":true,"schema":{"type":"string","pattern":"er_.+"}},{"name":"employer_quote_id","in":"path","required":true,"schema":{"type":"string","pattern":"erhq_.+"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployerHealthInsuranceQuoteResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"security":[{"bearerAuth":[]}]}},"/employers/{employer_id}/health_insurance/quotes":{"get":{"operationId":"healthInsurance_ListEmployerHealthInsuranceQuotes","summary":"List all employer quotes","description":"Returns a list of health insurance `quotes` for an `employer`. The `quotes` are returned sorted by creation date, with the most recent `quote` appearing first.","tags":["healthInsurance"],"parameters":[{"name":"employer_id","in":"path","required":true,"schema":{"type":"string","pattern":"er_.+"}},{"name":"status","in":"query","description":"Multiple values can be provided by separating them with a comma. Allowed values are: `pending_quote`, `action_required`, `not_undertaken`, `accepted`, `pending_insurer_acceptance`.","required":false,"schema":{"type":"string"}},{"name":"page","in":"query","description":"The page of results to return. Defaults to 1 if not provided.","required":false,"schema":{"type":"integer"}},{"name":"page_size","in":"query","description":"The number of results to return per page. Defaults to 10 if not provided. Maximum value is 100.","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployerHealthInsuranceQuoteResponsePagedList"}}}}},"security":[{"bearerAuth":[]}]}},"/employers/{employer_id}/health_insurance/policies/{employer_policy_id}":{"get":{"operationId":"healthInsurance_RetrieveEmployerHealthInsurancePolicy","summary":"Retrieve an employer policy","description":"Retrieve group's health insurance `policy` for an `employer` by `employer_policy_id`.","tags":["healthInsurance"],"parameters":[{"name":"employer_id","in":"path","required":true,"schema":{"type":"string","pattern":"er_.+"}},{"name":"employer_policy_id","in":"path","required":true,"schema":{"type":"string","pattern":"erhp_.+"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployerHealthInsurancePolicyResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"security":[{"bearerAuth":[]}]}},"/employers/{employer_id}/health_insurance/policies":{"get":{"operationId":"healthInsurance_ListEmployerHealthInsurancePolicies","summary":"List all employer policies","description":"Returns a list of group health insurance `policies` for an `employer`. The `policies` are returned sorted by creation date, with the most recent `policy` appearing first.","tags":["healthInsurance"],"parameters":[{"name":"employer_id","in":"path","required":true,"schema":{"type":"string","pattern":"er_.+"}},{"name":"status","in":"query","description":"Multiple values can be provided by separating them with a comma. Allowed values are: `scheduled`, `active`, `expired`, `cancelled`.","required":false,"schema":{"type":"string"}},{"name":"page","in":"query","description":"The page of results to return. Defaults to 1 if not provided.","required":false,"schema":{"type":"integer"}},{"name":"page_size","in":"query","description":"The number of results to return per page. Defaults to 10 if not provided. Maximum value is 100.","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployerHealthInsurancePolicyResponsePagedList"}}}}},"security":[{"bearerAuth":[]}]}},"/employees/{employee_id}/health_insurance/offers/{employee_offer_id}":{"get":{"operationId":"healthInsurance_RetrieveEmployeeHealthInsuranceOffer","summary":"Retrieve an employee offer","description":"Retrieve group's health insurance `offer` for an `employee` by `employee_offer_id`. For intent-based enrolments the offer id is the enrolment intent id.","tags":["healthInsurance"],"parameters":[{"name":"employee_id","in":"path","required":true,"schema":{"type":"string","pattern":"ee_.+"}},{"name":"employee_offer_id","in":"path","required":true,"schema":{"type":"string","pattern":"eeho_.+"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeHealthInsuranceOfferResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"security":[{"bearerAuth":[]}]}},"/employees/{employee_id}/health_insurance/offers":{"get":{"operationId":"healthInsurance_ListEmployeeHealthInsuranceOffers","summary":"List all employee offers","description":"Returns a list of group health insurance `offers` for an `employee`. The `offers` are returned sorted by creation date, with the most recent `offer` appearing first.","tags":["healthInsurance"],"parameters":[{"name":"employee_id","in":"path","required":true,"schema":{"type":"string","pattern":"ee_.+"}},{"name":"page","in":"query","description":"The page of results to return. Defaults to 1 if not provided.","required":false,"schema":{"type":"integer"}},{"name":"page_size","in":"query","description":"The number of results to return per page. Defaults to 10 if not provided. Maximum value is 100.","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeHealthInsuranceOfferResponsePagedList"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"security":[{"bearerAuth":[]}]}},"/employees/{employee_id}/health_insurance/policies":{"get":{"operationId":"healthInsurance_ListEmployeeHealthInsurancePolicies","summary":"List all employee policies","description":"Returns a list of group health insurance `policies` for an `employee`. The `policies` are returned sorted by creation date, with the most recent `policy` appearing first.","tags":["healthInsurance"],"parameters":[{"name":"employee_id","in":"path","required":true,"schema":{"type":"string","pattern":"ee_.+"}},{"name":"status","in":"query","description":"Multiple values can be provided by separating them with a comma. Allowed values are: `scheduled`, `active`, `expired`, `cancelled`.","required":false,"schema":{"type":"string"}},{"name":"page","in":"query","description":"The page of results to return. Defaults to 1 if not provided.","required":false,"schema":{"type":"integer"}},{"name":"page_size","in":"query","description":"The number of results to return per page. Defaults to 10 if not provided. Maximum value is 100.","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeHealthInsurancePolicyResponsePagedList"}}}}},"security":[{"bearerAuth":[]}]}},"/employees/{employee_id}/health_insurance/policies/{employee_policy_id}":{"get":{"operationId":"healthInsurance_RetrieveEmployeeHealthInsurancePolicy","summary":"Retrieve an employee policy","description":"Retrieve group's health insurance `policy` for an `employee` by `employee_policy_id`.","tags":["healthInsurance"],"parameters":[{"name":"employee_id","in":"path","required":true,"schema":{"type":"string","pattern":"ee_.+"}},{"name":"employee_policy_id","in":"path","required":true,"schema":{"type":"string","pattern":"eehp_.+"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeHealthInsurancePolicyResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"security":[{"bearerAuth":[]}]}},"/requirements/{requirement_id}":{"get":{"operationId":"requirements_get-requirement","summary":"Get a requirement","description":"Retrieve a requirement's current state and the schema of the fields it needs. The response reports whether the requirement has already been fulfilled (and when), and includes the JSON Schema describing the fields to collect.","tags":["requirements"],"parameters":[{"name":"requirement_id","in":"path","description":"A requirement identifier in the format ar_ followed by 32 lowercase hex characters (e.g. ar_0a1b2c3d4e5f67890a1b2c3d4e5f6789).","required":true,"schema":{"type":"string","pattern":"^ar_[0-9a-f]{32}$"}},{"name":"Authorization","in":"header","description":"Authorization header using the Bearer scheme","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Requirements_get-requirement_Response_200"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Get-requirementRequestBadRequestError"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Get-requirementRequestUnauthorizedError"}}}},"404":{"description":"Resource not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Get-requirementRequestNotFoundError"}}}},"500":{"description":"An error occurred while processing your request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Get-requirementRequestInternalServerError"}}}}}},"post":{"operationId":"requirements_submit-answers","summary":"Submit answers","description":"Submit answers for a requirement. Answers are merged with any previously submitted and re-evaluated against the requirement's schema: it becomes `fulfilled` once all required fields are satisfied, otherwise it stays `in_progress` and the response lists the fields still outstanding.","tags":["requirements"],"parameters":[{"name":"requirement_id","in":"path","description":"A requirement identifier in the format ar_ followed by 32 lowercase hex characters (e.g. ar_0a1b2c3d4e5f67890a1b2c3d4e5f6789).","required":true,"schema":{"type":"string","pattern":"^ar_[0-9a-f]{32}$"}},{"name":"Authorization","in":"header","description":"Authorization header using the Bearer scheme","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Requirements_submit-answers_Response_200"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Submit-answersRequestBadRequestError"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Submit-answersRequestUnauthorizedError"}}}},"404":{"description":"Resource not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Submit-answersRequestNotFoundError"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Submit-answersRequestConflictError"}}}},"500":{"description":"An error occurred while processing your request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Submit-answersRequestInternalServerError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"answers":{"$ref":"#/components/schemas/RequirementsRequirementIdPostRequestBodyContentApplicationJsonSchemaAnswers","description":"A key-value map of field IDs to answer values."}},"required":["answers"]}}}}}},"/contribution_reports/{contribution_report_id}":{"get":{"operationId":"contributionReports_RetrieveContributionReport","summary":"Retrieve a contribution report","description":"Returns a `contribution report` object.","tags":["contributionReports"],"parameters":[{"name":"contribution_report_id","in":"path","required":true,"schema":{"type":"string","pattern":"ctr_.+"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContributionReportResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"security":[{"bearerAuth":[]}]}},"/contribution_reports":{"get":{"operationId":"contributionReports_ListContributionReports","summary":"List all contribution reports","description":"Returns a list of `contribution reports`. The reports are returned sorted by creation date, with the most recent reports appearing first.","tags":["contributionReports"],"parameters":[{"name":"employer_id","in":"query","description":"Unique identifier of the employer for filtering reports","required":false,"schema":{"type":"string","pattern":"er_.+"}},{"name":"status","in":"query","description":"Multiple values can be provided by separating them with a comma. Allowed values are: `open`, `finalized`.","required":false,"schema":{"type":"string"}},{"name":"month","in":"query","description":"Month for filtering reports, used together with `year` (MM format)","required":false,"schema":{"type":"integer"}},{"name":"year","in":"query","description":"Year for filtering reports, can be used standalone or with `month` (YYYY format)","required":false,"schema":{"type":"integer"}},{"name":"external_customer_id","in":"query","description":"Unique identifier of the customer for EoR platforms, used to filter reports for a logical employer","required":false,"schema":{"type":"string"}},{"name":"page","in":"query","description":"The page of results to return. Defaults to 1 if not provided.","required":false,"schema":{"type":"integer"}},{"name":"page_size","in":"query","description":"The number of results to return per page. Defaults to 10 if not provided. Maximum value is 100.","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContributionReportResponsePagedList"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HttpValidationProblemDetails"}}}}},"security":[{"bearerAuth":[]}]}},"/contribution_reports/{contribution_report_id}/finalize":{"post":{"operationId":"contributionReports_FinalizeContributionReport","summary":"Finalize a contribution report","description":"This endpoint finalizes the `contribution report` object, making it immutable and preventing any further updates. Once finalized, its `status` changes to `finalized`, and it serves as a historical record for payroll reporting. Any changes or adjustments that occur after the finalization will roll into the next reporting period.","tags":["contributionReports"],"parameters":[{"name":"contribution_report_id","in":"path","required":true,"schema":{"type":"string","pattern":"ctr_.+"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContributionReportResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"security":[{"bearerAuth":[]}]}},"/contribution_reports/{contribution_report_id}/employee_breakdowns/{employee_id}":{"get":{"operationId":"contributionReports_RetrieveEmployeeBreakdownForContributionReport","summary":"Retrieve an employee breakdown","description":"Returns the `employee breakdown` for a `contribution report`.","tags":["contributionReports"],"parameters":[{"name":"contribution_report_id","in":"path","required":true,"schema":{"type":"string","pattern":"ctr_.+"}},{"name":"employee_id","in":"path","required":true,"schema":{"type":"string","pattern":"ee_.+"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContributionReportEmployeeBreakdownResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"security":[{"bearerAuth":[]}]}},"/contribution_reports/{contribution_report_id}/employee_breakdowns":{"get":{"operationId":"contributionReports_ListEmployeeBreakdownsForContributionReport","summary":"List all employee breakdowns","description":"Returns a list of `employee breakdowns` for a `contribution report`. The breakdowns are returned sorted by creation date, with the most recent breakdown appearing first.","tags":["contributionReports"],"parameters":[{"name":"contribution_report_id","in":"path","required":true,"schema":{"type":"string","pattern":"ctr_.+"}},{"name":"page","in":"query","description":"The page of results to return. Defaults to 1 if not provided.","required":false,"schema":{"type":"integer"}},{"name":"page_size","in":"query","description":"The number of results to return per page. Defaults to 10 if not provided. Maximum value is 100.","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContributionReportEmployeeBreakdownResponsePagedList"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"security":[{"bearerAuth":[]}]}},"/events":{"get":{"operationId":"events_ListEvents","summary":"List all events","description":"Returns a list of `events` sorted by creation date, with the most recently created event appearing first. The event list includes data from up to the last 30 days.\n\nEach `event`’s data is rendered according to the API version at the time of its creation, as specified by the `api_version` attribute in the event object, rather than the current API version.","tags":["events"],"parameters":[{"name":"created_after","in":"query","description":"Filter events created after this date (limited to the last 30 days)","required":false,"schema":{"type":"string","format":"date-time"}},{"name":"order_direction","in":"query","description":"Order direction of the events list `asc` or `desc` (default: `desc`)","required":false,"schema":{"$ref":"#/components/schemas/OrderDirectionEnumParameter"}},{"name":"version","in":"query","description":"API version of the events to return `v1` or `v2` (default: based on registered webhook endpoint versions)","required":false,"schema":{"$ref":"#/components/schemas/WebhookVersionEnumParameter"}},{"name":"page","in":"query","description":"The page of results to return. Defaults to 1 if not provided.","required":false,"schema":{"type":"integer"}},{"name":"page_size","in":"query","description":"The number of results to return per page. Defaults to 10 if not provided. Maximum value is 100.","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventResponsePagedList"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HttpValidationProblemDetails"}}}}},"security":[{"bearerAuth":[]}]}},"/events/{event_id}":{"get":{"operationId":"events_RetrieveEvent","summary":"Retrieve an event","description":"Retrieve an `event` object. Events are available for up to 30 days.\n\nThe event’s data is rendered according to the API version at the time of its creation, as specified by the `api_version` attribute in the event object, rather than the current API version","tags":["events"],"parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","pattern":"evt_.+"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"security":[{"bearerAuth":[]}]}},"/webhooks/endpoints":{"get":{"operationId":"webhooks_ListWebhookEndpoints","summary":"List all webhook endpoints","description":"Get all registered webhook endpoints for the platform.","tags":["webhooks"],"parameters":[{"name":"page","in":"query","description":"The page of results to return. Defaults to 1 if not provided.","required":false,"schema":{"type":"integer"}},{"name":"page_size","in":"query","description":"The number of results to return per page. Defaults to 10 if not provided. Maximum value is 100.","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpointResponsePagedList"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HttpValidationProblemDetails"}}}}},"security":[{"bearerAuth":[]}]}},"/webhooks/endpoints/{webhook_endpoint_id}":{"get":{"operationId":"webhooks_RetrieveWebhookEndpoint","summary":"Retrieve a webhook endpoint","description":"Get a registered webhook endpoint by its Id.","tags":["webhooks"],"parameters":[{"name":"webhook_endpoint_id","in":"path","required":true,"schema":{"type":"string","pattern":"whe_.+"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpointResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"security":[{"bearerAuth":[]}]}},"/embed/sessions":{"post":{"operationId":"embedSessions_CreateEmbedSession","summary":"Get Embedded SDK token","description":"Retrieve a `token` to authenticate an `employer` or `employee` with the Kota Embedded SDK.","tags":["embedSessions"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSessionTokenResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HttpValidationProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSessionTokenRequest"}}}},"security":[{"bearerAuth":[]}]}},"/employees/{employee_id}/associated_persons":{"get":{"operationId":"associatedPersons_ListAssociatedPersons","summary":"List associated persons","description":"Returns a list of all `associated person`'s for a specific `employee`. The `associated person`'s are returned sorted by creation date, with the most recent `associated person` appearing first.","tags":["associatedPersons"],"parameters":[{"name":"employee_id","in":"path","required":true,"schema":{"type":"string","pattern":"ee_.+"}},{"name":"page","in":"query","description":"The page of results to return. Defaults to 1 if not provided.","required":false,"schema":{"type":"integer"}},{"name":"page_size","in":"query","description":"The number of results to return per page. Defaults to 10 if not provided. Maximum value is 100.","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssociatedPersonResponsePagedList"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"associatedPersons_CreateAssociatedPerson","summary":"Create an associated person","description":"Creates an associated person (dependent or beneficiary) linked to an employee. Sends an `associated_person.created` webhook.","tags":["associatedPersons"],"parameters":[{"name":"employee_id","in":"path","required":true,"schema":{"type":"string","pattern":"ee_.+"}},{"name":"Idempotency-Key","in":"header","description":"Unique key to ensure idempotent requests. If the same key is used for multiple _identical & successful_ requests, the same response will be returned. [Read more here](/api#idempotent-requests)","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssociatedPersonResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HttpValidationProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAssociatedPersonRequest"}}}},"security":[{"bearerAuth":[]}]}},"/employees/{employee_id}/associated_persons/{associated_person_id}":{"get":{"operationId":"associatedPersons_RetrieveAssociatedPerson","summary":"Retrieve an associated person","description":"Retrieves an associated person object.","tags":["associatedPersons"],"parameters":[{"name":"employee_id","in":"path","required":true,"schema":{"type":"string","pattern":"ee_.+"}},{"name":"associated_person_id","in":"path","required":true,"schema":{"type":"string","pattern":"ap_.+"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssociatedPersonResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"associatedPersons_UpdateAssociatedPerson","summary":"Update an associated person","description":"Updates the specified associated person by setting the values of the parameters passed. Any parameters not provided will be left unchanged.","tags":["associatedPersons"],"parameters":[{"name":"employee_id","in":"path","required":true,"schema":{"type":"string","pattern":"ee_.+"}},{"name":"associated_person_id","in":"path","required":true,"schema":{"type":"string","pattern":"ap_.+"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssociatedPersonResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HttpValidationProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateAssociatedPersonRequest"}}}},"security":[{"bearerAuth":[]}]},"delete":{"operationId":"associatedPersons_DeleteAssociatedPerson","summary":"Delete an associated person","description":"Permanently deletes an associated person. It cannot be undone. Sends an `associated_person.deleted` webhook.","tags":["associatedPersons"],"parameters":[{"name":"employee_id","in":"path","required":true,"schema":{"type":"string","pattern":"ee_.+"}},{"name":"associated_person_id","in":"path","required":true,"schema":{"type":"string","pattern":"ap_.+"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssociatedPersonResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"security":[{"bearerAuth":[]}]}},"/dependents_management_intents/{dependents_management_intent_id}":{"get":{"operationId":"dependentsManagementIntents_RetrieveDependentsManagementIntent","summary":"Retrieve a dependents management intent","description":"Retrieves a `dependents_management_intent` object by ID.","tags":["dependentsManagementIntents"],"parameters":[{"name":"dependents_management_intent_id","in":"path","required":true,"schema":{"type":"string","pattern":"dmi_.+"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DependentsManagementIntentResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"security":[{"bearerAuth":[]}]}},"/dependents_management_intents/{dependents_management_intent_id}/associated_persons_eligibility":{"get":{"operationId":"dependentsManagementIntents_GetAssociatedPersonsEligibility","summary":"Retrieve associated persons eligibility for a dependents management intent","description":"Retrieves all associated persons for the employee with their eligibility status for the specific policy/plan.","tags":["dependentsManagementIntents"],"parameters":[{"name":"dependents_management_intent_id","in":"path","required":true,"schema":{"type":"string","pattern":"dmi_.+"}},{"name":"page","in":"query","description":"The page of results to return. Defaults to 1 if not provided.","required":false,"schema":{"type":"integer"}},{"name":"page_size","in":"query","description":"The number of results to return per page. Defaults to 10 if not provided. Maximum value is 100.","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssociatedPersonEligibilityResponsePagedList"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"security":[{"bearerAuth":[]}]}},"/dependents_management_intents/{dependents_management_intent_id}/dependents":{"post":{"operationId":"dependentsManagementIntents_AddDependentsToDependentsManagementIntent","summary":"Add dependents to a dependents management intent","description":"Adds one or more existing associated persons as dependents to a dependents management intent.","tags":["dependentsManagementIntents"],"parameters":[{"name":"dependents_management_intent_id","in":"path","required":true,"schema":{"type":"string","pattern":"dmi_.+"}},{"name":"Idempotency-Key","in":"header","description":"Unique key to ensure idempotent requests. If the same key is used for multiple _identical & successful_ requests, the same response will be returned. [Read more here](/api#idempotent-requests)","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DependentsManagementIntentResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddDependentsToDependentsManagementIntentRequestBadRequestError"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"422":{"description":"Unprocessable Content","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddDependentsRequest"}}}},"security":[{"bearerAuth":[]}]}},"/dependents_management_intents/{dependents_management_intent_id}/dependents/{associated_person_id}":{"put":{"operationId":"dependentsManagementIntents_UpdateDependentInDependentsManagementIntent","summary":"Update a dependent in a dependents management intent","description":"Replaces a dependent's coverage selections on a dependents management intent. Their status and requirements are kept. Updating is allowed in `action_required` status, or in `completed` status until the enrolment intent starts enrolling.","tags":["dependentsManagementIntents"],"parameters":[{"name":"dependents_management_intent_id","in":"path","required":true,"schema":{"type":"string","pattern":"dmi_.+"}},{"name":"associated_person_id","in":"path","required":true,"schema":{"type":"string","pattern":"ap_.+"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DependentsManagementIntentResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateDependentRequest"}}}},"security":[{"bearerAuth":[]}]},"delete":{"operationId":"dependentsManagementIntents_RemoveDependentFromDependentsManagementIntent","summary":"Remove a dependent from a Dependents Management Intent","description":"Removes a specific dependent from a Dependents Management Intent by their associated person ID. The operation returns the updated DMI state.","tags":["dependentsManagementIntents"],"parameters":[{"name":"dependents_management_intent_id","in":"path","required":true,"schema":{"type":"string","pattern":"dmi_.+"}},{"name":"associated_person_id","in":"path","required":true,"schema":{"type":"string","pattern":"ap_.+"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DependentsManagementIntentResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"security":[{"bearerAuth":[]}]}},"/dependents_management_intents/{dependents_management_intent_id}/confirm":{"post":{"operationId":"dependentsManagementIntents_ConfirmDependentsManagementIntent","summary":"Confirm dependent list","description":"Submits the finalized dependent list for processing. Call this endpoint after adding all dependents to the intent. The system validates the list and transitions the intent to `processing` status. If any dependents are marked as `ineligible` or `restricted`, they must be removed before confirmation. The parent intent's action deadline must not have passed.","tags":["dependentsManagementIntents"],"parameters":[{"name":"dependents_management_intent_id","in":"path","required":true,"schema":{"type":"string","pattern":"dmi_.+"}}],"responses":{"204":{"description":"No Content","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"422":{"description":"Unprocessable Content","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"security":[{"bearerAuth":[]}]}},"/dependents_management_intents/{dependents_management_intent_id}/cancel":{"post":{"operationId":"dependentsManagementIntents_CancelDependentsManagementIntent","summary":"Cancel the dependents management intent","description":"Cancels the `dependents_management_intent` in case an employee decides not to proceed with changes to their dependents. Canceling is only allowed from `action_required` status. If the intent is already `canceled`, the operation succeeds without changes. After canceling, a new dependents management intent can be created from the parent intent.","tags":["dependentsManagementIntents"],"parameters":[{"name":"dependents_management_intent_id","in":"path","required":true,"schema":{"type":"string","pattern":"dmi_.+"}}],"responses":{"204":{"description":"No Content","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"security":[{"bearerAuth":[]}]}},"/enrolment_intents":{"get":{"operationId":"enrolmentIntents_ListEnrolmentIntents","summary":"List all enrolment intents","description":"Returns a list of `enrolment_intents`. The `enrolment_intents` are returned sorted by creation date, with the most recent `enrolment_intent` appearing first.","tags":["enrolmentIntents"],"parameters":[{"name":"employee_id","in":"query","description":"Filters enrolment intents by employee.","required":false,"schema":{"type":"string","pattern":"ee_.+"}},{"name":"group_id","in":"query","description":"Filters enrolment intents  by group.","required":false,"schema":{"type":"string","pattern":"gr_.+"}},{"name":"status","in":"query","description":"Multiple values can be provided by separating them with a comma. Allowed values are: `processing`, `scheduled`, `action_required`, `coverage_options_required`, `pending_confirmation`, `enrolling`, `enrolled`, `not_undertaken`, `ineligible`, `rejected`.","required":false,"schema":{"type":"string"}},{"name":"page","in":"query","description":"The page of results to return. Defaults to 1 if not provided.","required":false,"schema":{"type":"integer"}},{"name":"page_size","in":"query","description":"The number of results to return per page. Defaults to 10 if not provided. Maximum value is 100.","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrolmentIntentResponsePagedList"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"enrolmentIntents_CreateEnrolmentIntent","summary":"Create a new enrolment intent","description":"Creates a new `enrolment_intent` to manage the enrolment of an employee into a group. An enrolment intent represents the intention to enrol an employee into a specific group, and tracks the status and progress of that enrolment process.","tags":["enrolmentIntents"],"parameters":[{"name":"Idempotency-Key","in":"header","description":"Unique key to ensure idempotent requests. If the same key is used for multiple _identical & successful_ requests, the same response will be returned. [Read more here](/api#idempotent-requests)","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrolmentIntentResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateEnrolmentIntentRequest"}}}},"security":[{"bearerAuth":[]}]}},"/enrolment_intents/{enrolment_intent_id}":{"get":{"operationId":"enrolmentIntents_RetrieveEnrolmentIntent","summary":"Retrieve an enrolment intent","description":"Retrieves an `enrolment_intent` object.","tags":["enrolmentIntents"],"parameters":[{"name":"enrolment_intent_id","in":"path","required":true,"schema":{"type":"string","pattern":"ei_.+"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrolmentIntentResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"enrolmentIntents_UpdateEnrolmentIntentConfiguration","summary":"Update policy configuration enrolment intent","description":"Updates the policy configuration for an existing `enrolment_intent`. This will reset the enrolment intent back to `processing` status and re-evaluate the enrolment intent based on the new configuration provided.Unavailable for enrolment intents that are already `enrolling` or `enrolled`.","tags":["enrolmentIntents"],"parameters":[{"name":"enrolment_intent_id","in":"path","required":true,"schema":{"type":"string","pattern":"ei_.+"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrolmentIntentResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyConfigurationRequest"}}}},"security":[{"bearerAuth":[]}]}},"/enrolment_intents/{enrolment_intent_id}/requirements":{"get":{"operationId":"enrolmentIntents_ListEnrolmentIntentRequirements","summary":"List requirements for an enrolment intent","description":"Returns a paginated list of adaptive requirements for an `enrolment_intent`. Requirements must be fulfilled before enrolment can proceed.","tags":["enrolmentIntents"],"parameters":[{"name":"enrolment_intent_id","in":"path","required":true,"schema":{"type":"string","pattern":"ei_.+"}},{"name":"object_type","in":"query","description":"Filter by object type (employee or employer)","required":false,"schema":{"$ref":"#/components/schemas/RequirementObjectTypeEnumParameter"}},{"name":"object_id","in":"query","description":"Filter by object ID (employee ID or employer ID)","required":false,"schema":{"type":"string"}},{"name":"page","in":"query","description":"The page of results to return. Defaults to 1 if not provided.","required":false,"schema":{"type":"integer"}},{"name":"page_size","in":"query","description":"The number of results to return per page. Defaults to 10 if not provided. Maximum value is 100.","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrolmentIntentRequirementResponsePagedList"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"security":[{"bearerAuth":[]}]}},"/enrolment_intents/{enrolment_intent_id}/confirm":{"post":{"operationId":"enrolmentIntents_ConfirmEnrolmentIntent","summary":"Confirm an enrolment intent","description":"Confirms an `enrolment_intent` that is in `PendingConfirmation` status. This transitions the enrolment intent to `Enrolling` status and initiates the enrolment process with the insurance provider.","tags":["enrolmentIntents"],"parameters":[{"name":"enrolment_intent_id","in":"path","required":true,"schema":{"type":"string","pattern":"ei_.+"}}],"responses":{"204":{"description":"No Content","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"422":{"description":"Unprocessable Content","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"security":[{"bearerAuth":[]}]}},"/enrolment_intents/{enrolment_intent_id}/reject":{"post":{"operationId":"enrolmentIntents_RejectEnrolmentIntent","summary":"Reject an enrolment intent","description":"Rejects an `enrolment_intent` that is in `PendingConfirmation`, `ActionRequired`, or `CoverageOptionsRequired` status. This transitions the enrolment intent to `NotUndertaken` status and sends the `enrolment_intent.not_undertaken` webhook. Rejecting an intent that is already `NotUndertaken` or `Rejected` succeeds and changes nothing.","tags":["enrolmentIntents"],"parameters":[{"name":"enrolment_intent_id","in":"path","required":true,"schema":{"type":"string","pattern":"ei_.+"}}],"responses":{"204":{"description":"No Content","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"security":[{"bearerAuth":[]}]}},"/enrolment_intents/{enrolment_intent_id}/coverage-selections":{"post":{"operationId":"enrolmentIntents_SubmitEnrolmentIntentCoverageSelections","summary":"Submit coverage selections for an enrolment intent","description":"Submits plan coverage option selections for an enrolment intent in the `action_required`, `coverage_options_required` or `pending_confirmation` status. In `coverage_options_required` the selections complete the step and the intent advances. In `action_required` they are stored, and the `coverage_options_required` step is skipped once the requirements are fulfilled. In `pending_confirmation` they are stored and the intent stays in `pending_confirmation`. A later submission replaces the stored selections.","tags":["enrolmentIntents"],"parameters":[{"name":"enrolment_intent_id","in":"path","required":true,"schema":{"type":"string","pattern":"ei_.+"}}],"responses":{"204":{"description":"No Content","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubmitCoverageSelectionsRequest"}}}},"security":[{"bearerAuth":[]}]}},"/enrolment_intents/{enrolment_intent_id}/create_dependents_management_intent":{"post":{"operationId":"enrolmentIntents_CreateDependentsManagementIntentForEnrolmentIntent","summary":"Create a dependents management intent for an enrolment intent","description":"Creates a dependents management intent as a sub-intent of an enrolment intent. The enrolment intent must be in `action_required`, `coverage_options_required` or `pending_confirmation` status. An enrolment intent with an open dependents management intent waits until it is completed or canceled.","tags":["enrolmentIntents"],"parameters":[{"name":"enrolment_intent_id","in":"path","required":true,"schema":{"type":"string","pattern":"ei_.+"}},{"name":"Idempotency-Key","in":"header","description":"Unique key to ensure idempotent requests. If the same key is used for multiple _identical & successful_ requests, the same response will be returned. [Read more here](/api#idempotent-requests)","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DependentsManagementIntentResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"security":[{"bearerAuth":[]}]}},"/events/{event_id}/replay":{"post":{"operationId":"events_ReplayEvent","summary":"Replay an event","description":"Replays an event by creating new deliveries to all currently matching subscription endpoints. Each delivery performs a single attempt and does not trigger automatic retries.","tags":["events"],"parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","pattern":"evt_.+"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReplayEventResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"security":[{"bearerAuth":[]}]}},"/files/{file_id}/download_link":{"get":{"operationId":"files_getATimeLimitedDownloadLinkForAFile","summary":"Get a time-limited download link for a file","description":"Returns a short-lived presigned URL to download the file's contents, together with its filename, content type and size.","tags":["files"],"parameters":[{"name":"file_id","in":"path","required":true,"schema":{"type":"string","pattern":"file_.+"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileDownloadLink"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"security":[{"bearerAuth":[]}]}},"/group_policies":{"get":{"operationId":"groupPolicies_ListGroupPolicies","summary":"List all group policies","description":"Returns a list of `group_policies`. By default, only `active` and `scheduled` group policies are returned. Use the `status` query parameter to filter by other statuses. The `group_policies` are returned sorted by creation date, with the most recent `group_policy` appearing first.","tags":["groupPolicies"],"parameters":[{"name":"employer_id","in":"query","description":"Filters group policies by employer.","required":false,"schema":{"type":"string","pattern":"er_.+"}},{"name":"group_id","in":"query","description":"Filters group policies by group.","required":false,"schema":{"type":"string","pattern":"gr_.+"}},{"name":"status","in":"query","description":"Multiple values can be provided by separating them with a comma. Allowed values are: `scheduled`, `active`, `expired`, `cancelled`.","required":false,"schema":{"type":"string"}},{"name":"page","in":"query","description":"The page of results to return. Defaults to 1 if not provided.","required":false,"schema":{"type":"integer"}},{"name":"page_size","in":"query","description":"The number of results to return per page. Defaults to 10 if not provided. Maximum value is 100.","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupPolicyResponsePagedList"}}}}},"security":[{"bearerAuth":[]}]}},"/group_policies/{group_policy_id}":{"get":{"operationId":"groupPolicies_RetrieveGroupPolicy","summary":"Retrieve a group policy","description":"Retrieves a `group_policy` object.","tags":["groupPolicies"],"parameters":[{"name":"group_policy_id","in":"path","required":true,"schema":{"type":"string","pattern":"gp_.+"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupPolicyResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"security":[{"bearerAuth":[]}]}},"/group_policy_intents":{"get":{"operationId":"groupPolicyIntents_ListGroupPolicyIntents","summary":"List group policy intents","description":"Returns a paginated list of `group_policy_intent`'s. The results are returned sorted by creation date, with the most recent appearing first.","tags":["groupPolicyIntents"],"parameters":[{"name":"group_id","in":"query","description":"Filter by group ID. Matches the intent's own group or any level of the quote intent it accepts.","required":false,"schema":{"type":"string","pattern":"gr_.+"}},{"name":"plan_id","in":"query","description":"Filter by plan ID. Matches the intent's own plan or any level of the quote intent it accepts.","required":false,"schema":{"type":"string","pattern":"pl_.+"}},{"name":"type","in":"query","description":"Filter by shape: `single` for one group and plan, `multi_level` for several levels","required":false,"schema":{"$ref":"#/components/schemas/GroupQuoteIntentTypeEnumParameter"}},{"name":"status","in":"query","description":"Multiple values can be provided by separating them with a comma. Allowed values are: `processing`, `action_required`, `pending_verification`, `pending_provider_approval`, `policy_created`, `expired`, `provider_rejected`, `manual_renewal_gathering_required`.","required":false,"schema":{"type":"string"}},{"name":"page","in":"query","description":"The page of results to return. Defaults to 1 if not provided.","required":false,"schema":{"type":"integer"}},{"name":"page_size","in":"query","description":"The number of results to return per page. Defaults to 10 if not provided. Maximum value is 100.","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupPolicyIntentResponsePagedList"}}}}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"groupPolicyIntents_CreateGroupPolicyIntent","summary":"Create a group policy intent","description":"Creates a `group_policy_intent` from a `group_quote_intent` that has a quote available. The intent coordinates the policy setup workflow including requirements collection and policy creation.","tags":["groupPolicyIntents"],"parameters":[{"name":"Idempotency-Key","in":"header","description":"Unique key to ensure idempotent requests. If the same key is used for multiple _identical & successful_ requests, the same response will be returned. [Read more here](/api#idempotent-requests)","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupPolicyIntentResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateGroupPolicyIntentRequestBadRequestError"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateGroupPolicyIntentRequest"}}}},"security":[{"bearerAuth":[]}]}},"/group_policy_intents/{group_policy_intent_id}":{"get":{"operationId":"groupPolicyIntents_RetrieveGroupPolicyIntent","summary":"Retrieve a group policy intent","description":"Retrieves a `group_policy_intent` object.","tags":["groupPolicyIntents"],"parameters":[{"name":"group_policy_intent_id","in":"path","required":true,"schema":{"type":"string","pattern":"gpi_.+"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupPolicyIntentResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"security":[{"bearerAuth":[]}]}},"/group_policy_intents/{group_policy_intent_id}/requirements":{"get":{"operationId":"groupPolicyIntents_ListGroupPolicyIntentRequirements","summary":"List requirements for a group policy intent","description":"Returns a paginated list of adaptive requirements for a `group_policy_intent`. Requirements must be fulfilled before policy setup can proceed.","tags":["groupPolicyIntents"],"parameters":[{"name":"group_policy_intent_id","in":"path","required":true,"schema":{"type":"string","pattern":"gpi_.+"}},{"name":"object_type","in":"query","description":"Filter by object type (employee or employer)","required":false,"schema":{"$ref":"#/components/schemas/RequirementObjectTypeEnumParameter"}},{"name":"object_id","in":"query","description":"Filter by object ID (employee ID or employer ID)","required":false,"schema":{"type":"string"}},{"name":"page","in":"query","description":"The page of results to return. Defaults to 1 if not provided.","required":false,"schema":{"type":"integer"}},{"name":"page_size","in":"query","description":"The number of results to return per page. Defaults to 10 if not provided. Maximum value is 100.","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupPolicyIntentRequirementResponsePagedList"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"security":[{"bearerAuth":[]}]}},"/group_quote_intents":{"get":{"operationId":"groupQuoteIntents_ListGroupQuoteIntents","summary":"List group quote intents","description":"Returns a paginated list of `group_quote_intent`'s. The results are returned sorted by creation date, with the most recent appearing first.","tags":["groupQuoteIntents"],"parameters":[{"name":"group_id","in":"query","description":"Filter by group ID. Matches the intent's own group or any of a multi-level intent's levels.","required":false,"schema":{"type":"string","pattern":"gr_.+"}},{"name":"plan_id","in":"query","description":"Filter by plan ID. Matches the intent's own plan or any of a multi-level intent's levels.","required":false,"schema":{"type":"string","pattern":"pl_.+"}},{"name":"type","in":"query","description":"Filter by shape: `single` for one group and plan, `multi_level` for several levels","required":false,"schema":{"$ref":"#/components/schemas/GroupQuoteIntentTypeEnumParameter"}},{"name":"status","in":"query","description":"Multiple values can be provided by separating them with a comma. Allowed values are: `processing`, `action_required`, `awaiting_quote`, `quote_available`, `rejected`, `rejected_by_insurer`, `quote_expired`.","required":false,"schema":{"type":"string"}},{"name":"page","in":"query","description":"The page of results to return. Defaults to 1 if not provided.","required":false,"schema":{"type":"integer"}},{"name":"page_size","in":"query","description":"The number of results to return per page. Defaults to 10 if not provided. Maximum value is 100.","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupQuoteIntentResponsePagedList"}}}}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"groupQuoteIntents_CreateGroupQuoteIntent","summary":"Create a group quote intent","description":"Creates a `group_quote_intent` to request a quote for a `group` and `plan` combination, or for several (`group`, `plan`) levels of one benefit quoted together as `items`. The intent coordinates the quote workflow including requirements collection and quote generation.","tags":["groupQuoteIntents"],"parameters":[{"name":"Idempotency-Key","in":"header","description":"Unique key to ensure idempotent requests. If the same key is used for multiple _identical & successful_ requests, the same response will be returned. [Read more here](/api#idempotent-requests)","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupQuoteIntentResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateGroupQuoteIntentRequestBadRequestError"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"422":{"description":"Unprocessable Content","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateGroupQuoteIntentRequest"}}}},"security":[{"bearerAuth":[]}]}},"/group_quote_intents/{group_quote_intent_id}":{"get":{"operationId":"groupQuoteIntents_RetrieveGroupQuoteIntent","summary":"Retrieve a group quote intent","description":"Retrieves a `group_quote_intent` object.","tags":["groupQuoteIntents"],"parameters":[{"name":"group_quote_intent_id","in":"path","required":true,"schema":{"type":"string","pattern":"gqi_.+"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupQuoteIntentResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"security":[{"bearerAuth":[]}]}},"/group_quote_intents/{group_quote_intent_id}/requirements":{"get":{"operationId":"groupQuoteIntents_ListGroupQuoteIntentRequirements","summary":"List requirements for a group quote intent","description":"Returns a paginated list of adaptive requirements for a `group_quote_intent`. Requirements must be fulfilled before a quote can be generated.","tags":["groupQuoteIntents"],"parameters":[{"name":"group_quote_intent_id","in":"path","required":true,"schema":{"type":"string","pattern":"gqi_.+"}},{"name":"object_type","in":"query","description":"Filter by object type (employee or employer)","required":false,"schema":{"$ref":"#/components/schemas/RequirementObjectTypeEnumParameter"}},{"name":"object_id","in":"query","description":"Filter by object ID (employee ID or employer ID)","required":false,"schema":{"type":"string"}},{"name":"page","in":"query","description":"The page of results to return. Defaults to 1 if not provided.","required":false,"schema":{"type":"integer"}},{"name":"page_size","in":"query","description":"The number of results to return per page. Defaults to 10 if not provided. Maximum value is 100.","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupQuoteIntentRequirementResponsePagedList"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"security":[{"bearerAuth":[]}]}},"/group_quote_intents/{group_quote_intent_id}/quote":{"get":{"operationId":"groupQuoteIntents_GetGroupQuoteIntentQuote","summary":"Retrieve the quote for a group quote intent","description":"Retrieves the quote details for a `group_quote_intent`. Returns pricing information and a fresh PDF URL. Only available when status is `quote_available`.","tags":["groupQuoteIntents"],"parameters":[{"name":"group_quote_intent_id","in":"path","required":true,"schema":{"type":"string","pattern":"gqi_.+"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupQuoteResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"security":[{"bearerAuth":[]}]}},"/group_quote_intents/{group_quote_intent_id}/reject":{"post":{"operationId":"groupQuoteIntents_RejectGroupQuoteIntent","summary":"Reject a group quote intent","description":"Rejects a `group_quote_intent` when the employer decides not to proceed with the quote. Can only reject intents in `quote_available` status.","tags":["groupQuoteIntents"],"parameters":[{"name":"group_quote_intent_id","in":"path","required":true,"schema":{"type":"string","pattern":"gqi_.+"}}],"responses":{"204":{"description":"No Content","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"security":[{"bearerAuth":[]}]}},"/groups":{"get":{"operationId":"groups_ListGroups","summary":"List all groups","description":"Returns a list of your `groups`. The `groups` are returned sorted by creation date, with the most recent `groups` appearing first.","tags":["groups"],"parameters":[{"name":"employer_id","in":"query","description":"Filter by employer ID.","required":false,"schema":{"type":"string","pattern":"er_.+"}},{"name":"status","in":"query","description":"Multiple values can be provided by separating them with a comma. Allowed values are: `pending`, `ready`, `archived`.","required":false,"schema":{"type":"string"}},{"name":"page","in":"query","description":"The page of results to return. Defaults to 1 if not provided.","required":false,"schema":{"type":"integer"}},{"name":"page_size","in":"query","description":"The number of results to return per page. Defaults to 10 if not provided. Maximum value is 100.","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupResponsePagedList"}}}}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"groups_CreateGroup","summary":"Create a group","description":"Creates a `group` for the specified `employer`.","tags":["groups"],"parameters":[{"name":"Idempotency-Key","in":"header","description":"Unique key to ensure idempotent requests. If the same key is used for multiple _identical & successful_ requests, the same response will be returned. [Read more here](/api#idempotent-requests)","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateGroupRequestBadRequestError"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateGroupRequest"}}}},"security":[{"bearerAuth":[]}]}},"/groups/{group_id}":{"get":{"operationId":"groups_RetrieveGroup","summary":"Retrieve a group","description":"Retrieves a `group` object.","tags":["groups"],"parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"string","pattern":"gr_.+"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"groups_UpdateGroup","summary":"Update a group","description":"Updates the specified `group`. Only `name` and `description` can be updated. Any parameters not provided will be left unchanged.","tags":["groups"],"parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"string","pattern":"gr_.+"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateGroupRequestBadRequestError"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateGroupRequest"}}}},"security":[{"bearerAuth":[]}]}},"/groups/{group_id}/employees":{"get":{"operationId":"groups_ListGroupEmployees","summary":"List employees in a group","description":"Returns a list of `employees` in a `group` with their policies and enrolments. The `employees` are returned sorted by addition date, with the most recently added `employees` appearing first.","tags":["groups"],"parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"string","pattern":"gr_.+"}},{"name":"employee_id","in":"query","description":"Filter by employee ID.","required":false,"schema":{"type":"string","pattern":"ee_.+"}},{"name":"page","in":"query","description":"The page of results to return. Defaults to 1 if not provided.","required":false,"schema":{"type":"integer"}},{"name":"page_size","in":"query","description":"The number of results to return per page. Defaults to 10 if not provided. Maximum value is 100.","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupEmployeeResponsePagedList"}}}}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"groups_AddEmployeeToGroup","summary":"Add an employee to a group","description":"Adds an existing employee to a `group`. The employee must belong to the same employer as the `group`. If there is a `group_policy` associated with the `group`, a corresponding `enrolment_intent` can be created for the employee (see `create_enrolment_intents`).","tags":["groups"],"parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"string","pattern":"gr_.+"}},{"name":"Idempotency-Key","in":"header","description":"Unique key to ensure idempotent requests. If the same key is used for multiple _identical & successful_ requests, the same response will be returned. [Read more here](/api#idempotent-requests)","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupEmployeeResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddEmployeeToGroupRequest"}}}},"security":[{"bearerAuth":[]}]}},"/groups/{group_id}/eligibility_check":{"post":{"operationId":"groups_CheckGroupEligibility","summary":"Check employee eligibility for a group","description":"Checks whether an `employee` qualifies for a `group` without adding them to it. This is a dry-run eligibility check — the employee is not enrolled or added. The response includes provider and plan information.","tags":["groups"],"parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"string","pattern":"gr_.+"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EligibilityCheckResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckGroupEligibilityRequest"}}}},"security":[{"bearerAuth":[]}]}},"/hosted/sessions":{"post":{"operationId":"hostedSessions_CreateHostedSession","summary":"Get One-off Hosted Session Link","description":"Retrieve a hosted `link` to authenticate an `employee` with the Kota Hosted. This link is valid for a single use and expires after 60 minutes. The link opens on your platform's hosted domain. It opens on Kota's default hosted domain instead when your platform has no hosted configuration, or when the employee's `metadata` has `is_whitelabel` set to `\"true\"`.","tags":["hostedSessions"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateHostedSessionTokenResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSessionTokenLinkRequest"}}}},"security":[{"bearerAuth":[]}]}},"/invoices":{"get":{"operationId":"invoices_ListInvoices","summary":"List invoices","description":"Returns a list of invoices, most recent invoice date first.\n\n**Beta:** available to selected customers. Contact your Kota account manager for access.","tags":["invoices"],"parameters":[{"name":"provider_id","in":"query","description":"Filter by provider. Prefixed with `pr_`.","required":false,"schema":{"type":"string","pattern":"pr_.+"}},{"name":"employer_id","in":"query","description":"Filter by employer. Prefixed with `er_`.","required":false,"schema":{"type":"string","pattern":"er_.+"}},{"name":"invoice_number","in":"query","description":"Filter by invoice number (case-insensitive, partial match).","required":false,"schema":{"type":"string"}},{"name":"from_date","in":"query","description":"Only invoices dated on or after this date.","required":false,"schema":{"type":"string","format":"date"}},{"name":"to_date","in":"query","description":"Only invoices dated on or before this date.","required":false,"schema":{"type":"string","format":"date"}},{"name":"page","in":"query","description":"The page of results to return. Defaults to 1 if not provided.","required":false,"schema":{"type":"integer"}},{"name":"page_size","in":"query","description":"The number of results to return per page. Defaults to 10 if not provided. Maximum value is 100.","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvoicePagedList"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HttpValidationProblemDetails"}}}}},"security":[{"bearerAuth":[]}]}},"/invoices/{invoice_id}":{"get":{"operationId":"invoices_GetInvoice","summary":"Retrieve an invoice","description":"Returns a single invoice by its id.\n\n**Beta:** available to selected customers. Contact your Kota account manager for access.","tags":["invoices"],"parameters":[{"name":"invoice_id","in":"path","required":true,"schema":{"type":"string","pattern":"inv_.+"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoice"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"security":[{"bearerAuth":[]}]}},"/invoices/{invoice_id}/items":{"get":{"operationId":"invoices_ListInvoiceItems","summary":"List an invoice's items","description":"Returns an invoice's items in order: one per policy, with the provider's rows underneath.\n\n**Beta:** available to selected customers. Contact your Kota account manager for access.","tags":["invoices"],"parameters":[{"name":"invoice_id","in":"path","required":true,"schema":{"type":"string","pattern":"inv_.+"}},{"name":"page","in":"query","description":"The page of results to return. Defaults to 1 if not provided.","required":false,"schema":{"type":"integer"}},{"name":"page_size","in":"query","description":"The number of results to return per page. Defaults to 10 if not provided. Maximum value is 100.","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvoiceItemPagedList"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HttpValidationProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"security":[{"bearerAuth":[]}]}},"/plans/{plan_id}/cost_sharing":{"get":{"operationId":"planBenefits_RetrievePlanCostSharing","summary":"Retrieve a plan's cost sharing","description":"Retrieves a plan's `plan_cost_sharing` object, which holds the limits that apply across the whole plan. Limits on a single benefit are on the `plan_benefit`.","tags":["planBenefits"],"parameters":[{"name":"plan_id","in":"path","description":"Unique identifier for the plan. Prefixed with `pl_`.","required":true,"schema":{"type":"string","pattern":"pl_.+"}},{"name":"Kota-Version","in":"header","description":"API version, as `yyyy-MM-dd`. Only `2026-05-16` is supported.","required":false,"schema":{"type":"string"}},{"name":"Kota-Taxonomy-Version","in":"header","description":"Taxonomy version, as `yyyy-MM-dd`. The latest taxonomy is always returned, as it includes every earlier version.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlanCostSharing"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HttpValidationProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"description":"Any type"}}}}},"security":[{"bearerAuth":[]}]}},"/plans/{plan_id}/benefits":{"get":{"operationId":"planBenefits_ListPlanBenefits","summary":"List a plan's benefits","description":"Returns a list of a plan's `plan_benefits`, sorted by category. Filters combine with AND, and an unknown filter value returns no results rather than an error.","tags":["planBenefits"],"parameters":[{"name":"plan_id","in":"path","description":"Unique identifier for the plan. Prefixed with `pl_`.","required":true,"schema":{"type":"string","pattern":"pl_.+"}},{"name":"benefit.code","in":"query","description":"Filters benefits by code, for example `kota:gp_visit`. Multiple values can be provided, separated by commas.","required":false,"schema":{"type":"string"}},{"name":"benefit.category","in":"query","description":"Filters benefits by category, for example `kota:outpatient`. Multiple values can be provided, separated by commas.","required":false,"schema":{"type":"string"}},{"name":"coverage.status","in":"query","description":"Filters benefits by coverage status: `covered`, `not_covered` or `partially_covered`. Multiple values can be provided, separated by commas.","required":false,"schema":{"type":"string"}},{"name":"cost_share.type","in":"query","description":"Filters benefits by the type of their cost-share rules: `copay`, `coinsurance`, `deductible`, `limit`, `oop_max` or `fixed_benefit`. Multiple values can be provided, separated by commas.","required":false,"schema":{"type":"string"}},{"name":"source.confidence","in":"query","description":"Filters benefits by source confidence: `high`, `medium` or `low`. Multiple values can be provided, separated by commas.","required":false,"schema":{"type":"string"}},{"name":"expand[]","in":"query","description":"Related objects to include. Only `taxonomy` is supported.","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"page","in":"query","description":"The page of results to return. Defaults to 1 if not provided.","required":false,"schema":{"type":"integer"}},{"name":"page_size","in":"query","description":"The number of results to return per page. Defaults to 10 if not provided. Maximum value is 100.","required":false,"schema":{"type":"integer"}},{"name":"Accept-Language","in":"header","description":"Preferred languages for display names, for example `en-IE, en;q=0.8`. Defaults to the plan's language.","required":false,"schema":{"type":"string"}},{"name":"Kota-Version","in":"header","description":"API version, as `yyyy-MM-dd`. Only `2026-05-16` is supported.","required":false,"schema":{"type":"string"}},{"name":"Kota-Taxonomy-Version","in":"header","description":"Taxonomy version, as `yyyy-MM-dd`. The latest taxonomy is always returned, as it includes every earlier version.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlanBenefitsPage"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HttpValidationProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"description":"Any type"}}}}},"security":[{"bearerAuth":[]}]}},"/plans/{plan_id}/benefits/{benefit_id}":{"get":{"operationId":"planBenefits_RetrievePlanBenefit","summary":"Retrieve a plan benefit","description":"Retrieves a `plan_benefit` object by its ID.","tags":["planBenefits"],"parameters":[{"name":"plan_id","in":"path","description":"Unique identifier for the plan. Prefixed with `pl_`.","required":true,"schema":{"type":"string","pattern":"pl_.+"}},{"name":"benefit_id","in":"path","description":"Unique identifier for the benefit. Prefixed with `ben_`.","required":true,"schema":{"type":"string","pattern":"ben_.+"}},{"name":"expand[]","in":"query","description":"Related objects to include. Only `taxonomy` is supported.","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"Accept-Language","in":"header","description":"Preferred languages for display names, for example `en-IE, en;q=0.8`. Defaults to the plan's language.","required":false,"schema":{"type":"string"}},{"name":"Kota-Version","in":"header","description":"API version, as `yyyy-MM-dd`. Only `2026-05-16` is supported.","required":false,"schema":{"type":"string"}},{"name":"Kota-Taxonomy-Version","in":"header","description":"Taxonomy version, as `yyyy-MM-dd`. The latest taxonomy is always returned, as it includes every earlier version.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlanBenefit"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HttpValidationProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"description":"Any type"}}}}},"security":[{"bearerAuth":[]}]}},"/plans/taxonomy/benefits":{"get":{"operationId":"planBenefits_ListBenefitTaxonomyEntries","summary":"List all taxonomy benefits","description":"Returns a list of `taxonomy_benefits`, the standard benefit types that plan benefits refer to by `code`. The list is sorted by last update, most recent first.","tags":["planBenefits"],"parameters":[{"name":"page","in":"query","description":"The page of results to return. Defaults to 1 if not provided.","required":false,"schema":{"type":"integer"}},{"name":"page_size","in":"query","description":"The number of results to return per page. Defaults to 10 if not provided. Maximum value is 100.","required":false,"schema":{"type":"integer"}},{"name":"Kota-Version","in":"header","description":"API version, as `yyyy-MM-dd`. Only `2026-05-16` is supported.","required":false,"schema":{"type":"string"}},{"name":"Kota-Taxonomy-Version","in":"header","description":"Taxonomy version, as `yyyy-MM-dd`. The latest taxonomy is always returned, as it includes every earlier version.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaxonomyBenefitPagedList"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HttpValidationProblemDetails"}}}}},"security":[{"bearerAuth":[]}]}},"/plans/taxonomy/benefits/{slug}":{"get":{"operationId":"planBenefits_RetrieveBenefitTaxonomyEntry","summary":"Retrieve a taxonomy benefit","description":"Retrieves a `taxonomy_benefit` object by its slug.","tags":["planBenefits"],"parameters":[{"name":"slug","in":"path","description":"The benefit's slug, for example `gp-visit`.","required":true,"schema":{"type":"string"}},{"name":"Kota-Version","in":"header","description":"API version, as `yyyy-MM-dd`. Only `2026-05-16` is supported.","required":false,"schema":{"type":"string"}},{"name":"Kota-Taxonomy-Version","in":"header","description":"Taxonomy version, as `yyyy-MM-dd`. The latest taxonomy is always returned, as it includes every earlier version.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaxonomyBenefit"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HttpValidationProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"description":"Any type"}}}}},"security":[{"bearerAuth":[]}]}},"/plans/taxonomy/categories":{"get":{"operationId":"planBenefits_ListBenefitTaxonomyCategories","summary":"List all taxonomy categories","description":"Returns a list of `taxonomy_categories`, in display order.","tags":["planBenefits"],"parameters":[{"name":"page","in":"query","description":"The page of results to return. Defaults to 1 if not provided.","required":false,"schema":{"type":"integer"}},{"name":"page_size","in":"query","description":"The number of results to return per page. Defaults to 10 if not provided. Maximum value is 100.","required":false,"schema":{"type":"integer"}},{"name":"Kota-Version","in":"header","description":"API version, as `yyyy-MM-dd`. Only `2026-05-16` is supported.","required":false,"schema":{"type":"string"}},{"name":"Kota-Taxonomy-Version","in":"header","description":"Taxonomy version, as `yyyy-MM-dd`. The latest taxonomy is always returned, as it includes every earlier version.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaxonomyCategoryPagedList"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HttpValidationProblemDetails"}}}}},"security":[{"bearerAuth":[]}]}},"/plans/taxonomy/categories/{slug}":{"get":{"operationId":"planBenefits_RetrieveBenefitTaxonomyCategory","summary":"Retrieve a taxonomy category","description":"Retrieves a `taxonomy_category` object by its slug.","tags":["planBenefits"],"parameters":[{"name":"slug","in":"path","description":"The category's slug, for example `outpatient`.","required":true,"schema":{"type":"string"}},{"name":"Kota-Version","in":"header","description":"API version, as `yyyy-MM-dd`. Only `2026-05-16` is supported.","required":false,"schema":{"type":"string"}},{"name":"Kota-Taxonomy-Version","in":"header","description":"Taxonomy version, as `yyyy-MM-dd`. The latest taxonomy is always returned, as it includes every earlier version.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaxonomyCategory"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HttpValidationProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"description":"Any type"}}}}},"security":[{"bearerAuth":[]}]}},"/plans":{"get":{"operationId":"plans_ListPlans","summary":"List all plans","description":"Returns a list of `plans`.","tags":["plans"],"parameters":[{"name":"type","in":"query","description":"Multiple values can be provided by separating them with a comma. Allowed values are: `health_insurance`, `life_assurance`.","required":false,"schema":{"type":"string"}},{"name":"provider_id","in":"query","description":"Multiple values can be provided by separating them with a comma. Allowed values are: `pr_allianz`, `pr_irishlifehealth`, `pr_vitality`, `pr_onvz`, `pr_freedom`, `pr_sanitas`, `pr_canadalife`, `pr_hallesche`, `pr_bupa`, `pr_dansksundhedssikring`, `pr_allianzkpt`, `pr_freedomuk`, `pr_bupaglobal`, `pr_expatriate`, `pr_gsmc`, `pr_axafrance`, `pr_greateastern`, `pr_tokiomarine`, `pr_canadalifeuk`, `pr_generalitranquilidade`.","required":false,"schema":{"type":"string"}},{"name":"country","in":"query","description":"Filters plans by country.","required":false,"schema":{"$ref":"#/components/schemas/CountryCodeEnumParameter"}},{"name":"available_on","in":"query","description":"Filters plans available on a specific date. Defaults to today.","required":false,"schema":{"type":"string","format":"date"}},{"name":"group_id","in":"query","description":"Filters plans by group eligibility. Only plans whose eligibility criteria match the group are returned. Criteria that cannot be evaluated are ignored.","required":false,"schema":{"type":"string","pattern":"gr_.+"}},{"name":"start_date","in":"query","description":"Reference date used to compute employee age when evaluating per-plan eligibility counts. Required together with `group_id` for counts to be included in the response.","required":false,"schema":{"type":"string","format":"date"}},{"name":"sort_by","in":"query","description":"Sorts plans by a specific field. Currently only `premium` is supported.","required":false,"schema":{"$ref":"#/components/schemas/PlanSortByEnumParameter"}},{"name":"sort_dir","in":"query","description":"Sort direction. Defaults to `asc` (ascending).","required":false,"schema":{"$ref":"#/components/schemas/SortDirectionEnumParameter"}},{"name":"page","in":"query","description":"The page of results to return. Defaults to 1 if not provided.","required":false,"schema":{"type":"integer"}},{"name":"page_size","in":"query","description":"The number of results to return per page. Defaults to 10 if not provided. Maximum value is 100.","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlanResponsePagedList"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HttpValidationProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"security":[{"bearerAuth":[]}]}},"/plans/{plan_id}":{"get":{"operationId":"plans_RetrievePlan","summary":"Retrieve a plan","description":"Retrieves a `plan` object by its ID.","tags":["plans"],"parameters":[{"name":"plan_id","in":"path","required":true,"schema":{"type":"string","pattern":"pl_.+"}},{"name":"group_id","in":"query","description":"When provided together with `start_date`, per-plan eligibility counts are included in the response. Silently ignored if not paired with `start_date`.","required":false,"schema":{"type":"string","pattern":"gr_.+"}},{"name":"start_date","in":"query","description":"Reference date used to compute employee age when evaluating eligibility. Required together with `group_id` for counts to be included.","required":false,"schema":{"type":"string","format":"date"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlanResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"security":[{"bearerAuth":[]}]}},"/policies":{"get":{"operationId":"policies_ListPolicies","summary":"List all policies","description":"Returns a list of `policies`. By default, only `active` and `scheduled` policies are returned. Use the `status` query parameter to filter by other statuses. The `policies` are returned sorted by creation date, with the most recent `policy` appearing first.","tags":["policies"],"parameters":[{"name":"employee_id","in":"query","description":"Filters policies by employee.","required":false,"schema":{"type":"string","pattern":"ee_.+"}},{"name":"group_id","in":"query","description":"Filters policies by group.","required":false,"schema":{"type":"string","pattern":"gr_.+"}},{"name":"group_policy_id","in":"query","description":"Filters policies by group policy.","required":false,"schema":{"type":"string","pattern":"gp_.+"}},{"name":"status","in":"query","description":"Multiple values can be provided by separating them with a comma. Allowed values are: `scheduled`, `active`, `expired`, `cancelled`.","required":false,"schema":{"type":"string"}},{"name":"page","in":"query","description":"The page of results to return. Defaults to 1 if not provided.","required":false,"schema":{"type":"integer"}},{"name":"page_size","in":"query","description":"The number of results to return per page. Defaults to 10 if not provided. Maximum value is 100.","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyResponsePagedList"}}}}},"security":[{"bearerAuth":[]}]}},"/policies/{policy_id}":{"get":{"operationId":"policies_RetrievePolicy","summary":"Retrieve a policy","description":"Retrieves a `policy` object.","tags":["policies"],"parameters":[{"name":"policy_id","in":"path","required":true,"schema":{"type":"string","pattern":"p_.+"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"security":[{"bearerAuth":[]}]}},"/policies/{policy_id}/policy_amendment_intents":{"get":{"operationId":"policyAmendmentIntents_ListPolicyAmendmentIntents","summary":"List all policy amendment intents for a policy","description":"Returns a paginated list of policy amendment intents for the specified policy. The intents are returned sorted by creation date, with the oldest intent appearing first.","tags":["policyAmendmentIntents"],"parameters":[{"name":"policy_id","in":"path","required":true,"schema":{"type":"string","pattern":"p_.+"}},{"name":"status","in":"query","description":"Multiple values can be provided by separating them with a comma. Allowed values are: `action_required`, `awaiting_quote`, `pending_confirmation`, `processing`, `amended`, `processing_error`, `not_undertaken`.","required":false,"schema":{"type":"string"}},{"name":"page","in":"query","description":"The page of results to return. Defaults to 1 if not provided.","required":false,"schema":{"type":"integer"}},{"name":"page_size","in":"query","description":"The number of results to return per page. Defaults to 10 if not provided. Maximum value is 100.","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyAmendmentIntentResponsePagedList"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"policyAmendmentIntents_CreatePolicyAmendmentIntent","summary":"Create a new policy amendment intent","description":"Initiates a policy amendment (e.g. adding/removing dependents). The intent coordinates the amendment workflow including dependents sub-intent management, quote generation, employee confirmation, and provider processing.","tags":["policyAmendmentIntents"],"parameters":[{"name":"policy_id","in":"path","required":true,"schema":{"type":"string","pattern":"p_.+"}},{"name":"Idempotency-Key","in":"header","description":"Unique key to ensure idempotent requests. If the same key is used for multiple _identical & successful_ requests, the same response will be returned. [Read more here](/api#idempotent-requests)","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyAmendmentIntentResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePolicyAmendmentIntentRequestBadRequestError"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePolicyAmendmentIntentRequest"}}}},"security":[{"bearerAuth":[]}]}},"/policies/{policy_id}/policy_amendment_intents/{policy_amendment_intent_id}":{"get":{"operationId":"policyAmendmentIntents_RetrievePolicyAmendmentIntent","summary":"Retrieve a policy amendment intent","description":"Retrieves a `policy_amendment_intent` object.","tags":["policyAmendmentIntents"],"parameters":[{"name":"policy_id","in":"path","required":true,"schema":{"type":"string","pattern":"p_.+"}},{"name":"policy_amendment_intent_id","in":"path","required":true,"schema":{"type":"string","pattern":"pai_.+"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyAmendmentIntentResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"security":[{"bearerAuth":[]}]}},"/policies/{policy_id}/policy_amendment_intents/{policy_amendment_intent_id}/confirm":{"post":{"operationId":"policyAmendmentIntents_ConfirmPolicyAmendmentIntent","summary":"Confirm policy amendment intent","description":"Confirms a policy amendment intent after the employee has reviewed and accepted the quote. The intent must be in `pending_confirmation` status with a valid quote. The confirmation deadline must not have passed.","tags":["policyAmendmentIntents"],"parameters":[{"name":"policy_id","in":"path","required":true,"schema":{"type":"string","pattern":"p_.+"}},{"name":"policy_amendment_intent_id","in":"path","required":true,"schema":{"type":"string","pattern":"pai_.+"}}],"responses":{"204":{"description":"No Content","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"security":[{"bearerAuth":[]}]}},"/policies/{policy_id}/policy_amendment_intents/{id}/cancel":{"post":{"operationId":"policyAmendmentIntents_CancelPolicyAmendmentIntent","summary":"Cancel a policy amendment intent","description":"Cancels a policy amendment intent when the employee decides not to proceed. Can only cancel intents in `action_required` or `pending_confirmation` status.","tags":["policyAmendmentIntents"],"parameters":[{"name":"policy_id","in":"path","required":true,"schema":{"type":"string","pattern":"p_.+"}},{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"pai_.+"}}],"responses":{"204":{"description":"No Content","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"security":[{"bearerAuth":[]}]}},"/policies/{policy_id}/policy_amendment_intents/{id}/create_dependents_management_intent":{"post":{"operationId":"policyAmendmentIntents_CreateDependentsManagementIntentForPolicyAmendment","summary":"Create a dependents management intent for a policy amendment","description":"Creates a dependents management intent as a sub-intent of a policy amendment intent. The sub-intent allows the platform to add or remove dependents from the policy. The policy amendment intent must be in `action_required` status with a `dependents` requested change.","tags":["policyAmendmentIntents"],"parameters":[{"name":"policy_id","in":"path","required":true,"schema":{"type":"string","pattern":"p_.+"}},{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"pai_.+"}},{"name":"Idempotency-Key","in":"header","description":"Unique key to ensure idempotent requests. If the same key is used for multiple _identical & successful_ requests, the same response will be returned. [Read more here](/api#idempotent-requests)","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DependentsManagementIntentResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"security":[{"bearerAuth":[]}]}},"/policy_import_intents":{"get":{"operationId":"policyImportIntents_ListPolicyImportIntents","summary":"List all policy import intents","description":"Returns a paginated list of policy import intents. The intents are returned sorted by creation date, with the most recent intent appearing first. Results can be filtered by employee ID, group ID, and status.","tags":["policyImportIntents"],"parameters":[{"name":"employee_id","in":"query","description":"Filters policy import intents by employee ID. Prefixed with `ee_`.","required":false,"schema":{"type":"string","pattern":"ee_.+"}},{"name":"group_id","in":"query","description":"Filters policy import intents by group ID. Prefixed with `g_`.","required":false,"schema":{"type":"string","pattern":"gr_.+"}},{"name":"status","in":"query","description":"Multiple values can be provided by separating them with a comma. Allowed values are: `processing`, `failed`, `success`.","required":false,"schema":{"type":"string"}},{"name":"page","in":"query","description":"The page of results to return. Defaults to 1 if not provided.","required":false,"schema":{"type":"integer"}},{"name":"page_size","in":"query","description":"The number of results to return per page. Defaults to 10 if not provided. Maximum value is 100.","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyImportIntentResponsePagedList"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"policyImportIntents_CreatePolicyImportIntent","summary":"Create a new policy import intent","description":"Initiates a policy import process for an employee with an existing policy created outside of Kota's systems. This endpoint allows importing policy details for an employee who has an existing policy with one of our existing providers.","tags":["policyImportIntents"],"parameters":[{"name":"Idempotency-Key","in":"header","description":"Unique key to ensure idempotent requests. If the same key is used for multiple _identical & successful_ requests, the same response will be returned. [Read more here](/api#idempotent-requests)","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyImportIntentResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePolicyImportIntentRequestBadRequestError"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"422":{"description":"Unprocessable Content","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePolicyImportIntentRequest"}}}},"security":[{"bearerAuth":[]}]}},"/policy_import_intents/{policy_import_intent_id}":{"get":{"operationId":"policyImportIntents_RetrievePolicyImportIntent","summary":"Retrieve a policy import intent","description":"Retrieves a `policy_import_intent` object.","tags":["policyImportIntents"],"parameters":[{"name":"policy_import_intent_id","in":"path","required":true,"schema":{"type":"string","pattern":"pii_.+"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyImportIntentResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"security":[{"bearerAuth":[]}]}},"/providers":{"get":{"operationId":"providers_ListProviders","summary":"List all providers","description":"Returns a list of `providers`.","tags":["providers"],"parameters":[{"name":"country","in":"query","description":"Filter by country; only providers that support this country are returned.","required":false,"schema":{"$ref":"#/components/schemas/CountryCodeEnumParameter"}},{"name":"page","in":"query","description":"The page of results to return. Defaults to 1 if not provided.","required":false,"schema":{"type":"integer"}},{"name":"page_size","in":"query","description":"The number of results to return per page. Defaults to 10 if not provided. Maximum value is 100.","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderResponsePagedList"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HttpValidationProblemDetails"}}}}},"security":[{"bearerAuth":[]}]}},"/providers/{provider_id}":{"get":{"operationId":"providers_RetrieveProvider","summary":"Retrieve a provider","description":"Retrieves a `provider` object by its ID.","tags":["providers"],"parameters":[{"name":"provider_id","in":"path","required":true,"schema":{"type":"string","pattern":"pr_.+"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}},"security":[{"bearerAuth":[]}]}}},"tags":[{"name":"employers"},{"name":"employees"},{"name":"salaries"},{"name":"healthInsurance"},{"name":"requirements","description":"Public endpoints for retrieving requirement schemas and submitting answers."},{"name":"contributionReports"},{"name":"events"},{"name":"webhooks"},{"name":"embedSessions"},{"name":"associatedPersons"},{"name":"dependentsManagementIntents"},{"name":"enrolmentIntents"},{"name":"files"},{"name":"groupPolicies"},{"name":"groupPolicyIntents"},{"name":"groupQuoteIntents"},{"name":"groups"},{"name":"hostedSessions"},{"name":"invoices"},{"name":"planBenefits"},{"name":"plans"},{"name":"policies"},{"name":"policyAmendmentIntents"},{"name":"policyImportIntents"},{"name":"providers"}],"servers":[{"url":"https://test.api.kota.io","description":"test"},{"url":"https://api.kota.io","description":"production"}],"webhooks":{"typesOfEvents_EmployeeCreatedWebhook":{"post":{"operationId":"typesOfEvents_EmployeeCreatedWebhook","summary":"employee.created","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"An employee was created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeCreatedWebhook"}}}}}},"typesOfEvents_EmployeeUpdatedWebhook":{"post":{"operationId":"typesOfEvents_EmployeeUpdatedWebhook","summary":"employee.updated","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"An employee was updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeUpdatedWebhook"}}}}}},"typesOfEvents_EmployeeOffboardedWebhook":{"post":{"operationId":"typesOfEvents_EmployeeOffboardedWebhook","summary":"employee.offboarded","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"An employee was offboarded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeOffboardedWebhook"}}}}}},"typesOfEvents_EmployerCreatedWebhook":{"post":{"operationId":"typesOfEvents_EmployerCreatedWebhook","summary":"employer.created","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"An employer was created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployerCreatedWebhook"}}}}}},"typesOfEvents_EmployerUpdatedWebhook":{"post":{"operationId":"typesOfEvents_EmployerUpdatedWebhook","summary":"employer.updated","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"An employer was updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployerUpdatedWebhook"}}}}}},"typesOfEvents_EmployerOffboardedWebhook":{"post":{"operationId":"typesOfEvents_EmployerOffboardedWebhook","summary":"employer.offboarded","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"An employer was offboarded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployerOffboardedWebhook"}}}}}},"typesOfEvents_EmployerHealthInsuranceQuoteCreatedWebhook":{"post":{"operationId":"typesOfEvents_EmployerHealthInsuranceQuoteCreatedWebhook","summary":"employer.health_insurance.quote.created","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A group health insurance quote request was created for an employer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployerHealthInsuranceQuoteCreatedWebhook"}}}}}},"typesOfEvents_EmployerHealthInsuranceQuoteActionRequiredWebhook":{"post":{"operationId":"typesOfEvents_EmployerHealthInsuranceQuoteActionRequiredWebhook","summary":"employer.health_insurance.quote.action_required","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A group health insurance quote requires an action from the employer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployerHealthInsuranceQuoteActionRequiredWebhook"}}}}}},"typesOfEvents_EmployerHealthInsuranceQuoteNotUndertakenWebhook":{"post":{"operationId":"typesOfEvents_EmployerHealthInsuranceQuoteNotUndertakenWebhook","summary":"employer.health_insurance.quote.not_undertaken","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A group health insurance quote was not taken out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployerHealthInsuranceQuoteNotUndertakenWebhook"}}}}}},"typesOfEvents_EmployerHealthInsuranceQuoteAcceptedWebhook":{"post":{"operationId":"typesOfEvents_EmployerHealthInsuranceQuoteAcceptedWebhook","summary":"employer.health_insurance.quote.accepted","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A group health insurance quote was accepted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployerHealthInsuranceQuoteAcceptedWebhook"}}}}}},"typesOfEvents_EmployerHealthInsuranceQuotePendingWebhook":{"post":{"operationId":"typesOfEvents_EmployerHealthInsuranceQuotePendingWebhook","summary":"employer.health_insurance.quote.pending_quote","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A group health insurance request for quote was made","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployerHealthInsuranceQuotePendingWebhook"}}}}}},"typesOfEvents_EmployerHealthInsuranceQuotePendingInsurerAcceptanceWebhook":{"post":{"operationId":"typesOfEvents_EmployerHealthInsuranceQuotePendingInsurerAcceptanceWebhook","summary":"employer.health_insurance.quote.pending_insurer_acceptance","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A group health insurance quote is now pending acceptance by the insurer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployerHealthInsuranceQuotePendingInsurerAcceptanceWebhook"}}}}}},"typesOfEvents_EmployeeHealthInsuranceOfferActionRequiredWebhook":{"post":{"operationId":"typesOfEvents_EmployeeHealthInsuranceOfferActionRequiredWebhook","summary":"employee.health_insurance.offer.action_required","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A health insurance offer requires action from an employee.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeHealthInsuranceOfferActionRequiredWebhook"}}}}}},"typesOfEvents_EmployeeHealthInsurancePolicyActivatedWebhook":{"post":{"operationId":"typesOfEvents_EmployeeHealthInsurancePolicyActivatedWebhook","summary":"employee.health_insurance.policy.activated","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"An Employee health insurance policy is successfully activated.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeHealthInsurancePolicyActivatedWebhook"}}}}}},"typesOfEvents_EmployeeHealthInsurancePolicyCancelledWebhook":{"post":{"operationId":"typesOfEvents_EmployeeHealthInsurancePolicyCancelledWebhook","summary":"employee.health_insurance.policy.cancelled","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"An Employee health insurance policy is successfully cancelled.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeHealthInsurancePolicyCancelledWebhook"}}}}}},"typesOfEvents_EmployeeHealthInsurancePolicyExpiredWebhook":{"post":{"operationId":"typesOfEvents_EmployeeHealthInsurancePolicyExpiredWebhook","summary":"employee.health_insurance.policy.expired","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"An Employee health insurance policy is expired.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeHealthInsurancePolicyExpiredWebhook"}}}}}},"typesOfEvents_ContributionReportFinalizedWebhook":{"post":{"operationId":"typesOfEvents_ContributionReportFinalizedWebhook","summary":"contribution_report.finalized","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A contribution report has been finalized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContributionReportFinalizedWebhook"}}}}}},"typesOfEventsV2_EmployeeCreatedV2Webhook":{"post":{"operationId":"typesOfEventsV2_EmployeeCreatedV2Webhook","summary":"employee.created","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"An employee was created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeCreatedV2Webhook"}}}}}},"typesOfEventsV2_EmployeeUpdatedV2Webhook":{"post":{"operationId":"typesOfEventsV2_EmployeeUpdatedV2Webhook","summary":"employee.updated","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"An employee was updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeUpdatedV2Webhook"}}}}}},"typesOfEventsV2_EmployeeOffboardedV2Webhook":{"post":{"operationId":"typesOfEventsV2_EmployeeOffboardedV2Webhook","summary":"employee.offboarded","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"An employee was offboarded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeOffboardedV2Webhook"}}}}}},"typesOfEventsV2_EmployerCreatedV2Webhook":{"post":{"operationId":"typesOfEventsV2_EmployerCreatedV2Webhook","summary":"employer.created","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"An employer was created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployerCreatedV2Webhook"}}}}}},"typesOfEventsV2_EmployerUpdatedV2Webhook":{"post":{"operationId":"typesOfEventsV2_EmployerUpdatedV2Webhook","summary":"employer.updated","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"An employer was updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployerUpdatedV2Webhook"}}}}}},"typesOfEventsV2_EmployerOffboardedV2Webhook":{"post":{"operationId":"typesOfEventsV2_EmployerOffboardedV2Webhook","summary":"employer.offboarded","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"An employer was offboarded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployerOffboardedV2Webhook"}}}}}},"typesOfEventsV2_EmployerHealthInsuranceQuoteCreatedV2Webhook":{"post":{"operationId":"typesOfEventsV2_EmployerHealthInsuranceQuoteCreatedV2Webhook","summary":"employer.health_insurance.quote.created","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A group health insurance quote request was created for an employer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployerHealthInsuranceQuoteCreatedV2Webhook"}}}}}},"typesOfEventsV2_EmployerHealthInsuranceQuoteActionRequiredV2Webhook":{"post":{"operationId":"typesOfEventsV2_EmployerHealthInsuranceQuoteActionRequiredV2Webhook","summary":"employer.health_insurance.quote.action_required","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A group health insurance quote requires an action from the employer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployerHealthInsuranceQuoteActionRequiredV2Webhook"}}}}}},"typesOfEventsV2_EmployerHealthInsuranceQuoteNotUndertakenV2Webhook":{"post":{"operationId":"typesOfEventsV2_EmployerHealthInsuranceQuoteNotUndertakenV2Webhook","summary":"employer.health_insurance.quote.not_undertaken","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A group health insurance quote was not taken out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployerHealthInsuranceQuoteNotUndertakenV2Webhook"}}}}}},"typesOfEventsV2_EmployerHealthInsuranceQuoteAcceptedV2Webhook":{"post":{"operationId":"typesOfEventsV2_EmployerHealthInsuranceQuoteAcceptedV2Webhook","summary":"employer.health_insurance.quote.accepted","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A group health insurance quote was accepted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployerHealthInsuranceQuoteAcceptedV2Webhook"}}}}}},"typesOfEventsV2_EmployerHealthInsuranceQuotePendingV2Webhook":{"post":{"operationId":"typesOfEventsV2_EmployerHealthInsuranceQuotePendingV2Webhook","summary":"employer.health_insurance.quote.pending_quote","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A group health insurance request for quote was made","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployerHealthInsuranceQuotePendingV2Webhook"}}}}}},"typesOfEventsV2_EmployerHealthInsuranceQuotePendingInsurerAcceptanceV2Webhook":{"post":{"operationId":"typesOfEventsV2_EmployerHealthInsuranceQuotePendingInsurerAcceptanceV2Webhook","summary":"employer.health_insurance.quote.pending_insurer_acceptance","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A group health insurance quote is now pending acceptance by the insurer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployerHealthInsuranceQuotePendingInsurerAcceptanceV2Webhook"}}}}}},"typesOfEventsV2_EmployeeHealthInsuranceOfferActionRequiredV2Webhook":{"post":{"operationId":"typesOfEventsV2_EmployeeHealthInsuranceOfferActionRequiredV2Webhook","summary":"employee.health_insurance.offer.action_required","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A health insurance offer requires action from an employee.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeHealthInsuranceOfferActionRequiredV2Webhook"}}}}}},"typesOfEventsV2_EmployeeHealthInsurancePolicyActivatedV2Webhook":{"post":{"operationId":"typesOfEventsV2_EmployeeHealthInsurancePolicyActivatedV2Webhook","summary":"employee.health_insurance.policy.activated","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"An Employee health insurance policy is successfully activated.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeHealthInsurancePolicyActivatedV2Webhook"}}}}}},"typesOfEventsV2_EmployeeHealthInsurancePolicyCancelledV2Webhook":{"post":{"operationId":"typesOfEventsV2_EmployeeHealthInsurancePolicyCancelledV2Webhook","summary":"employee.health_insurance.policy.cancelled","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"An Employee health insurance policy is successfully cancelled.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeHealthInsurancePolicyCancelledV2Webhook"}}}}}},"typesOfEventsV2_EmployeeHealthInsurancePolicyExpiredV2Webhook":{"post":{"operationId":"typesOfEventsV2_EmployeeHealthInsurancePolicyExpiredV2Webhook","summary":"employee.health_insurance.policy.expired","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"An Employee health insurance policy is expired.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeHealthInsurancePolicyExpiredV2Webhook"}}}}}},"typesOfEventsV2_EmployeeHealthInsurancePolicyImportedV2Webhook":{"post":{"operationId":"typesOfEventsV2_EmployeeHealthInsurancePolicyImportedV2Webhook","summary":"employee.health_insurance.policy.imported","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"An Employee health insurance policy was imported from an external system.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeHealthInsurancePolicyImportedV2Webhook"}}}}}},"typesOfEventsV2_ContributionReportFinalizedV2Webhook":{"post":{"operationId":"typesOfEventsV2_ContributionReportFinalizedV2Webhook","summary":"contribution_report.finalized","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A contribution report has been finalized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContributionReportFinalizedV2Webhook"}}}}}},"typesOfEventsV2_GroupCreatedV2Webhook":{"post":{"operationId":"typesOfEventsV2_GroupCreatedV2Webhook","summary":"group.created","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A group was created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupCreatedV2Webhook"}}}}}},"typesOfEventsV2_GroupReadyV2Webhook":{"post":{"operationId":"typesOfEventsV2_GroupReadyV2Webhook","summary":"group.ready","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A group is ready","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupReadyV2Webhook"}}}}}},"typesOfEventsV2_GroupArchivedV2Webhook":{"post":{"operationId":"typesOfEventsV2_GroupArchivedV2Webhook","summary":"group.archived","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A group is archived","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupArchivedV2Webhook"}}}}}},"typesOfEventsV2_GroupUpdatedV2Webhook":{"post":{"operationId":"typesOfEventsV2_GroupUpdatedV2Webhook","summary":"group.updated","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A group was updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupUpdatedV2Webhook"}}}}}},"typesOfEventsV2_GroupEmployeeAddedV2Webhook":{"post":{"operationId":"typesOfEventsV2_GroupEmployeeAddedV2Webhook","summary":"group.employee.added","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"An employee was successfully added to the group","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupEmployeeAddedV2Webhook"}}}}}},"typesOfEventsV2_GroupEmployeeRemovedV2Webhook":{"post":{"operationId":"typesOfEventsV2_GroupEmployeeRemovedV2Webhook","summary":"group.employee.removed","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"An employee was removed from the group","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupEmployeeRemovedV2Webhook"}}}}}},"typesOfEventsV2_GroupEmployeeEligibleV2Webhook":{"post":{"operationId":"typesOfEventsV2_GroupEmployeeEligibleV2Webhook","summary":"group.employee.eligible","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"An employee in the group that was previously `Ineligible` is now `Eligible`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupEmployeeEligibleV2Webhook"}}}}}},"typesOfEventsV2_GroupEmployeeMovedV2Webhook":{"post":{"operationId":"typesOfEventsV2_GroupEmployeeMovedV2Webhook","summary":"group.employee.moved","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"An employee was moved from one group to another","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupEmployeeMovedV2Webhook"}}}}}},"typesOfEventsV2_GroupEmployeeMoveScheduledV2Webhook":{"post":{"operationId":"typesOfEventsV2_GroupEmployeeMoveScheduledV2Webhook","summary":"group.employee.move.scheduled","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"An employee has been scheduled to move to a different group","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupEmployeeMoveScheduledV2Webhook"}}}}}},"typesOfEventsV2_PolicyScheduledV2Webhook":{"post":{"operationId":"typesOfEventsV2_PolicyScheduledV2Webhook","summary":"policy.scheduled","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A policy has been scheduled","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyScheduledV2Webhook"}}}}}},"typesOfEventsV2_PolicyActiveV2Webhook":{"post":{"operationId":"typesOfEventsV2_PolicyActiveV2Webhook","summary":"policy.active","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A policy has been activated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyActiveV2Webhook"}}}}}},"typesOfEventsV2_PolicyImportedV2Webhook":{"post":{"operationId":"typesOfEventsV2_PolicyImportedV2Webhook","summary":"policy.imported","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A policy has been imported from an external system","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyImportedV2Webhook"}}}}}},"typesOfEventsV2_PolicyExpiredV2Webhook":{"post":{"operationId":"typesOfEventsV2_PolicyExpiredV2Webhook","summary":"policy.expired","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A policy has expired","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyExpiredV2Webhook"}}}}}},"typesOfEventsV2_PolicyCancelledV2Webhook":{"post":{"operationId":"typesOfEventsV2_PolicyCancelledV2Webhook","summary":"policy.cancelled","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A policy has been cancelled","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyCancelledV2Webhook"}}}}}},"typesOfEventsV2_PolicyUpdatedV2Webhook":{"post":{"operationId":"typesOfEventsV2_PolicyUpdatedV2Webhook","summary":"policy.updated","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A policy has been updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyUpdatedV2Webhook"}}}}}},"typesOfEventsV2_PolicyFinalizedByProviderV2Webhook":{"post":{"operationId":"typesOfEventsV2_PolicyFinalizedByProviderV2Webhook","summary":"policy.finalized_by_provider","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A policy has been finalized by the insurance provider","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyFinalizedByProviderV2Webhook"}}}}}},"typesOfEventsV2_PolicyRenewalOpenedV2Webhook":{"post":{"operationId":"typesOfEventsV2_PolicyRenewalOpenedV2Webhook","summary":"policy.renewal.opened","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A policy renewal has been opened","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyRenewalOpenedV2Webhook"}}}}}},"typesOfEventsV2_PolicyRenewalRenewedV2Webhook":{"post":{"operationId":"typesOfEventsV2_PolicyRenewalRenewedV2Webhook","summary":"policy.renewal.renewed","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A policy has been renewed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyRenewalRenewedV2Webhook"}}}}}},"typesOfEventsV2_PolicyRenewalCanceledV2Webhook":{"post":{"operationId":"typesOfEventsV2_PolicyRenewalCanceledV2Webhook","summary":"policy.renewal.canceled","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A policy renewal has been canceled","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyRenewalCanceledV2Webhook"}}}}}},"typesOfEventsV2_GroupPolicyScheduledV2Webhook":{"post":{"operationId":"typesOfEventsV2_GroupPolicyScheduledV2Webhook","summary":"group_policy.scheduled","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A group policy has been scheduled","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupPolicyScheduledV2Webhook"}}}}}},"typesOfEventsV2_GroupPolicyActiveV2Webhook":{"post":{"operationId":"typesOfEventsV2_GroupPolicyActiveV2Webhook","summary":"group_policy.active","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A group policy has been activated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupPolicyActiveV2Webhook"}}}}}},"typesOfEventsV2_GroupPolicyExpiredV2Webhook":{"post":{"operationId":"typesOfEventsV2_GroupPolicyExpiredV2Webhook","summary":"group_policy.expired","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A group policy has expired","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupPolicyExpiredV2Webhook"}}}}}},"typesOfEventsV2_GroupPolicyCancelledV2Webhook":{"post":{"operationId":"typesOfEventsV2_GroupPolicyCancelledV2Webhook","summary":"group_policy.cancelled","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A group policy has been cancelled","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupPolicyCancelledV2Webhook"}}}}}},"typesOfEventsV2_GroupPolicyUpdatedV2Webhook":{"post":{"operationId":"typesOfEventsV2_GroupPolicyUpdatedV2Webhook","summary":"group_policy.updated","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A group policy has been updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupPolicyUpdatedV2Webhook"}}}}}},"typesOfEventsV2_GroupPolicyRenewalOpenedV2Webhook":{"post":{"operationId":"typesOfEventsV2_GroupPolicyRenewalOpenedV2Webhook","summary":"group_policy.renewal.opened","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A group policy renewal has been opened","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupPolicyRenewalOpenedV2Webhook"}}}}}},"typesOfEventsV2_GroupPolicyRenewalRenewedV2Webhook":{"post":{"operationId":"typesOfEventsV2_GroupPolicyRenewalRenewedV2Webhook","summary":"group_policy.renewal.renewed","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A group policy has been renewed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupPolicyRenewalRenewedV2Webhook"}}}}}},"typesOfEventsV2_GroupPolicyRenewalCanceledV2Webhook":{"post":{"operationId":"typesOfEventsV2_GroupPolicyRenewalCanceledV2Webhook","summary":"group_policy.renewal.canceled","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A group policy renewal has been canceled","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupPolicyRenewalCanceledV2Webhook"}}}}}},"typesOfEventsV2_EnrolmentIntentProcessingV2Webhook":{"post":{"operationId":"typesOfEventsV2_EnrolmentIntentProcessingV2Webhook","summary":"enrolment_intent.processing","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"An enrolment intent is being processed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrolmentIntentProcessingV2Webhook"}}}}}},"typesOfEventsV2_EnrolmentIntentScheduledV2Webhook":{"post":{"operationId":"typesOfEventsV2_EnrolmentIntentScheduledV2Webhook","summary":"enrolment_intent.scheduled","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"An enrolment intent has been scheduled","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrolmentIntentScheduledV2Webhook"}}}}}},"typesOfEventsV2_EnrolmentIntentActionRequiredV2Webhook":{"post":{"operationId":"typesOfEventsV2_EnrolmentIntentActionRequiredV2Webhook","summary":"enrolment_intent.action_required","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"An enrolment intent requires action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrolmentIntentActionRequiredV2Webhook"}}}}}},"typesOfEventsV2_EnrolmentIntentEnrollingV2Webhook":{"post":{"operationId":"typesOfEventsV2_EnrolmentIntentEnrollingV2Webhook","summary":"enrolment_intent.enrolling","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"An enrolment intent is currently enrolling an employee","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrolmentIntentEnrollingV2Webhook"}}}}}},"typesOfEventsV2_EnrolmentIntentEnrolledV2Webhook":{"post":{"operationId":"typesOfEventsV2_EnrolmentIntentEnrolledV2Webhook","summary":"enrolment_intent.enrolled","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"An enrolment intent has successfully enrolled an employee","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrolmentIntentEnrolledV2Webhook"}}}}}},"typesOfEventsV2_EnrolmentIntentNotUndertakenV2Webhook":{"post":{"operationId":"typesOfEventsV2_EnrolmentIntentNotUndertakenV2Webhook","summary":"enrolment_intent.not_undertaken","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"An enrolment intent was not undertaken","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrolmentIntentNotUndertakenV2Webhook"}}}}}},"typesOfEventsV2_EnrolmentIntentIneligibleV2Webhook":{"post":{"operationId":"typesOfEventsV2_EnrolmentIntentIneligibleV2Webhook","summary":"enrolment_intent.ineligible","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"An enrolment intent can't progress because the employee is not eligible","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrolmentIntentIneligibleV2Webhook"}}}}}},"typesOfEventsV2_EnrolmentIntentPendingConfirmationV2Webhook":{"post":{"operationId":"typesOfEventsV2_EnrolmentIntentPendingConfirmationV2Webhook","summary":"enrolment_intent.pending_confirmation","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"An enrolment intent requires a confirmation from employee","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrolmentIntentPendingConfirmationV2Webhook"}}}}}},"typesOfEventsV2_EnrolmentIntentCoverageOptionsRequiredV2Webhook":{"post":{"operationId":"typesOfEventsV2_EnrolmentIntentCoverageOptionsRequiredV2Webhook","summary":"enrolment_intent.coverage_options_required","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"An enrolment intent requires coverage option selections","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrolmentIntentCoverageOptionsRequiredV2Webhook"}}}}}},"typesOfEventsV2_PolicyAmendmentIntentActionRequiredV2Webhook":{"post":{"operationId":"typesOfEventsV2_PolicyAmendmentIntentActionRequiredV2Webhook","summary":"policy_amendment_intent.action_required","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A policy amendment intent requires action from the platform","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyAmendmentIntentActionRequiredV2Webhook"}}}}}},"typesOfEventsV2_PolicyAmendmentIntentAwaitingQuoteV2Webhook":{"post":{"operationId":"typesOfEventsV2_PolicyAmendmentIntentAwaitingQuoteV2Webhook","summary":"policy_amendment_intent.awaiting_quote","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A policy amendment intent is waiting for a quote from the provider","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyAmendmentIntentAwaitingQuoteV2Webhook"}}}}}},"typesOfEventsV2_PolicyAmendmentIntentPendingConfirmationV2Webhook":{"post":{"operationId":"typesOfEventsV2_PolicyAmendmentIntentPendingConfirmationV2Webhook","summary":"policy_amendment_intent.pending_confirmation","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A policy amendment intent is awaiting employee confirmation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyAmendmentIntentPendingConfirmationV2Webhook"}}}}}},"typesOfEventsV2_PolicyAmendmentIntentProcessingV2Webhook":{"post":{"operationId":"typesOfEventsV2_PolicyAmendmentIntentProcessingV2Webhook","summary":"policy_amendment_intent.processing","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A policy amendment intent is being processed by the provider","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyAmendmentIntentProcessingV2Webhook"}}}}}},"typesOfEventsV2_PolicyAmendmentIntentAmendedV2Webhook":{"post":{"operationId":"typesOfEventsV2_PolicyAmendmentIntentAmendedV2Webhook","summary":"policy_amendment_intent.amended","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A policy amendment intent has been successfully completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyAmendmentIntentAmendedV2Webhook"}}}}}},"typesOfEventsV2_PolicyAmendmentIntentProcessingErrorV2Webhook":{"post":{"operationId":"typesOfEventsV2_PolicyAmendmentIntentProcessingErrorV2Webhook","summary":"policy_amendment_intent.processing_error","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A policy amendment intent encountered a processing error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyAmendmentIntentProcessingErrorV2Webhook"}}}}}},"typesOfEventsV2_PolicyAmendmentIntentNotUndertakenV2Webhook":{"post":{"operationId":"typesOfEventsV2_PolicyAmendmentIntentNotUndertakenV2Webhook","summary":"policy_amendment_intent.not_undertaken","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A policy amendment intent was not undertaken","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyAmendmentIntentNotUndertakenV2Webhook"}}}}}},"typesOfEventsV2_DependentsManagementIntentActionRequiredV2Webhook":{"post":{"operationId":"typesOfEventsV2_DependentsManagementIntentActionRequiredV2Webhook","summary":"dependents_management_intent.action_required","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A dependents management intent requires action from the platform","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DependentsManagementIntentActionRequiredV2Webhook"}}}}}},"typesOfEventsV2_DependentsManagementIntentCompletedV2Webhook":{"post":{"operationId":"typesOfEventsV2_DependentsManagementIntentCompletedV2Webhook","summary":"dependents_management_intent.completed","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A dependents management intent has been successfully completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DependentsManagementIntentCompletedV2Webhook"}}}}}},"typesOfEventsV2_DependentsManagementIntentNotUndertakenV2Webhook":{"post":{"operationId":"typesOfEventsV2_DependentsManagementIntentNotUndertakenV2Webhook","summary":"dependents_management_intent.not_undertaken","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A dependents management intent was not undertaken","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DependentsManagementIntentNotUndertakenV2Webhook"}}}}}},"typesOfEventsV2_DependentsManagementIntentDependentPendingConfirmationV2Webhook":{"post":{"operationId":"typesOfEventsV2_DependentsManagementIntentDependentPendingConfirmationV2Webhook","summary":"dependents_management_intent.dependent.pending_confirmation","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A dependent on a dependents management intent is awaiting confirmation of the intent","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DependentsManagementIntentDependentPendingConfirmationV2Webhook"}}}}}},"typesOfEventsV2_DependentsManagementIntentDependentActionRequiredV2Webhook":{"post":{"operationId":"typesOfEventsV2_DependentsManagementIntentDependentActionRequiredV2Webhook","summary":"dependents_management_intent.dependent.action_required","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A dependent on a dependents management intent has requirements that must be fulfilled","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DependentsManagementIntentDependentActionRequiredV2Webhook"}}}}}},"typesOfEventsV2_DependentsManagementIntentDependentIneligibleV2Webhook":{"post":{"operationId":"typesOfEventsV2_DependentsManagementIntentDependentIneligibleV2Webhook","summary":"dependents_management_intent.dependent.ineligible","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A dependent on a dependents management intent is ineligible and must be removed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DependentsManagementIntentDependentIneligibleV2Webhook"}}}}}},"typesOfEventsV2_DependentsManagementIntentDependentProcessingV2Webhook":{"post":{"operationId":"typesOfEventsV2_DependentsManagementIntentDependentProcessingV2Webhook","summary":"dependents_management_intent.dependent.processing","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A dependent on a dependents management intent is being processed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DependentsManagementIntentDependentProcessingV2Webhook"}}}}}},"typesOfEventsV2_DependentsManagementIntentDependentRestrictedV2Webhook":{"post":{"operationId":"typesOfEventsV2_DependentsManagementIntentDependentRestrictedV2Webhook","summary":"dependents_management_intent.dependent.restricted","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A dependent on a dependents management intent is restricted and must be removed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DependentsManagementIntentDependentRestrictedV2Webhook"}}}}}},"typesOfEventsV2_DependentsManagementIntentDependentReadyV2Webhook":{"post":{"operationId":"typesOfEventsV2_DependentsManagementIntentDependentReadyV2Webhook","summary":"dependents_management_intent.dependent.ready","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A dependent on a dependents management intent has passed screening and is ready","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DependentsManagementIntentDependentReadyV2Webhook"}}}}}},"typesOfEventsV2_PolicyImportIntentProcessingV2Webhook":{"post":{"operationId":"typesOfEventsV2_PolicyImportIntentProcessingV2Webhook","summary":"policy_import_intent.processing","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A policy import intent is being processed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyImportIntentProcessingV2Webhook"}}}}}},"typesOfEventsV2_PolicyImportIntentSuccessV2Webhook":{"post":{"operationId":"typesOfEventsV2_PolicyImportIntentSuccessV2Webhook","summary":"policy_import_intent.success","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A policy import intent has been successfully completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyImportIntentSuccessV2Webhook"}}}}}},"typesOfEventsV2_PolicyImportIntentFailedV2Webhook":{"post":{"operationId":"typesOfEventsV2_PolicyImportIntentFailedV2Webhook","summary":"policy_import_intent.failed","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A policy import intent has failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyImportIntentFailedV2Webhook"}}}}}},"typesOfEventsV2_GroupQuoteIntentProcessingV2Webhook":{"post":{"operationId":"typesOfEventsV2_GroupQuoteIntentProcessingV2Webhook","summary":"group_quote_intent.processing","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A group quote intent is being processed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupQuoteIntentProcessingV2Webhook"}}}}}},"typesOfEventsV2_GroupQuoteIntentActionRequiredV2Webhook":{"post":{"operationId":"typesOfEventsV2_GroupQuoteIntentActionRequiredV2Webhook","summary":"group_quote_intent.action_required","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A group quote intent requires action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupQuoteIntentActionRequiredV2Webhook"}}}}}},"typesOfEventsV2_GroupQuoteIntentAwaitingQuoteV2Webhook":{"post":{"operationId":"typesOfEventsV2_GroupQuoteIntentAwaitingQuoteV2Webhook","summary":"group_quote_intent.awaiting_quote","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A group quote intent is awaiting quote from insurer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupQuoteIntentAwaitingQuoteV2Webhook"}}}}}},"typesOfEventsV2_GroupQuoteIntentQuoteAvailableV2Webhook":{"post":{"operationId":"typesOfEventsV2_GroupQuoteIntentQuoteAvailableV2Webhook","summary":"group_quote_intent.quote_available","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A group quote intent has a quote available","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupQuoteIntentQuoteAvailableV2Webhook"}}}}}},"typesOfEventsV2_GroupQuoteIntentRejectedV2Webhook":{"post":{"operationId":"typesOfEventsV2_GroupQuoteIntentRejectedV2Webhook","summary":"group_quote_intent.rejected","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A group quote intent was rejected by employer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupQuoteIntentRejectedV2Webhook"}}}}}},"typesOfEventsV2_GroupQuoteIntentRejectedByInsurerV2Webhook":{"post":{"operationId":"typesOfEventsV2_GroupQuoteIntentRejectedByInsurerV2Webhook","summary":"group_quote_intent.rejected_by_insurer","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A group quote intent was rejected by the insurer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupQuoteIntentRejectedByInsurerV2Webhook"}}}}}},"typesOfEventsV2_GroupQuoteIntentQuoteExpiredV2Webhook":{"post":{"operationId":"typesOfEventsV2_GroupQuoteIntentQuoteExpiredV2Webhook","summary":"group_quote_intent.quote_expired","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A group quote intent quote has expired","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupQuoteIntentQuoteExpiredV2Webhook"}}}}}},"typesOfEventsV2_GroupPolicyIntentProcessingV2Webhook":{"post":{"operationId":"typesOfEventsV2_GroupPolicyIntentProcessingV2Webhook","summary":"group_policy_intent.processing","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A group policy intent is being processed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupPolicyIntentProcessingV2Webhook"}}}}}},"typesOfEventsV2_GroupPolicyIntentActionRequiredV2Webhook":{"post":{"operationId":"typesOfEventsV2_GroupPolicyIntentActionRequiredV2Webhook","summary":"group_policy_intent.action_required","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A group policy intent requires action","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupPolicyIntentActionRequiredV2Webhook"}}}}}},"typesOfEventsV2_GroupPolicyIntentPendingProviderApprovalV2Webhook":{"post":{"operationId":"typesOfEventsV2_GroupPolicyIntentPendingProviderApprovalV2Webhook","summary":"group_policy_intent.pending_provider_approval","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A group policy intent is pending provider approval","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupPolicyIntentPendingProviderApprovalV2Webhook"}}}}}},"typesOfEventsV2_GroupPolicyIntentPolicyCreatedV2Webhook":{"post":{"operationId":"typesOfEventsV2_GroupPolicyIntentPolicyCreatedV2Webhook","summary":"group_policy_intent.policy_created","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A group policy intent has completed setup","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupPolicyIntentPolicyCreatedV2Webhook"}}}}}},"typesOfEventsV2_GroupPolicyIntentExpiredV2Webhook":{"post":{"operationId":"typesOfEventsV2_GroupPolicyIntentExpiredV2Webhook","summary":"group_policy_intent.expired","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A group policy intent has expired","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupPolicyIntentExpiredV2Webhook"}}}}}},"typesOfEventsV2_GroupPolicyIntentProviderRejectedV2Webhook":{"post":{"operationId":"typesOfEventsV2_GroupPolicyIntentProviderRejectedV2Webhook","summary":"group_policy_intent.provider_rejected","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A group policy intent was rejected by the provider","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupPolicyIntentProviderRejectedV2Webhook"}}}}}},"typesOfEventsV2_GroupPolicyIntentManualRenewalGatheringRequiredV2Webhook":{"post":{"operationId":"typesOfEventsV2_GroupPolicyIntentManualRenewalGatheringRequiredV2Webhook","summary":"group_policy_intent.manual_renewal_gathering_required","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A group policy intent requires manual renewal gathering","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupPolicyIntentManualRenewalGatheringRequiredV2Webhook"}}}}}},"typesOfEventsV2_AssociatedPersonUpdatedV2Webhook":{"post":{"operationId":"typesOfEventsV2_AssociatedPersonUpdatedV2Webhook","summary":"associated_person.updated","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"An associated person was updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssociatedPersonUpdatedV2Webhook"}}}}}},"typesOfEventsV2_AssociatedPersonCreatedV2Webhook":{"post":{"operationId":"typesOfEventsV2_AssociatedPersonCreatedV2Webhook","summary":"associated_person.created","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"An associated person was created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssociatedPersonCreatedV2Webhook"}}}}}},"typesOfEventsV2_AssociatedPersonDeletedV2Webhook":{"post":{"operationId":"typesOfEventsV2_AssociatedPersonDeletedV2Webhook","summary":"associated_person.deleted","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"An associated person was deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssociatedPersonDeletedV2Webhook"}}}}}},"typesOfEventsV2_AssociatedPersonPendingV2Webhook":{"post":{"operationId":"typesOfEventsV2_AssociatedPersonPendingV2Webhook","summary":"associated_person.pending","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"An associated person is pending because their screening is under review","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssociatedPersonPendingV2Webhook"}}}}}},"typesOfEventsV2_AssociatedPersonActiveV2Webhook":{"post":{"operationId":"typesOfEventsV2_AssociatedPersonActiveV2Webhook","summary":"associated_person.active","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"An associated person passed screening and is now active","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssociatedPersonActiveV2Webhook"}}}}}},"typesOfEventsV2_AssociatedPersonRestrictedV2Webhook":{"post":{"operationId":"typesOfEventsV2_AssociatedPersonRestrictedV2Webhook","summary":"associated_person.restricted","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"An associated person failed screening and is now restricted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssociatedPersonRestrictedV2Webhook"}}}}}},"typesOfEventsV2_InvoiceCreatedV2Webhook":{"post":{"operationId":"typesOfEventsV2_InvoiceCreatedV2Webhook","summary":"invoice.created","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"An invoice was created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvoiceCreatedV2Webhook"}}}}}},"typesOfEventsV2_InvoiceUpdatedV2Webhook":{"post":{"operationId":"typesOfEventsV2_InvoiceUpdatedV2Webhook","summary":"invoice.updated","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"An invoice was updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvoiceUpdatedV2Webhook"}}}}}},"typesOfEventsV2_InvoiceDeletedV2Webhook":{"post":{"operationId":"typesOfEventsV2_InvoiceDeletedV2Webhook","summary":"invoice.deleted","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"An invoice was withdrawn, for example because it was issued or uploaded in error. This is rare and not part of an invoice's normal lifecycle. The invoice no longer appears in the API; remove it on your side.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvoiceDeletedV2Webhook"}}}}}},"typesOfEventsV2_EmployeeSalaryCreatedV2Webhook":{"post":{"operationId":"typesOfEventsV2_EmployeeSalaryCreatedV2Webhook","summary":"employee.salary_created","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A salary record was created for an employee","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeSalaryCreatedV2Webhook"}}}}}},"typesOfEventsV2_EmployeeSalaryDeletedV2Webhook":{"post":{"operationId":"typesOfEventsV2_EmployeeSalaryDeletedV2Webhook","summary":"employee.salary_deleted","responses":{"200":{"description":"Webhook received successfully"}},"requestBody":{"description":"A salary record was deleted for an employee","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmployeeSalaryDeletedV2Webhook"}}}}}}},"components":{"schemas":{"EmployerStatus":{"type":"string","enum":["pending","active","offboarding","inactive","restricted"],"title":"EmployerStatus"},"CountryCode":{"type":"string","enum":["af","ax","al","dz","as","ad","ao","ai","aq","ag","ar","am","aw","au","at","az","bs","bh","bd","bb","by","be","bz","bj","bm","bt","bo","bq","ba","bw","bv","br","io","bn","bg","bf","bi","cv","kh","cm","ca","ky","cf","td","cl","cn","cx","cc","co","km","cg","cd","ck","cr","ci","hr","cu","cw","cy","cz","dk","dj","dm","do","ec","eg","sv","gq","er","ee","sz","et","fk","fo","fj","fi","fr","gf","pf","tf","ga","gm","ge","de","gh","gi","gr","gl","gd","gp","gu","gt","gg","gn","gw","gy","ht","hm","va","hn","hk","hu","is","in","id","ir","iq","ie","im","il","it","jm","jp","je","jo","kz","ke","ki","kp","kr","xk","kw","kg","la","lv","lb","ls","lr","ly","li","lt","lu","mo","mg","mw","my","mv","ml","mt","mh","mq","mr","mu","yt","mx","fm","md","mc","mn","me","ms","ma","mz","mm","na","nr","np","nl","nc","nz","ni","ne","ng","nu","nf","mk","mp","no","om","pk","pw","ps","pa","pg","py","pe","ph","pn","pl","pt","pr","qa","re","ro","ru","rw","bl","sh","kn","lc","mf","pm","vc","ws","sm","st","sa","sn","rs","sc","sl","sg","sx","sk","si","sb","so","za","gs","ss","es","lk","sd","sr","sj","se","ch","sy","tw","tj","tz","th","tl","tg","tk","to","tt","tn","tr","tm","tc","tv","ug","ua","ae","gb","um","us","uy","uz","vu","ve","vn","vg","vi","wf","eh","ye","zm","zw"],"title":"CountryCode"},"AddressModel":{"type":"object","properties":{"line1":{"type":"string","description":"Must not be empty. NOTE: This field will be normalized according to our internal formatting rules."},"line2":{"type":["string","null"],"description":"NOTE: This field will be normalized according to our internal formatting rules."},"line3":{"type":["string","null"],"description":"NOTE: This field will be normalized according to our internal formatting rules."},"city":{"type":"string","description":"Must not be empty. NOTE: This field will be normalized according to our internal formatting rules."},"state":{"type":["string","null"],"description":"Required for United States (State), and Canada (Province). NOTE: This field will be normalized according to our internal formatting rules."},"postal_code":{"type":"string","description":"Must not be empty, and a valid postal code for the specified country. NOTE: This field will be normalized according to our internal formatting rules."},"country_code":{"$ref":"#/components/schemas/CountryCode"}},"required":["line1","city","postal_code","country_code"],"title":"AddressModel"},"ContactModel":{"type":"object","properties":{"name":{"type":"string","description":"Contact person name. NOTE: This field will be normalized according to our internal formatting rules."},"email":{"type":"string","description":"Contact email address. NOTE: This field will be normalized according to our internal formatting rules."}},"required":["name","email"],"title":"ContactModel"},"EmployerResponse":{"type":"object","properties":{"id":{"type":"string","pattern":"er_.+"},"platform_id":{"type":"string","pattern":"pt_.+"},"status":{"$ref":"#/components/schemas/EmployerStatus"},"legal_name":{"type":"string"},"registration_number":{"type":["string","null"]},"legal_address":{"$ref":"#/components/schemas/AddressModel"},"contact":{"$ref":"#/components/schemas/ContactModel"},"offboard_on":{"type":["string","null"],"format":"date-time"},"earliest_benefits_start_date":{"type":["string","null"],"format":"date"},"applicable_collective_agreement":{"type":["string","null"],"description":"Name of the collective agreement that applies to the employer's workforce, if any."},"metadata":{"type":["object","null"],"additionalProperties":{"type":"string"},"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Maximum 25 keys. Individual keys can be up to 40 characters and values up to 500 characters."},"object":{"type":"string","description":"The object type"}},"required":["id","legal_name","legal_address","contact"],"title":"EmployerResponse"},"EmployerResponsePagedList":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/EmployerResponse"},"description":"A paginated array containing the response elements"},"page":{"type":"integer","description":"The current page of the results"},"page_size":{"type":"integer","description":"The number of results on this page. This can be different from the requested page size if the total number of results is less than the requested page size"},"total_count":{"type":"integer","description":"The total number of elements available in the response. This is the total number of elements available across all pages, not just the current page."},"has_next_page":{"type":"boolean","description":"Whether there are more pages available after this page"},"has_previous_page":{"type":"boolean","description":"Whether there are more pages available before this page"}},"required":["items","page","page_size","total_count"],"title":"EmployerResponsePagedList"},"HttpValidationProblemDetails":{"type":"object","properties":{"type":{"type":["string","null"]},"title":{"type":["string","null"]},"status":{"type":["integer","null"]},"detail":{"type":["string","null"]},"instance":{"type":["string","null"]},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"title":"HttpValidationProblemDetails"},"ProblemDetails":{"type":"object","properties":{"type":{"type":["string","null"]},"title":{"type":["string","null"]},"status":{"type":["integer","null"]},"detail":{"type":["string","null"]},"instance":{"type":["string","null"]}},"title":"ProblemDetails"},"CreateEmployerRequest":{"type":"object","properties":{"legal_name":{"type":"string","description":"Legal name of the company. NOTE: This field will be normalized according to our internal formatting rules."},"registration_number":{"type":["string","null"],"description":"Company registration number. NOTE: This field will be normalized according to our internal formatting rules."},"legal_address":{"$ref":"#/components/schemas/AddressModel"},"contact":{"$ref":"#/components/schemas/ContactModel"},"earliest_benefits_start_date":{"type":["string","null"],"format":"date","description":"The earliest date this employer is permitted to set up any benefits scheme. If this date is in the future, benefit setup will be blocked until then. Used to delay scheme setup access (e.g., for onboarding alignment).\n\n**Constraints:**\n\n- Can only be set or updated if no group policy or group quote exists.\n- Must be a valid date in the future."},"applicable_collective_agreement":{"type":["string","null"],"description":"Name of the collective agreement that applies to the employer's workforce, if any. NOTE: This field will be normalized according to our internal formatting rules."},"metadata":{"type":["object","null"],"additionalProperties":{"type":"string"},"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Maximum 25 keys. Individual keys can be up to 40 characters and values up to 500 characters."}},"required":["legal_name","legal_address","contact"],"title":"CreateEmployerRequest"},"AddressModelWithoutCountry":{"type":"object","properties":{"line1":{"type":"string","description":"Must not be empty. NOTE: This field will be normalized according to our internal formatting rules."},"line2":{"type":["string","null"],"description":"NOTE: This field will be normalized according to our internal formatting rules."},"line3":{"type":["string","null"],"description":"NOTE: This field will be normalized according to our internal formatting rules."},"city":{"type":"string","description":"Must not be empty. NOTE: This field will be normalized according to our internal formatting rules."},"state":{"type":["string","null"],"description":"Required for United States (State), and Canada (Province). NOTE: This field will be normalized according to our internal formatting rules."},"postal_code":{"type":"string","description":"Must not be empty, and a valid postal code for the specified country. NOTE: This field will be normalized according to our internal formatting rules."}},"required":["line1","city","postal_code"],"title":"AddressModelWithoutCountry"},"UpdateEmployerRequest":{"type":"object","properties":{"legal_name":{"type":["string","null"]},"registration_number":{"type":["string","null"]},"legal_address":{"$ref":"#/components/schemas/AddressModelWithoutCountry","description":"Treated as a single object that is updated entirely, `null` sub-fields (e.g. Line 3) will delete the existing values"},"contact":{"$ref":"#/components/schemas/ContactModel"},"earliest_benefits_start_date":{"type":["string","null"],"format":"date","description":"The earliest date this employer is permitted to set up any benefits scheme. If this date is in the future, benefit setup will be blocked until then. Used to delay scheme setup access (e.g., for onboarding alignment).\n\n**Constraints:**\n\n- Can only be set or updated if no group policy or group quote exists.\n- Must be a valid date."},"applicable_collective_agreement":{"type":["string","null"],"description":"Name of the collective agreement that applies to the employer's workforce, if any."},"metadata":{"type":["object","null"],"additionalProperties":{"type":"string"},"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Maximum 25 keys. Individual keys can be up to 40 characters and values up to 500 characters. Treated as a single object that is updated entirely."}},"title":"UpdateEmployerRequest"},"EmployeeStatus":{"type":"string","enum":["pending","active","offboarding","inactive","restricted"],"title":"EmployeeStatus"},"SexAtBirth":{"type":"string","enum":["male","female"],"title":"SexAtBirth"},"EmployeeBankAccount":{"type":"object","properties":{"account_number_last4":{"type":"string","description":"Last 4 digits of the account number"}},"required":["account_number_last4"],"title":"EmployeeBankAccount"},"EmployeeResponse":{"type":"object","properties":{"platform_id":{"type":"string","pattern":"pt_.+","description":"Unique identifier for the platform"},"id":{"type":"string","pattern":"ee_.+","description":"Unique identifier for the employee"},"employer_id":{"type":"string","pattern":"er_.+","description":"Unique identifier for the employer"},"status":{"$ref":"#/components/schemas/EmployeeStatus","description":"Current status of the employee"},"external_customer_id":{"type":["string","null"],"description":"A unique identifier assigned by the Employer of Record (EoR) platform to the Customer (i.e. the company using the EoR service) for which the employee is employed. This ID groups employees under this Customer, enabling the aggregation of contribution reporting and other values per Customer rather than per legal entity. This parameter is only available to EoR platforms."},"first_name":{"type":"string","description":"First name of the employee. It can include the middle name"},"last_name":{"type":"string","description":"Last name of the employee"},"date_of_birth":{"type":"string","format":"date","description":"Date of birth of the employee"},"sex_at_birth":{"$ref":"#/components/schemas/SexAtBirth","description":"The sex assigned to the employee at birth"},"home_address":{"$ref":"#/components/schemas/AddressModel","description":"Location where the employee is legally registered to live"},"nationality":{"$ref":"#/components/schemas/CountryCode","description":"Nationality of the employee (e.g. IE for Ireland, GB for United Kingdom, ES for Spain)"},"national_tax_id":{"type":"string","description":"PPSN in Ireland, NINo in the UK, DNI/NIE in Spain"},"start_on":{"type":"string","format":"date","description":"Employment start date"},"earliest_benefits_start_date":{"type":["string","null"],"format":"date","description":"The earliest date this employee can be enrolled in any benefits. Before this date, the employee remains in a Pending state and is excluded from benefit activation. Ignored for statutory schemes where immediate coverage is legally required. Example: Local Netherlands and UAE schemes."},"phone_number":{"type":["string","null"],"description":"Phone number in E.164 international format (e.g. +447700900999)"},"email":{"type":"string","description":"Email address of the employee"},"offboard_on":{"type":["string","null"],"format":"date-time","description":"Date when the employee was or will be offboarded"},"bank_account":{"$ref":"#/components/schemas/EmployeeBankAccount","description":"Bank account details"},"metadata":{"type":["object","null"],"additionalProperties":{"type":"string"},"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Maximum 25 keys. Individual keys can be up to 40 characters and values up to 500 characters."},"object":{"type":"string","description":"The object type"}},"required":["first_name","last_name","date_of_birth","sex_at_birth","national_tax_id","phone_number","email"],"title":"EmployeeResponse"},"EmployeeResponsePagedList":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/EmployeeResponse"},"description":"A paginated array containing the response elements"},"page":{"type":"integer","description":"The current page of the results"},"page_size":{"type":"integer","description":"The number of results on this page. This can be different from the requested page size if the total number of results is less than the requested page size"},"total_count":{"type":"integer","description":"The total number of elements available in the response. This is the total number of elements available across all pages, not just the current page."},"has_next_page":{"type":"boolean","description":"Whether there are more pages available after this page"},"has_previous_page":{"type":"boolean","description":"Whether there are more pages available before this page"}},"required":["items","page","page_size","total_count"],"title":"EmployeeResponsePagedList"},"CreateEmployeeBankAccount":{"type":"object","properties":{"account_number":{"type":"string","description":"Account number in IBAN format. NOTE: This field will be normalized according to our internal formatting rules."}},"required":["account_number"],"title":"CreateEmployeeBankAccount"},"CreateEmployeeRequest":{"type":"object","properties":{"employer_id":{"type":"string","pattern":"er_.+"},"external_customer_id":{"type":["string","null"],"description":"A unique identifier assigned by the Employer of Record (EoR) platform to the Customer (i.e. the company using the EoR service) for which the employee is employed. This ID groups employees under this Customer, enabling the aggregation of contribution reporting and other values per Customer rather than per legal entity. This parameter is only required for EoR platforms."},"first_name":{"type":"string","description":"It can include the middle name. Must not be empty. NOTE: This field will be normalized according to our internal formatting rules."},"last_name":{"type":"string","description":"Must not be empty. NOTE: This field will be normalized according to our internal formatting rules."},"date_of_birth":{"type":"string","format":"date","description":"Must be in the past, but after 1900-01-01"},"sex_at_birth":{"$ref":"#/components/schemas/SexAtBirth","description":"The sex assigned to the employee at birth"},"home_address":{"$ref":"#/components/schemas/AddressModel","description":"Location where the employee is legally registered to live"},"nationality":{"$ref":"#/components/schemas/CountryCode"},"national_tax_id":{"type":"string","description":"Required in Ireland (PPSN), UK (NINo), Spain (DNI/NIE). It can be left empty for other countries. NOTE: This field will be normalized according to our internal formatting rules."},"start_on":{"type":"string","format":"date","description":"Employment start date. Must be after 1900-01-01, can be in the future"},"earliest_benefits_start_date":{"type":["string","null"],"format":"date","description":"The earliest date this employee can be enrolled in any benefits. Before this date, the employee remains in a Pending state and is excluded from benefit activation.\n\n**Constraints:**\n\n- Must be a valid date.\n\n- Ignored for statutory schemes where immediate coverage is legally required. Example: Local Netherlands and UAE schemes."},"phone_number":{"type":["string","null"],"description":"Phone number in E.164 international format (e.g. +447700900999). Required when the home address is in Ireland, Spain or Denmark. NOTE: This field will be normalized according to our internal formatting rules."},"email":{"type":"string","description":"Must not be empty. NOTE: This field will be normalized according to our internal formatting rules."},"bank_account":{"$ref":"#/components/schemas/CreateEmployeeBankAccount","description":"Bank account details"},"metadata":{"type":["object","null"],"additionalProperties":{"type":"string"},"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Maximum 25 keys. Individual keys can be up to 40 characters and values up to 500 characters."}},"required":["employer_id","first_name","last_name","date_of_birth","sex_at_birth","home_address","national_tax_id","start_on","email"],"title":"CreateEmployeeRequest"},"UpdateEmployeeRequest":{"type":"object","properties":{"first_name":{"type":["string","null"]},"last_name":{"type":["string","null"]},"home_address":{"$ref":"#/components/schemas/AddressModelWithoutCountry","description":"Treated as a single object that is updated entirely, `null` sub-fields (e.g. Line 3) will delete the existing values"},"nationality":{"$ref":"#/components/schemas/CountryCode"},"national_tax_id":{"type":["string","null"],"description":"National tax ID, e.g. PPSN in Ireland, NINO in the UK, DNI/NIE in Spain"},"phone_number":{"type":["string","null"],"description":"Phone number in E.164 international format (e.g. +447700900999)"},"email":{"type":["string","null"]},"start_on":{"type":["string","null"],"format":"date","description":"The start date of the employee.\n\n**Constraints:**\n\n- On update, may only be changed if no policy or offer exists for this employee.\n- Must be a valid date.\n- The employee's existing start_on and the new start_on date must both be in the future."},"earliest_benefits_start_date":{"type":["string","null"],"format":"date","description":"The earliest date this employee can be enrolled in any benefits. Before this date, the employee remains in a Pending state and is excluded from benefit activation.\n\n**Constraints:**\n\n- On update, may only be changed if no policy or offer exists for this employee.\n- Must be a valid date.\n- Ignored for statutory schemes where immediate coverage is legally required. Example: Local Netherlands and UAE schemes."},"bank_account":{"$ref":"#/components/schemas/CreateEmployeeBankAccount","description":"Treated as a single object that is updated entirely."},"metadata":{"type":["object","null"],"additionalProperties":{"type":"string"},"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Maximum 25 keys. Individual keys can be up to 40 characters and values up to 500 characters. Treated as a single object that is updated entirely."}},"title":"UpdateEmployeeRequest"},"OffboardEmployeeRequest":{"type":"object","properties":{"offboard_on":{"type":"string","format":"date-time","description":"The date when the employee should be offboarded. Can be a future date, today, or up to 30 days in the past if the employee has active insurance policies. Past dates beyond 30 days are allowed only if there are no active policies."},"offboard_reason":{"type":"string"}},"required":["offboard_on","offboard_reason"],"title":"OffboardEmployeeRequest"},"CurrencyCode":{"type":"string","enum":["eur","aed","afn","xcd","all","amd","aoa","ars","usd","aud","awg","azn","bam","bbd","bdt","xof","bgn","bhd","bif","bmd","bnd","bob","bov","brl","bsd","inr","btn","nok","bwp","byn","bzd","cad","xaf","cdf","chf","che","chw","nzd","clp","clf","cny","cop","cou","crc","cup","cuc","cve","ang","czk","djf","dkk","dop","dzd","egp","mad","ern","etb","fjd","fkp","mdl","gbp","gel","ghs","gip","gmd","gnf","gtq","gyd","hkd","hnl","hrk","htg","huf","idr","xdr","ils","iqd","irr","isk","jmd","jod","jpy","kes","kgs","khr","kmf","kpw","krw","kwd","kyd","kzt","lak","lbp","lkr","lrd","lsl","zar","lyd","mga","mkd","mmk","mnt","mop","mru","mur","mvr","mwk","mxn","mxv","myr","mzn","nad","xpf","ngn","nio","npr","omr","pab","pen","pgk","php","pkr","pln","pyg","qar","ron","rsd","rub","rwf","sar","sbd","scr","sdg","sek","sgd","shp","sll","sos","srd","ssp","stn","svc","xsu","syp","twd","szl","thb","tjs","tmt","tnd","top","try","ttd","tzs","uah","ugx","usn","uyu","uyi","uyw","uzs","ves","vnd","vuv","wst","yer","xua","zmw","zwl"],"title":"CurrencyCode"},"PayFrequency":{"type":"string","enum":["annual","monthly","bi_weekly","weekly"],"title":"PayFrequency"},"CreateSalaryRequest":{"type":"object","properties":{"amount":{"type":"number","format":"double","description":"Salary amount, in the given currency and pay frequency. Must be greater than 0."},"currency":{"$ref":"#/components/schemas/CurrencyCode","description":"ISO currency code the amount is denominated in"},"pay_frequency":{"$ref":"#/components/schemas/PayFrequency","description":"The period this amount represents (e.g. annual, monthly)"},"effective_from":{"type":"string","format":"date","description":"Date from which this salary is effective"}},"required":["amount","currency","pay_frequency","effective_from"],"title":"CreateSalaryRequest"},"SalaryResponse":{"type":"object","properties":{"id":{"type":"string","pattern":"sal_.+","description":"Unique identifier for the salary record"},"employee_id":{"type":"string","pattern":"ee_.+","description":"Unique identifier for the employee this salary belongs to"},"amount":{"type":"number","format":"double","description":"Salary amount, in the given currency and pay frequency"},"currency":{"$ref":"#/components/schemas/CurrencyCode","description":"ISO currency code the amount is denominated in"},"pay_frequency":{"$ref":"#/components/schemas/PayFrequency","description":"The period this amount represents (e.g. annual, monthly)"},"effective_from":{"type":"string","format":"date","description":"Date from which this salary is effective"},"object":{"type":"string","description":"The object type"}},"required":["id","employee_id","amount","currency","pay_frequency","effective_from"],"title":"SalaryResponse"},"SalaryResponsePagedList":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/SalaryResponse"},"description":"A paginated array containing the response elements"},"page":{"type":"integer","description":"The current page of the results"},"page_size":{"type":"integer","description":"The number of results on this page. This can be different from the requested page size if the total number of results is less than the requested page size"},"total_count":{"type":"integer","description":"The total number of elements available in the response. This is the total number of elements available across all pages, not just the current page."},"has_next_page":{"type":"boolean","description":"Whether there are more pages available after this page"},"has_previous_page":{"type":"boolean","description":"Whether there are more pages available before this page"}},"required":["items","page","page_size","total_count"],"title":"SalaryResponsePagedList"},"EmployerHealthInsuranceQuoteStatus":{"type":"string","enum":["pending_quote","action_required","not_undertaken","accepted","pending_insurer_acceptance"],"title":"EmployerHealthInsuranceQuoteStatus"},"HealthInsuranceRequiredActionResponse":{"type":"object","properties":{"reason":{"type":"string","description":"Concise reason for the required action"},"reason_description":{"type":"string","description":"Description for the required action"},"code":{"type":"string","description":"Identified the type of action required, not unique across health insurance providers"},"due_at":{"type":"string","format":"date","description":"Date and time by which the action is due, if this is not completed then the policy will not be issued."}},"required":["reason","reason_description","code","due_at"],"title":"HealthInsuranceRequiredActionResponse"},"HealthInsuranceCoverageLevelDocumentResponse":{"type":"object","properties":{"title":{"type":"string","description":"Health Insurance Document Title"},"link":{"type":"string","description":"Health Insurance Document Link (can be a link to a website or a file path)"}},"required":["title","link"],"title":"HealthInsuranceCoverageLevelDocumentResponse"},"HealthInsuranceCoverageLevelResponse":{"type":"object","properties":{"plan_id":{"type":"string","pattern":"pl_.+","description":"Unique identifier for the health insurance plan"},"plan_name":{"type":"string","description":"Name of the health insurance plan"},"plan_currency":{"$ref":"#/components/schemas/CurrencyCode","description":"Currency code of the health insurance plan"},"provider_name":{"type":"string","description":"Name of the health insurance provider"},"provider_logo_url":{"type":"string","description":"Logo URL of the health insurance provider"},"provider_employer_platform_url":{"type":["string","null"],"description":"URL to the health insurance provider's website for Employer Management"},"provider_support_phone":{"type":["string","null"],"description":"Support phone number to the health insurance provider's website for Employer Management"},"documents":{"type":"array","items":{"$ref":"#/components/schemas/HealthInsuranceCoverageLevelDocumentResponse"},"description":"Documents related to the health insurance plan, these documents may change at renewal, this includes the documents like `Insurance Product Information Document`, `Hospital Lists`, `Table of Cover` etc"}},"required":["plan_id","plan_name","plan_currency","provider_name","provider_logo_url","documents"],"title":"HealthInsuranceCoverageLevelResponse"},"EmployerHealthInsuranceQuoteResponse":{"type":"object","properties":{"object":{"type":"string","description":"The object type"},"id":{"type":"string","pattern":"erhq_.+","description":"Unique identifier for the quote"},"employer_id":{"type":"string","pattern":"er_.+","description":"The Id of the employer for which the is created"},"quoted_at":{"type":"string","format":"date-time","description":"Date and time the quote was created at"},"status":{"$ref":"#/components/schemas/EmployerHealthInsuranceQuoteStatus","description":"Current status of the quote"},"required_action":{"$ref":"#/components/schemas/HealthInsuranceRequiredActionResponse","description":"Actions required by the employer to proceed with the quote. Set only when `status` is `action_required`."},"coverage_levels":{"type":"array","items":{"$ref":"#/components/schemas/HealthInsuranceCoverageLevelResponse"},"description":"List of levels covered under the policy, each item representing details about the plan’s cover. Currently Kota only supports a single level of cover."}},"required":["id","employer_id","quoted_at","status","coverage_levels"],"title":"EmployerHealthInsuranceQuoteResponse"},"EmployerHealthInsuranceQuoteResponsePagedList":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/EmployerHealthInsuranceQuoteResponse"},"description":"A paginated array containing the response elements"},"page":{"type":"integer","description":"The current page of the results"},"page_size":{"type":"integer","description":"The number of results on this page. This can be different from the requested page size if the total number of results is less than the requested page size"},"total_count":{"type":"integer","description":"The total number of elements available in the response. This is the total number of elements available across all pages, not just the current page."},"has_next_page":{"type":"boolean","description":"Whether there are more pages available after this page"},"has_previous_page":{"type":"boolean","description":"Whether there are more pages available before this page"}},"required":["items","page","page_size","total_count"],"title":"EmployerHealthInsuranceQuoteResponsePagedList"},"EmployerHealthInsurancePolicyStatus":{"type":"string","enum":["scheduled","active","expired","cancelled"],"title":"EmployerHealthInsurancePolicyStatus"},"EnrolmentType":{"type":"string","enum":["opt_out","opt_in"],"title":"EnrolmentType"},"EmployerHealthInsurancePolicyRenewalStatus":{"type":"string","enum":["upcoming","open","renewed","cancelled"],"title":"EmployerHealthInsurancePolicyRenewalStatus"},"GetEmployerHealthPolicyRenewal":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/EmployerHealthInsurancePolicyRenewalStatus","description":"The current status of the renewal"},"renewal_date":{"type":"string","format":"date","description":"Policy renewal date"},"window_start_date":{"type":"string","format":"date","description":"Renewal window starts on this day"},"window_end_date":{"type":"string","format":"date","description":"Renewal window ends at the end of this day"},"decision_confirmed":{"type":"boolean","description":"Whether the decision to renew the policy has been confirmed"},"renewed_health_insurance_id":{"type":["string","null"],"pattern":"erhp_.+","description":"The ID of the renewed health insurance policy, if renewed"}},"required":["status","renewal_date","window_start_date","window_end_date","decision_confirmed"],"title":"GetEmployerHealthPolicyRenewal"},"EmployerHealthInsurancePolicyResponse":{"type":"object","properties":{"object":{"type":"string","description":"The object type"},"id":{"type":"string","pattern":"erhp_.+","description":"Unique identifier for policy"},"employer_id":{"type":"string","pattern":"er_.+","description":"The Id of the employer for which the policy is created"},"start_date":{"type":"string","format":"date","description":"Policy starts on this date"},"end_date":{"type":"string","format":"date","description":"Policy ends on this date"},"cancellation_date":{"type":["string","null"],"format":"date","description":"Policy was cancelled on this date, if cancellation occured"},"group_policy_number":{"type":["string","null"],"description":"Group’s health insurance policy number, if available"},"status":{"$ref":"#/components/schemas/EmployerHealthInsurancePolicyStatus","description":"Current status of policy"},"enrolment_type":{"$ref":"#/components/schemas/EnrolmentType","description":"Enrolment type of the policy"},"renewal":{"$ref":"#/components/schemas/GetEmployerHealthPolicyRenewal","description":"Renewal information for the policy"},"employer_cancellation_period_length":{"type":"integer","description":"How many days the employer has to cancel the policy since the policy starts"},"coverage_levels":{"type":"array","items":{"$ref":"#/components/schemas/HealthInsuranceCoverageLevelResponse"},"description":"Represents the available coverage levels for this policy"}},"required":["id","employer_id","start_date","end_date","status","enrolment_type","renewal","employer_cancellation_period_length","coverage_levels"],"title":"EmployerHealthInsurancePolicyResponse"},"EmployerHealthInsurancePolicyResponsePagedList":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/EmployerHealthInsurancePolicyResponse"},"description":"A paginated array containing the response elements"},"page":{"type":"integer","description":"The current page of the results"},"page_size":{"type":"integer","description":"The number of results on this page. This can be different from the requested page size if the total number of results is less than the requested page size"},"total_count":{"type":"integer","description":"The total number of elements available in the response. This is the total number of elements available across all pages, not just the current page."},"has_next_page":{"type":"boolean","description":"Whether there are more pages available after this page"},"has_previous_page":{"type":"boolean","description":"Whether there are more pages available before this page"}},"required":["items","page","page_size","total_count"],"title":"EmployerHealthInsurancePolicyResponsePagedList"},"EmployeeHealthInsuranceOfferStatus":{"type":"string","enum":["action_required","not_undertaken","accepted"],"title":"EmployeeHealthInsuranceOfferStatus"},"EmployeeHealthInsuranceOfferResponse":{"type":"object","properties":{"object":{"type":"string","description":"The object type"},"id":{"type":"string","pattern":"eeho_.+","description":"Unique identifier for offer"},"employer_id":{"type":"string","pattern":"er_.+","description":"The Id of the employer for which the offer is available"},"employee_id":{"type":"string","pattern":"ee_.+","description":"The Id of the employee for which the offer is available"},"external_customer_id":{"type":["string","null"],"description":"A unique identifier assigned by the Employer of Record (EoR) platform to the Customer (i.e. the company using the EoR service) for which the employee is employed. This ID groups employees under this Customer, enabling the aggregation of contribution reporting and other values per Customer rather than per legal entity. This parameter is only available to EoR platforms."},"status":{"$ref":"#/components/schemas/EmployeeHealthInsuranceOfferStatus","description":"Current status of offer"},"required_action":{"$ref":"#/components/schemas/HealthInsuranceRequiredActionResponse","description":"Required action to progress the offer, if any. Set only when `status` is `action_required`."},"coverage_level":{"$ref":"#/components/schemas/HealthInsuranceCoverageLevelResponse","description":"Details about the coverage level for the offer. Only a single level of cover is available for a specific employee!"}},"required":["id","employer_id","employee_id","status","coverage_level"],"title":"EmployeeHealthInsuranceOfferResponse"},"EmployeeHealthInsuranceOfferResponsePagedList":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/EmployeeHealthInsuranceOfferResponse"},"description":"A paginated array containing the response elements"},"page":{"type":"integer","description":"The current page of the results"},"page_size":{"type":"integer","description":"The number of results on this page. This can be different from the requested page size if the total number of results is less than the requested page size"},"total_count":{"type":"integer","description":"The total number of elements available in the response. This is the total number of elements available across all pages, not just the current page."},"has_next_page":{"type":"boolean","description":"Whether there are more pages available after this page"},"has_previous_page":{"type":"boolean","description":"Whether there are more pages available before this page"}},"required":["items","page","page_size","total_count"],"title":"EmployeeHealthInsuranceOfferResponsePagedList"},"EmployeeHealthInsurancePolicyStatus":{"type":"string","enum":["scheduled","active","expired","cancelled"],"title":"EmployeeHealthInsurancePolicyStatus"},"EmployeeHealthPolicyRenewal":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/EmployerHealthInsurancePolicyRenewalStatus","description":"The current status of the renewal"},"renewal_date":{"type":"string","format":"date","description":"Policy renewal date"},"window_start_date":{"type":"string","format":"date","description":"Renewal window starts on this day"},"window_end_date":{"type":"string","format":"date","description":"Renewal window ends at the end of this day"},"decision_confirmed":{"type":"boolean","description":"Whether the decision to renew the policy has been confirmed"},"renewed_health_insurance_id":{"type":["string","null"],"pattern":"eehp_.+","description":"The ID of the renewed health insurance policy, if renewed"}},"required":["status","renewal_date","window_start_date","window_end_date","decision_confirmed"],"title":"EmployeeHealthPolicyRenewal"},"HealthInsuranceGrossEstimationAmountResponse":{"type":"object","properties":{"employee_contribution":{"type":"number","format":"double","description":"Estimated gross premium amount deducted from employee payroll"},"employer_contribution":{"type":"number","format":"double","description":"Estimated gross premium amount paid by the employer"},"total":{"type":"number","format":"double","description":"Total gross premium amount (sum of employee and employer contributions)."}},"required":["employee_contribution","employer_contribution","total"],"title":"HealthInsuranceGrossEstimationAmountResponse"},"HealthInsuranceEstimatedGrossPremiumResponse":{"type":"object","properties":{"currency":{"$ref":"#/components/schemas/CurrencyCode","description":"Three-letter currency code (e.g., \"EUR\", \"USD\", \"GBP\") for all monetary amounts in this object."},"monthly":{"$ref":"#/components/schemas/HealthInsuranceGrossEstimationAmountResponse","description":"Estimated monthly gross premium amounts representing regular monthly charges."},"term":{"$ref":"#/components/schemas/HealthInsuranceGrossEstimationAmountResponse","description":"Estimated total gross premium amounts for the complete policy term from start date to renewal date. Note: These amounts reflect the full policy term and do not adjust for early cancellation."}},"required":["currency","monthly","term"],"title":"HealthInsuranceEstimatedGrossPremiumResponse"},"EmployeeHealthInsurancePolicyResponse":{"type":"object","properties":{"object":{"type":"string","description":"The object type"},"id":{"type":"string","pattern":"eehp_.+","description":"Unique identifier for policy"},"employer_id":{"type":"string","pattern":"er_.+","description":"The Id of the employer for which the policy is created"},"employee_id":{"type":"string","pattern":"ee_.+","description":"The Id of the employee for which the policy is created"},"external_customer_id":{"type":["string","null"],"description":"A unique identifier assigned by the Employer of Record (EoR) platform to the Customer (i.e. the company using the EoR service) for which the employee is employed. This ID groups employees under this Customer, enabling the aggregation of contribution reporting and other values per Customer rather than per legal entity. This parameter is only available to EoR platforms."},"start_date":{"type":"string","format":"date","description":"Policy starts on this date"},"end_date":{"type":"string","format":"date","description":"Policy ends on this date"},"cancellation_date":{"type":["string","null"],"format":"date","description":"Policy was cancelled on this date, if cancellation occured"},"policy_number":{"type":["string","null"],"description":"Health insurance policy number, if available"},"status":{"$ref":"#/components/schemas/EmployeeHealthInsurancePolicyStatus","description":"Current status of policy"},"enrolment_type":{"$ref":"#/components/schemas/EnrolmentType","description":"Enrolment type of the policy"},"renewal":{"$ref":"#/components/schemas/EmployeeHealthPolicyRenewal","description":"Renewal information for the policy"},"opt_out_deadline_date":{"type":"string","format":"date","description":"Last day to opt out from the policy"},"coverage_level":{"$ref":"#/components/schemas/HealthInsuranceCoverageLevelResponse","description":"Represents the current coverage level for the policy"},"enrolled_dependants_count":{"type":"integer","description":"Number of dependants (spouse, children, or other eligible family members) currently enrolled in this health insurance policy."},"estimated_gross_premium":{"$ref":"#/components/schemas/HealthInsuranceEstimatedGrossPremiumResponse","description":"Estimated gross premium amounts for this health insurance policy based on current enrollment and policy configuration. Important: These estimates are for planning purposes only and may differ from actual billed amounts due to life events, policy changes, insurer billing practices, or timing adjustments. For accurate payroll amounts, use the Contribution Reporting API."}},"required":["id","employer_id","employee_id","start_date","end_date","status","enrolment_type","renewal","opt_out_deadline_date","coverage_level","enrolled_dependants_count","estimated_gross_premium"],"title":"EmployeeHealthInsurancePolicyResponse"},"EmployeeHealthInsurancePolicyResponsePagedList":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/EmployeeHealthInsurancePolicyResponse"},"description":"A paginated array containing the response elements"},"page":{"type":"integer","description":"The current page of the results"},"page_size":{"type":"integer","description":"The number of results on this page. This can be different from the requested page size if the total number of results is less than the requested page size"},"total_count":{"type":"integer","description":"The total number of elements available in the response. This is the total number of elements available across all pages, not just the current page."},"has_next_page":{"type":"boolean","description":"Whether there are more pages available after this page"},"has_previous_page":{"type":"boolean","description":"Whether there are more pages available before this page"}},"required":["items","page","page_size","total_count"],"title":"EmployeeHealthInsurancePolicyResponsePagedList"},"RequirementsRequirementIdGetResponsesContentApplicationJsonSchemaSchema":{"type":"object","properties":{},"description":"A JSON Schema object describing the fields required for this requirement. Present for pending requirements and may also be returned for fulfilled requirements.","title":"RequirementsRequirementIdGetResponsesContentApplicationJsonSchemaSchema"},"Requirements_get-requirement_Response_200":{"type":"object","properties":{"is_fulfilled":{"type":"boolean","description":"Whether this requirement has already been fulfilled."},"fulfilled_at":{"type":"string","format":"date-time","description":"When the requirement was fulfilled. Present only when fulfilled."},"schema":{"$ref":"#/components/schemas/RequirementsRequirementIdGetResponsesContentApplicationJsonSchemaSchema","description":"A JSON Schema object describing the fields required for this requirement. Present for pending requirements and may also be returned for fulfilled requirements."}},"required":["is_fulfilled"],"title":"Requirements_get-requirement_Response_200"},"Get-requirementRequestBadRequestError":{"type":"object","properties":{"type":{"type":"string","description":"A URI reference identifying the problem type (RFC 9110 section URL)."},"title":{"type":"string","description":"A short human-readable summary of the problem type."},"status":{"type":"integer","description":"The HTTP status code."},"detail":{"type":"string","description":"The request did not match the expected schema."},"error_code":{"type":"string","description":"Stable machine-readable error code. Use this for branching; detail is informational only."},"trace_id":{"type":"string","description":"Trace identifier for correlating the error with server-side logs."}},"required":["type","title","status","detail","error_code","trace_id"],"title":"Get-requirementRequestBadRequestError"},"Get-requirementRequestUnauthorizedError":{"type":"object","properties":{"type":{"type":"string","description":"A URI reference identifying the problem type (RFC 9110 section URL)."},"title":{"type":"string","description":"A short human-readable summary of the problem type."},"status":{"type":"integer","description":"The HTTP status code."},"detail":{"type":"string","description":"The authentication token is invalid or missing."},"error_code":{"type":"string","description":"Stable machine-readable error code. Use this for branching; detail is informational only."},"trace_id":{"type":"string","description":"Trace identifier for correlating the error with server-side logs."}},"required":["type","title","status","detail","error_code","trace_id"],"title":"Get-requirementRequestUnauthorizedError"},"Get-requirementRequestNotFoundError":{"type":"object","properties":{"type":{"type":"string","description":"A URI reference identifying the problem type (RFC 9110 section URL)."},"title":{"type":"string","description":"A short human-readable summary of the problem type."},"status":{"type":"integer","description":"The HTTP status code."},"detail":{"type":"string","description":"The requirement was not found."},"error_code":{"type":"string","description":"Stable machine-readable error code. Use this for branching; detail is informational only."},"trace_id":{"type":"string","description":"Trace identifier for correlating the error with server-side logs."}},"required":["type","title","status","detail","error_code","trace_id"],"title":"Get-requirementRequestNotFoundError"},"Get-requirementRequestInternalServerError":{"type":"object","properties":{"type":{"type":"string","description":"A URI reference identifying the problem type (RFC 9110 section URL)."},"title":{"type":"string","description":"A short human-readable summary of the problem type."},"status":{"type":"integer","description":"The HTTP status code."},"detail":{"type":"string","description":"An internal error occurred."},"error_code":{"type":"string","description":"Stable machine-readable error code. Use this for branching; detail is informational only."},"trace_id":{"type":"string","description":"Trace identifier for correlating the error with server-side logs."}},"required":["type","title","status","detail","error_code","trace_id"],"title":"Get-requirementRequestInternalServerError"},"RequirementsRequirementIdPostRequestBodyContentApplicationJsonSchemaAnswers":{"type":"object","properties":{},"description":"A key-value map of field IDs to answer values.","title":"RequirementsRequirementIdPostRequestBodyContentApplicationJsonSchemaAnswers"},"RequirementsRequirementIdPostResponsesContentApplicationJsonSchemaStatus":{"type":"string","enum":["pending","in_progress","fulfilled"],"description":"The derived submission status. \"fulfilled\" once the cumulative answers satisfy the whole schema; \"in_progress\" when answers are stored but the schema is not yet complete; \"pending\" when no answers are stored.","title":"RequirementsRequirementIdPostResponsesContentApplicationJsonSchemaStatus"},"RequirementsRequirementIdPostResponsesContentApplicationJsonSchemaSchema":{"type":"object","properties":{},"description":"The requirement schema with the current cumulative answers injected as field defaults, so the client can render the next step (or confirm completion) without a follow-up GET.","title":"RequirementsRequirementIdPostResponsesContentApplicationJsonSchemaSchema"},"Requirements_submit-answers_Response_200":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/RequirementsRequirementIdPostResponsesContentApplicationJsonSchemaStatus","description":"The derived submission status. \"fulfilled\" once the cumulative answers satisfy the whole schema; \"in_progress\" when answers are stored but the schema is not yet complete; \"pending\" when no answers are stored."},"outstanding_fields":{"type":"array","items":{"type":"string"},"description":"Field IDs still blocking fulfillment. Present only for an \"in_progress\" submission."},"schema":{"$ref":"#/components/schemas/RequirementsRequirementIdPostResponsesContentApplicationJsonSchemaSchema","description":"The requirement schema with the current cumulative answers injected as field defaults, so the client can render the next step (or confirm completion) without a follow-up GET."}},"required":["status","schema"],"title":"Requirements_submit-answers_Response_200"},"RequirementsRequirementIdPostResponsesContentApplicationProblemJsonSchemaErrorsItems":{"type":"object","properties":{"field_id":{"type":"string","description":"The field that failed validation."},"error_type":{"type":"string","description":"The type of validation error."},"message":{"type":"string","description":"A human-readable error message."}},"required":["field_id","error_type","message"],"title":"RequirementsRequirementIdPostResponsesContentApplicationProblemJsonSchemaErrorsItems"},"Submit-answersRequestBadRequestError":{"type":"object","properties":{"type":{"type":"string","description":"A URI reference identifying the problem type (RFC 9110 section URL)."},"title":{"type":"string","description":"A short human-readable summary."},"status":{"type":"integer","description":"The HTTP status code."},"detail":{"type":"string","description":"A human-readable explanation of the validation failure."},"error_code":{"type":"string","description":"Stable machine-readable error code. Use this for branching; detail is informational only."},"trace_id":{"type":"string","description":"Trace identifier for correlating the error with server-side logs."},"errors":{"type":"array","items":{"$ref":"#/components/schemas/RequirementsRequirementIdPostResponsesContentApplicationProblemJsonSchemaErrorsItems"},"description":"Per-field validation errors. Present when error_code is invalid_request and the failure is a field-level validation error (AnswerValidationFailedError)."},"unknown_fields":{"type":"array","items":{"type":"string"},"description":"Submitted field IDs not present in the resolved schema. Present when error_code is invalid_request and the failure is UnknownFieldsError."}},"required":["type","title","status","detail","error_code","trace_id"],"title":"Submit-answersRequestBadRequestError"},"Submit-answersRequestUnauthorizedError":{"type":"object","properties":{"type":{"type":"string","description":"A URI reference identifying the problem type (RFC 9110 section URL)."},"title":{"type":"string","description":"A short human-readable summary of the problem type."},"status":{"type":"integer","description":"The HTTP status code."},"detail":{"type":"string","description":"The authentication token is invalid or missing."},"error_code":{"type":"string","description":"Stable machine-readable error code. Use this for branching; detail is informational only."},"trace_id":{"type":"string","description":"Trace identifier for correlating the error with server-side logs."}},"required":["type","title","status","detail","error_code","trace_id"],"title":"Submit-answersRequestUnauthorizedError"},"Submit-answersRequestNotFoundError":{"type":"object","properties":{"type":{"type":"string","description":"A URI reference identifying the problem type (RFC 9110 section URL)."},"title":{"type":"string","description":"A short human-readable summary of the problem type."},"status":{"type":"integer","description":"The HTTP status code."},"detail":{"type":"string","description":"The requirement was not found."},"error_code":{"type":"string","description":"Stable machine-readable error code. Use this for branching; detail is informational only."},"trace_id":{"type":"string","description":"Trace identifier for correlating the error with server-side logs."}},"required":["type","title","status","detail","error_code","trace_id"],"title":"Submit-answersRequestNotFoundError"},"Submit-answersRequestConflictError":{"type":"object","properties":{"type":{"type":"string","description":"A URI reference identifying the problem type (RFC 9110 section URL)."},"title":{"type":"string","description":"A short human-readable summary of the problem type."},"status":{"type":"integer","description":"The HTTP status code."},"detail":{"type":"string","description":"The requirement has already been fulfilled."},"error_code":{"type":"string","description":"Stable machine-readable error code. Use this for branching; detail is informational only."},"trace_id":{"type":"string","description":"Trace identifier for correlating the error with server-side logs."}},"required":["type","title","status","detail","error_code","trace_id"],"title":"Submit-answersRequestConflictError"},"Submit-answersRequestInternalServerError":{"type":"object","properties":{"type":{"type":"string","description":"A URI reference identifying the problem type (RFC 9110 section URL)."},"title":{"type":"string","description":"A short human-readable summary of the problem type."},"status":{"type":"integer","description":"The HTTP status code."},"detail":{"type":"string","description":"An internal error occurred."},"error_code":{"type":"string","description":"Stable machine-readable error code. Use this for branching; detail is informational only."},"trace_id":{"type":"string","description":"Trace identifier for correlating the error with server-side logs."}},"required":["type","title","status","detail","error_code","trace_id"],"title":"Submit-answersRequestInternalServerError"},"GetContributionReportPeriod":{"type":"object","properties":{"from_date":{"type":"string","format":"date","description":"Start date of the period"},"to_date":{"type":"string","format":"date","description":"End date of the period"}},"required":["from_date","to_date"],"title":"GetContributionReportPeriod"},"ContributionReportStatus":{"type":"string","enum":["open","finalized"],"title":"ContributionReportStatus"},"ContributionReportFileStatus":{"type":"string","enum":["pending","ready","failed"],"title":"ContributionReportFileStatus"},"ContributionReportTotals":{"type":"object","properties":{"currency":{"$ref":"#/components/schemas/CurrencyCode","description":"The currency of the amounts in this entry (e.g. `gbp`)"},"total_amount":{"type":"number","format":"double","description":"Sum of `employer_amount` and `employee_amount`"},"employer_amount":{"type":"number","format":"double","description":"Total paid by the employer for the benefits in this report, adjustments included"},"employee_amount":{"type":"number","format":"double","description":"Total paid by the employees for the benefits in this report, adjustments included"}},"required":["currency","total_amount","employer_amount","employee_amount"],"title":"ContributionReportTotals"},"ContributionReportAggregates":{"type":"object","properties":{"employee_count":{"type":"integer","description":"Number of employees with at least one contribution in the report"},"totals":{"type":"array","items":{"$ref":"#/components/schemas/ContributionReportTotals"},"description":"Contribution totals, one entry per currency. Often a single entry; empty when the report has no contributions yet."}},"required":["employee_count","totals"],"title":"ContributionReportAggregates"},"ContributionReportResponse":{"type":"object","properties":{"object":{"type":"string","description":"The object type"},"id":{"type":"string","pattern":"ctr_.+","description":"Unique identifier for the contribution report"},"employer_id":{"type":"string","pattern":"er_.+","description":"Unique identifier of the employer for which the report is created"},"external_customer_id":{"type":["string","null"],"description":"Unique identifier of the customer for which the report is created. This identifier is assigned by the Employer of Record (EoR) platform to the Customer (i.e. the company using the EoR service) for which the employee is employed. This parameter is only available to EoR platforms."},"period":{"$ref":"#/components/schemas/GetContributionReportPeriod","description":"Period covered by the contribution report"},"status":{"$ref":"#/components/schemas/ContributionReportStatus","description":"Current status of the contribution report"},"finalized_at":{"type":["string","null"],"format":"date-time","description":"Date and time the report was finalized, if applicable"},"file_id":{"type":["string","null"],"pattern":"file_.+","description":"Identifier of the report's downloadable CSV file. Null until the CSV has been prepared, which happens shortly after the report is finalized — use `file_status` to tell whether it is still on its way. Exchange it for a download link via `GET /files/{file_id}/download_link`."},"file_status":{"$ref":"#/components/schemas/ContributionReportFileStatus","description":"Whether the report's downloadable CSV is ready yet. `pending`: still being prepared. Re-fetch the report; it normally becomes available within seconds of finalization. `ready`: available, and `file_id` is set. `failed`: preparation did not succeed and is not retried automatically, so further polling will not help. Contact support to have it prepared again. Null while the report is open, because a CSV is only prepared once a report is finalized."},"created_at":{"type":"string","format":"date-time","description":"Date and time the report was created"},"last_updated_at":{"type":"string","format":"date-time","description":"Date and time of the last update to the report"},"aggregates":{"$ref":"#/components/schemas/ContributionReportAggregates","description":"Summary figures for the report, meant for dashboards and overviews. They keep changing while the report is open. For payroll processing or reconciliation use the employee breakdowns, which carry the itemised contributions."}},"required":["id","employer_id","period","status","created_at","last_updated_at","aggregates"],"title":"ContributionReportResponse"},"ContributionReportResponsePagedList":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/ContributionReportResponse"},"description":"A paginated array containing the response elements"},"page":{"type":"integer","description":"The current page of the results"},"page_size":{"type":"integer","description":"The number of results on this page. This can be different from the requested page size if the total number of results is less than the requested page size"},"total_count":{"type":"integer","description":"The total number of elements available in the response. This is the total number of elements available across all pages, not just the current page."},"has_next_page":{"type":"boolean","description":"Whether there are more pages available after this page"},"has_previous_page":{"type":"boolean","description":"Whether there are more pages available before this page"}},"required":["items","page","page_size","total_count"],"title":"ContributionReportResponsePagedList"},"GetEmployeeBreakdownPeriod":{"type":"object","properties":{"from_date":{"type":"string","format":"date","description":"Start date of the period"},"to_date":{"type":"string","format":"date","description":"End date of the period"}},"required":["from_date","to_date"],"title":"GetEmployeeBreakdownPeriod"},"HealthInsuranceContributionCategory":{"type":"string","enum":["gross_premium","tax","tax_relief"],"title":"HealthInsuranceContributionCategory"},"HealthInsuranceContributionMemberType":{"type":"string","enum":["policyholder","partner_dependant","child_dependant"],"title":"HealthInsuranceContributionMemberType"},"HealthInsuranceContributionType":{"type":"string","enum":["recurring","one_off"],"title":"HealthInsuranceContributionType"},"GetEmployeeBreakdownContribution":{"type":"object","properties":{"id":{"type":"string","pattern":"ct_.+","description":"Unique identifier for the contribution entry"},"category":{"$ref":"#/components/schemas/HealthInsuranceContributionCategory","description":"Category of the contribution"},"member_type":{"$ref":"#/components/schemas/HealthInsuranceContributionMemberType","description":"Type of member for the contribution"},"adjustment":{"type":"boolean","description":"Indicates if this contribution is an adjustment to a previous charge"},"adjustment_for":{"type":["string","null"],"pattern":"ct_.+","description":"Unique identifier of the original contribution being adjusted, if applicable"},"amount":{"type":"number","format":"double","description":"The monetary value of the contribution"},"type":{"$ref":"#/components/schemas/HealthInsuranceContributionType","description":"Type of the contribution"},"note":{"type":["string","null"],"description":"Optional field for additional context, e.g. if the amount is pro-rated or backdated"},"cover_period":{"$ref":"#/components/schemas/GetEmployeeBreakdownPeriod","description":"The health insurance period the contribution applies to"},"policy_id":{"type":"string","pattern":"p_.+","description":"The policy the contribution applies to. Prefixed with `p_`."},"employee_policy_id":{"type":"string","pattern":"eehp_.+","description":"DEPRECATED: Use `policy_id` instead. The employee health insurance policy the contribution applies to. Prefixed with `eehp_`.","deprecated":true},"reporting_month":{"type":"string","format":"date","description":"The primary month for which the contribution is relevant, helping to align contributions with standard monthly reporting cycles. It allows for consistent monthly categorisation in systems that require calendar-based reporting. Provided in `YYYY-MM-DD` format (with the day set to `01` as a convention), only the year and month are relevant."}},"required":["id","category","member_type","adjustment","amount","type","cover_period","policy_id","employee_policy_id","reporting_month"],"title":"GetEmployeeBreakdownContribution"},"GetEmployeeBreakdownHealthInsurance":{"type":"object","properties":{"employer_contributions":{"type":"array","items":{"$ref":"#/components/schemas/GetEmployeeBreakdownContribution"},"description":"Employer health insurance contributions"},"employee_contributions":{"type":"array","items":{"$ref":"#/components/schemas/GetEmployeeBreakdownContribution"},"description":"Employee health insurance contributions"}},"required":["employer_contributions","employee_contributions"],"title":"GetEmployeeBreakdownHealthInsurance"},"ContributionReportEmployeeBreakdownResponse":{"type":"object","properties":{"object":{"type":"string","description":"The object type"},"employee_id":{"type":"string","pattern":"ee_.+","description":"Unique identifier of the employee for which the breakdown is created"},"contribution_report_id":{"type":"string","pattern":"ctr_.+","description":"Unique identifier of the related contribution report"},"employer_id":{"type":"string","pattern":"er_.+","description":"Unique identifier of the employer for which the breakdown is created"},"external_customer_id":{"type":["string","null"],"description":"Unique identifier of the customer for which the breakdown is created. This identifier is assigned by the Employer of Record (EoR) platform to the Customer (i.e. the company using the EoR service) for which the employee is employed. This parameter is only available to EoR platforms."},"period":{"$ref":"#/components/schemas/GetEmployeeBreakdownPeriod","description":"Period covered by the employee breakdown"},"currency":{"$ref":"#/components/schemas/CurrencyCode","description":"The currency in which all the amounts in this breakdown are presented (e.g. `eur`)"},"status":{"$ref":"#/components/schemas/ContributionReportStatus","description":"Current status of the breakdown"},"finalized_at":{"type":["string","null"],"format":"date-time","description":"Date and time the breakdown was finalized, if applicable"},"created_at":{"type":"string","format":"date-time","description":"Date and time the breakdown was created"},"last_updated_at":{"type":"string","format":"date-time","description":"Date and time of the last update to the breakdown"},"health_insurance":{"$ref":"#/components/schemas/GetEmployeeBreakdownHealthInsurance","description":"Health insurance contribution details"}},"required":["employee_id","contribution_report_id","employer_id","period","currency","status","created_at","last_updated_at","health_insurance"],"title":"ContributionReportEmployeeBreakdownResponse"},"ContributionReportEmployeeBreakdownResponsePagedList":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/ContributionReportEmployeeBreakdownResponse"},"description":"A paginated array containing the response elements"},"page":{"type":"integer","description":"The current page of the results"},"page_size":{"type":"integer","description":"The number of results on this page. This can be different from the requested page size if the total number of results is less than the requested page size"},"total_count":{"type":"integer","description":"The total number of elements available in the response. This is the total number of elements available across all pages, not just the current page."},"has_next_page":{"type":"boolean","description":"Whether there are more pages available after this page"},"has_previous_page":{"type":"boolean","description":"Whether there are more pages available before this page"}},"required":["items","page","page_size","total_count"],"title":"ContributionReportEmployeeBreakdownResponsePagedList"},"OrderDirectionEnumParameter":{"type":"string","enum":["asc","desc"],"title":"OrderDirectionEnumParameter"},"WebhookVersionEnumParameter":{"type":"string","enum":["v1","v2"],"title":"WebhookVersionEnumParameter"},"JsonNodeOptions":{"type":"object","properties":{"property_name_case_insensitive":{"type":"boolean"}},"title":"JsonNodeOptions"},"JsonNode":{"type":"object","properties":{"options":{"$ref":"#/components/schemas/JsonNodeOptions"},"parent":{"$ref":"#/components/schemas/JsonNode"},"root":{"$ref":"#/components/schemas/JsonNode"}},"title":"JsonNode"},"EventResponse":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_.+"},"platform_id":{"type":"string","pattern":"pt_.+"},"created":{"type":"string","format":"date-time"},"type":{"type":"string"},"data":{"$ref":"#/components/schemas/JsonNode"},"api_version":{"type":"string"}},"required":["id","platform_id","created","type","data"],"title":"EventResponse"},"EventResponsePagedList":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/EventResponse"},"description":"A paginated array containing the response elements"},"page":{"type":"integer","description":"The current page of the results"},"page_size":{"type":"integer","description":"The number of results on this page. This can be different from the requested page size if the total number of results is less than the requested page size"},"total_count":{"type":"integer","description":"The total number of elements available in the response. This is the total number of elements available across all pages, not just the current page."},"has_next_page":{"type":"boolean","description":"Whether there are more pages available after this page"},"has_previous_page":{"type":"boolean","description":"Whether there are more pages available before this page"}},"required":["items","page","page_size","total_count"],"title":"EventResponsePagedList"},"WebhookEndpointResponse":{"type":"object","properties":{"id":{"type":"string","pattern":"whe_.+","description":"The unique identifier of the endpoint"},"endpoint_url":{"type":"string","description":"The registered URL of the endpoint"},"subscribed_events":{"type":"array","items":{"type":"string"},"description":"The events the endpoint is subscribed to"},"created_at":{"type":"string","format":"date-time","description":"The date and time the endpoint was created"},"object":{"type":"string","description":"The object type"}},"required":["id","endpoint_url","subscribed_events","created_at"],"title":"WebhookEndpointResponse"},"WebhookEndpointResponsePagedList":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/WebhookEndpointResponse"},"description":"A paginated array containing the response elements"},"page":{"type":"integer","description":"The current page of the results"},"page_size":{"type":"integer","description":"The number of results on this page. This can be different from the requested page size if the total number of results is less than the requested page size"},"total_count":{"type":"integer","description":"The total number of elements available in the response. This is the total number of elements available across all pages, not just the current page."},"has_next_page":{"type":"boolean","description":"Whether there are more pages available after this page"},"has_previous_page":{"type":"boolean","description":"Whether there are more pages available before this page"}},"required":["items","page","page_size","total_count"],"title":"WebhookEndpointResponsePagedList"},"CreateSessionTokenRequest":{"type":"object","properties":{"employer_id":{"type":"string","pattern":"er_.+"},"employee_id":{"type":["string","null"],"pattern":"ee_.+"},"external_customer_id":{"type":["string","null"],"description":"A unique identifier assigned by the Employer of Record (EoR) platform to the Customer (i.e. the company using the EoR service) for which the employee is employed. This ID groups employees under this Customer, enabling the aggregation of contribution reporting and other values per Customer rather than per legal entity. This parameter is required for Employer Session tokens for EoR platforms."}},"required":["employer_id"],"title":"CreateSessionTokenRequest"},"CreateSessionTokenResponse":{"type":"object","properties":{"token":{"type":"string"},"expiry":{"type":"string","format":"date-time"}},"required":["token","expiry"],"title":"CreateSessionTokenResponse"},"RelationshipType":{"type":"string","enum":["spouse","partner","child","other"],"title":"RelationshipType"},"AssociatedPersonResponse":{"type":"object","properties":{"id":{"type":"string","pattern":"ap_.+","description":"Unique identifier for the associated person"},"platform_id":{"type":"string","pattern":"pt_.+","description":"Unique identifier for the platform"},"employee_id":{"type":"string","pattern":"ee_.+","description":"Unique identifier for the employee this person is associated with"},"first_name":{"type":"string","description":"First name of the associated person"},"last_name":{"type":"string","description":"Last name of the associated person"},"date_of_birth":{"type":"string","format":"date","description":"Date of birth of the associated person"},"sex_at_birth":{"$ref":"#/components/schemas/SexAtBirth","description":"The sex assigned to the associated person at birth"},"relationship_type":{"$ref":"#/components/schemas/RelationshipType","description":"The relationship type between the employee and the associated person"},"email":{"type":["string","null"],"description":"Email address of the associated person"},"phone_number":{"type":["string","null"],"description":"Phone number in E.164 international format (e.g. +447700900999)"},"object":{"type":"string","description":"The object type"}},"required":["id","employee_id","first_name","last_name","date_of_birth","sex_at_birth","relationship_type"],"title":"AssociatedPersonResponse"},"AssociatedPersonResponsePagedList":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/AssociatedPersonResponse"},"description":"A paginated array containing the response elements"},"page":{"type":"integer","description":"The current page of the results"},"page_size":{"type":"integer","description":"The number of results on this page. This can be different from the requested page size if the total number of results is less than the requested page size"},"total_count":{"type":"integer","description":"The total number of elements available in the response. This is the total number of elements available across all pages, not just the current page."},"has_next_page":{"type":"boolean","description":"Whether there are more pages available after this page"},"has_previous_page":{"type":"boolean","description":"Whether there are more pages available before this page"}},"required":["items","page","page_size","total_count"],"title":"AssociatedPersonResponsePagedList"},"CreateAssociatedPersonRequest":{"type":"object","properties":{"first_name":{"type":"string","description":"Must not be empty. NOTE: This field will be normalized according to our internal formatting rules."},"last_name":{"type":"string","description":"Must not be empty. NOTE: This field will be normalized according to our internal formatting rules."},"date_of_birth":{"type":"string","format":"date","description":"Must be in the past, but after 1900-01-01"},"sex_at_birth":{"$ref":"#/components/schemas/SexAtBirth","description":"The sex assigned to the associated person at birth"},"relationship_type":{"$ref":"#/components/schemas/RelationshipType","description":"The relationship type between the employee and the associated person"},"email":{"type":["string","null"],"description":"NOTE: This field will be normalized according to our internal formatting rules."},"phone_number":{"type":["string","null"],"description":"Phone number in E.164 international format (e.g. +447700900999). NOTE: This field will be normalized according to our internal formatting rules."}},"required":["first_name","last_name","date_of_birth","sex_at_birth","relationship_type"],"title":"CreateAssociatedPersonRequest"},"UpdateAssociatedPersonRequest":{"type":"object","properties":{"first_name":{"type":["string","null"],"description":"NOTE: This field will be normalized according to our internal formatting rules."},"last_name":{"type":["string","null"],"description":"NOTE: This field will be normalized according to our internal formatting rules."},"date_of_birth":{"type":["string","null"],"format":"date","description":"Must be in the past, but after 1900-01-01"},"sex_at_birth":{"$ref":"#/components/schemas/SexAtBirth","description":"The sex assigned to the associated person at birth"},"relationship_type":{"$ref":"#/components/schemas/RelationshipType","description":"The relationship type between the employee and the associated person"},"email":{"type":["string","null"],"description":"Email address of the associated person. If null is provided, the email will be cleared. NOTE: This field will be normalized according to our internal formatting rules."},"phone_number":{"type":["string","null"],"description":"Phone number in E.164 international format (e.g. +447700900999). If null is provided, the phone number will be cleared. NOTE: This field will be normalized according to our internal formatting rules."}},"title":"UpdateAssociatedPersonRequest"},"DependentsManagementIntentParentType":{"type":"string","enum":["policy_amendment_intent","enrolment_intent"],"title":"DependentsManagementIntentParentType"},"DependentsManagementIntentStatus":{"type":"string","enum":["action_required","processing","completed","not_undertaken"],"title":"DependentsManagementIntentStatus"},"DependentsManagementIntentDependentStatus":{"type":"string","enum":["pending_confirmation","action_required","ineligible","processing","restricted","ready"],"title":"DependentsManagementIntentDependentStatus"},"SelectedOptionResponse":{"type":"object","properties":{"option_id":{"type":"string","pattern":"pco_.+","description":"Option ID (prefixed with `pco_`)."},"sub_options":{"type":["array","null"],"items":{"$ref":"#/components/schemas/SelectedOptionResponse"},"description":"Selected sub-options, if applicable."}},"required":["option_id"],"title":"SelectedOptionResponse"},"PlanCoverageOptionSelectionResponse":{"type":"object","properties":{"configuration_id":{"type":"string","pattern":"pc_.+","description":"Configuration ID (prefixed with `pc_`)."},"options":{"type":"array","items":{"$ref":"#/components/schemas/SelectedOptionResponse"},"description":"Selected options."}},"required":["configuration_id","options"],"title":"PlanCoverageOptionSelectionResponse"},"DependentInfoResponse":{"type":"object","properties":{"associated_person_id":{"type":"string","pattern":"ap_.+","description":"The associated person ID. Prefixed with `ap_`."},"status":{"$ref":"#/components/schemas/DependentsManagementIntentDependentStatus","description":"The status of this dependent in the dependents management intent."},"coverage_selections":{"type":["array","null"],"items":{"$ref":"#/components/schemas/PlanCoverageOptionSelectionResponse"},"description":"Coverage option selections for this dependent. Populated when member-scoped selections have been provided."},"requirement_id":{"type":["string","null"],"pattern":"ar_.+","description":"The adaptive requirement ID for this dependent. Populated when the dependent has an open adaptive requirement (status is `action_required`). Prefixed with `ar_`."}},"required":["associated_person_id","status"],"title":"DependentInfoResponse"},"PlanPricingType":{"type":"string","enum":["per_member","tier_based"],"title":"PlanPricingType"},"MemberTypeCode":{"type":"string","enum":["adult","young_adult","child"],"title":"MemberTypeCode"},"MemberTypePricingResponse":{"type":"object","properties":{"code":{"$ref":"#/components/schemas/MemberTypeCode","description":"Member type code."},"display_name":{"type":"string","description":"Display name for the member type."},"monthly_premium":{"type":"number","format":"double","description":"Monthly premium amount."}},"required":["code","display_name","monthly_premium"],"title":"MemberTypePricingResponse"},"PerMemberPricingResponse":{"type":"object","properties":{"currency":{"$ref":"#/components/schemas/CurrencyCode","description":"Currency code (e.g., 'eur', 'usd')."},"member_type_pricing":{"type":"array","items":{"$ref":"#/components/schemas/MemberTypePricingResponse"},"description":"Pricing for each member type."}},"required":["currency","member_type_pricing"],"title":"PerMemberPricingResponse"},"FamilyTierCode":{"type":"string","enum":["single","couple","single_parent","family"],"title":"FamilyTierCode"},"PricingTierResponse":{"type":"object","properties":{"code":{"$ref":"#/components/schemas/FamilyTierCode","description":"Tier code."},"display_name":{"type":"string","description":"Display name for the tier."},"monthly_premium":{"type":"number","format":"double","description":"Monthly premium amount for this tier."},"annual_premium":{"type":"number","format":"double","description":"Annual premium amount for this tier."},"display_dependent_requirements":{"type":"string","description":"Description of dependent requirements for this tier."}},"required":["code","display_name","monthly_premium","annual_premium","display_dependent_requirements"],"title":"PricingTierResponse"},"TierBasedPricingResponse":{"type":"object","properties":{"currency":{"$ref":"#/components/schemas/CurrencyCode","description":"Currency code (e.g., 'eur', 'usd')."},"tiers":{"type":"array","items":{"$ref":"#/components/schemas/PricingTierResponse"},"description":"Pricing tiers for different family compositions."}},"required":["currency","tiers"],"title":"TierBasedPricingResponse"},"HealthPlanPricingResponse":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/PlanPricingType","description":"Type of pricing structure"},"per_member":{"$ref":"#/components/schemas/PerMemberPricingResponse","description":"Per-member pricing details (populated when type is 'per_member')."},"tier_based":{"$ref":"#/components/schemas/TierBasedPricingResponse","description":"Tier-based pricing details (populated when type is 'tier_based')."}},"required":["type"],"title":"HealthPlanPricingResponse"},"PlanWithPricingResponse":{"type":"object","properties":{"id":{"type":"string","pattern":"pl_.+","description":"Unique identifier for the plan. Prefixed with `pl_`."},"name":{"type":"string","description":"The name of the plan."},"description":{"type":"string","description":"Description of the plan."},"pricing":{"$ref":"#/components/schemas/HealthPlanPricingResponse","description":"Pricing information for the plan."}},"required":["id","name","description","pricing"],"title":"PlanWithPricingResponse"},"PlanCoverageOptionScope":{"type":"string","enum":["group_policy","policy","member"],"title":"PlanCoverageOptionScope"},"PlanCoverageOptionInputType":{"type":"string","enum":["single_select","multi_select"],"title":"PlanCoverageOptionInputType"},"PlanCoverageOptionBenefitResponse":{"type":"object","properties":{"name":{"type":"string","description":"Benefit name."},"description":{"type":["string","null"],"description":"Benefit description."}},"required":["name"],"title":"PlanCoverageOptionBenefitResponse"},"EmployerEligibilityCriterionType":{"type":"string","enum":["employees_count","members_count","industry_exclusions"],"title":"EmployerEligibilityCriterionType"},"EmployeesCountDetails":{"type":"object","properties":{"min":{"type":["integer","null"],"description":"Minimum number of employees required."},"max":{"type":["integer","null"],"description":"Maximum number of employees allowed."}},"title":"EmployeesCountDetails"},"MembersCountDetails":{"type":"object","properties":{"min":{"type":["integer","null"],"description":"Minimum number of members required."},"max":{"type":["integer","null"],"description":"Maximum number of members allowed."}},"title":"MembersCountDetails"},"IndustryExclusionsDetails":{"type":"object","properties":{"excluded_industries":{"type":"array","items":{"type":"string"},"description":"List of excluded industries."}},"required":["excluded_industries"],"title":"IndustryExclusionsDetails"},"EmployerEligibilityCriterionResponse":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/EmployerEligibilityCriterionType","description":"The type of eligibility criterion."},"description":{"type":"string","description":"Human-readable description of the criterion."},"employees_count":{"$ref":"#/components/schemas/EmployeesCountDetails","description":"Employee count constraints. Only populated when type is `employees_count`."},"members_count":{"$ref":"#/components/schemas/MembersCountDetails","description":"Member count constraints. Only populated when type is `members_count`."},"industry_exclusions":{"$ref":"#/components/schemas/IndustryExclusionsDetails","description":"Industry exclusion details. Only populated when type is `industry_exclusions`."}},"required":["type","description"],"title":"EmployerEligibilityCriterionResponse"},"PlanCoverageOptionResponse":{"type":"object","properties":{"id":{"type":"string","pattern":"pco_.+","description":"Unique identifier for this coverage option. Prefixed with `pco_`."},"name":{"type":"string","description":"Display name for this coverage option."},"description":{"type":["string","null"],"description":"Longer explanation of this coverage option."},"learn_more_url":{"type":["string","null"],"description":"Link to learn more about this coverage option."},"from_price":{"type":["number","null"],"format":"double","description":"Lowest applicable monthly price for this coverage option."},"benefits":{"type":["array","null"],"items":{"$ref":"#/components/schemas/PlanCoverageOptionBenefitResponse"},"description":"Benefit items included with this coverage option."},"sub_options":{"type":["array","null"],"items":{"$ref":"#/components/schemas/PlanCoverageOptionResponse"},"description":"Nested sub-options available when this option is selected."},"eligibility_criteria":{"type":["array","null"],"items":{"$ref":"#/components/schemas/EmployerEligibilityCriterionResponse"},"description":"Eligibility criteria that must be met to select this coverage option."}},"required":["id","name"],"title":"PlanCoverageOptionResponse"},"PlanCoverageResponse":{"type":"object","properties":{"id":{"type":"string","pattern":"pc_.+","description":"Unique identifier for the coverage selection. Prefixed with `pc_`."},"name":{"type":"string","description":"Title for this coverage selection. Typically used as the display heading."},"description":{"type":["string","null"],"description":"Full description of this coverage selection."},"scope":{"$ref":"#/components/schemas/PlanCoverageOptionScope","description":"Scope of selection for this coverage selection: `group_policy` (employer selects for the group), `policy` (per-policy selection), or `member` (individual member selects)."},"input_type":{"$ref":"#/components/schemas/PlanCoverageOptionInputType","description":"Describes whether this input allows selecting a single option or multiple options."},"required":{"type":"boolean","description":"Whether a selection is mandatory."},"min_selections":{"type":["integer","null"],"description":"Minimum required selections (multi-select only)."},"max_selections":{"type":["integer","null"],"description":"Maximum allowed selections (multi-select only)."},"sort_order":{"type":["integer","null"],"description":"Display ordering hint."},"group_label":{"type":["string","null"],"description":"Optional grouping label for UI rendering. Indicates which coverage selections are best presented together from a UX standpoint."},"options":{"type":"array","items":{"$ref":"#/components/schemas/PlanCoverageOptionResponse"},"description":"Available options within this coverage selection."}},"required":["id","name","scope","input_type","required","options"],"title":"PlanCoverageResponse"},"DisclosureCategory":{"type":"string","enum":["regulatory","provider","intermediary"],"title":"DisclosureCategory"},"DisclosureType":{"type":"string","enum":["intermediary_role","intermediary_commission","underwriter_disclaimer","anti_selection_notice","statement_of_needs","product_information","pre_existing_conditions","statutory_warning","privacy_policy","terms_of_business"],"title":"DisclosureType"},"DisclosureLinkResponse":{"type":"object","properties":{"token":{"type":"string","description":"The placeholder this link fills. It appears in the disclosure's `text` wrapped in braces, as `{token}`, and matches `^[a-z][a-z0-9_]*$`. Tokens are unique within one disclosure, and every token in the text has exactly one link here."},"type":{"$ref":"#/components/schemas/DisclosureType","description":"What kind of document this is, for reporting and audit. The token is derived from it, so the two always agree; this is the value to branch on rather than matching the token as a string."},"label":{"type":"string","description":"The anchor text to display in place of the token."},"url":{"type":"string","description":"Absolute HTTPS URL of the document."},"version":{"type":"string","description":"Version of the document at the URL, so a record of what was shown can name the exact document the customer could have read."}},"required":["token","type","label","url","version"],"title":"DisclosureLinkResponse"},"DisclosureResponse":{"type":"object","properties":{"category":{"$ref":"#/components/schemas/DisclosureCategory","description":"The category of the disclosure."},"type":{"$ref":"#/components/schemas/DisclosureType","description":"The specific type of disclosure within its category."},"title":{"type":"string","description":"The title of the disclosure statement."},"text":{"type":"string","description":"The disclosure statement text. It may contain `{token}` placeholders, each of which has exactly one entry in `links` and must be rendered as an anchor to that link. A disclosure with no links contains no placeholders, so plain text stays plain text."},"links":{"type":"array","items":{"$ref":"#/components/schemas/DisclosureLinkResponse"},"description":"The documents `text` names, one per placeholder it carries. Empty for a disclosure that is text only."}},"required":["category","type","title","text","links"],"title":"DisclosureResponse"},"DependentsManagementIntentActionCode":{"type":"string","enum":["remove_restricted_or_ineligible_dependents"],"title":"DependentsManagementIntentActionCode"},"DependentsManagementIntentActionRequiredResponse":{"type":"object","properties":{"code":{"$ref":"#/components/schemas/DependentsManagementIntentActionCode","description":"The action code indicating what action is required."},"reason":{"type":"string","description":"Brief reason for the required action."},"reason_description":{"type":"string","description":"Detailed description of the required action. This is intended to be understandable by the end user."},"due_by":{"type":"string","format":"date-time","description":"The deadline by which the action must be completed. The day is included (i.e. the action can be completed any time during this day in the user's local time)."}},"required":["code","reason","reason_description","due_by"],"title":"DependentsManagementIntentActionRequiredResponse"},"DependentsManagementIntentResponse":{"type":"object","properties":{"id":{"type":"string","pattern":"dmi_.+","description":"Unique identifier for the dependents management intent. Prefixed with `dmi_`."},"object":{"type":"string","description":"Object type identifier."},"parent_intent_id":{"type":"string","description":"The parent intent ID (e.g. Policy Amendment Intent ID). Prefixed based on type."},"parent_intent_type":{"$ref":"#/components/schemas/DependentsManagementIntentParentType","description":"The type of parent intent."},"status":{"$ref":"#/components/schemas/DependentsManagementIntentStatus","description":"Current status of the dependents management intent."},"dependents":{"type":"array","items":{"$ref":"#/components/schemas/DependentInfoResponse"},"description":"List of dependents being managed."},"plan":{"$ref":"#/components/schemas/PlanWithPricingResponse","description":"Plan information including pricing details."},"coverage_options":{"type":["array","null"],"items":{"$ref":"#/components/schemas/PlanCoverageResponse"},"description":"Available member-scoped coverage options for the plan. Present when the plan has member-scoped coverage configurations."},"disclosures":{"type":"array","items":{"$ref":"#/components/schemas/DisclosureResponse"},"description":"Disclosures associated with this intent."},"action_required":{"$ref":"#/components/schemas/DependentsManagementIntentActionRequiredResponse","description":"Details of the action required from the caller. Populated only when `status` is `action_required` and a required action has been recorded on the intent (e.g. restricted dependents detected by compliance screening)."}},"required":["id","parent_intent_id","parent_intent_type","status","dependents","plan","disclosures"],"title":"DependentsManagementIntentResponse"},"EligibilityStatus":{"type":"string","enum":["pending","eligible","ineligible"],"title":"EligibilityStatus"},"AssociatedPersonEligibilityResponse":{"type":"object","properties":{"associated_person_id":{"type":"string","pattern":"ap_.+","description":"The associated person ID. Prefixed with `ap_`."},"first_name":{"type":"string","description":"First name of the associated person."},"last_name":{"type":"string","description":"Last name of the associated person."},"date_of_birth":{"type":"string","format":"date","description":"Date of birth of the associated person."},"sex_at_birth":{"$ref":"#/components/schemas/SexAtBirth","description":"Sex at birth of the associated person."},"relationship":{"$ref":"#/components/schemas/RelationshipType","description":"Relationship type to the employee."},"eligibility_status":{"$ref":"#/components/schemas/EligibilityStatus","description":"Eligibility status for the policy/plan."},"ineligibility_reason":{"type":["string","null"],"description":"Reason for ineligibility if status is ineligible."},"object":{"type":"string","description":"The object type"}},"required":["associated_person_id","first_name","last_name","date_of_birth","sex_at_birth","relationship","eligibility_status"],"title":"AssociatedPersonEligibilityResponse"},"AssociatedPersonEligibilityResponsePagedList":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/AssociatedPersonEligibilityResponse"},"description":"A paginated array containing the response elements"},"page":{"type":"integer","description":"The current page of the results"},"page_size":{"type":"integer","description":"The number of results on this page. This can be different from the requested page size if the total number of results is less than the requested page size"},"total_count":{"type":"integer","description":"The total number of elements available in the response. This is the total number of elements available across all pages, not just the current page."},"has_next_page":{"type":"boolean","description":"Whether there are more pages available after this page"},"has_previous_page":{"type":"boolean","description":"Whether there are more pages available before this page"}},"required":["items","page","page_size","total_count"],"title":"AssociatedPersonEligibilityResponsePagedList"},"SelectedOptionRequest":{"type":"object","properties":{"option_id":{"type":"string","pattern":"pco_.+","description":"Option ID (prefixed with `pco_`)."},"sub_options":{"type":["array","null"],"items":{"$ref":"#/components/schemas/SelectedOptionRequest"},"description":"Sub-option selections, if applicable."}},"required":["option_id"],"title":"SelectedOptionRequest"},"PlanCoverageOptionSelectionRequest":{"type":"object","properties":{"configuration_id":{"type":"string","pattern":"pc_.+","description":"Configuration ID (prefixed with `pc_`)."},"options":{"type":"array","items":{"$ref":"#/components/schemas/SelectedOptionRequest"},"description":"Selected options with optional sub-options."}},"required":["configuration_id","options"],"title":"PlanCoverageOptionSelectionRequest"},"DependentCoverageSelectionsRequest":{"type":"object","properties":{"associated_person_id":{"type":"string","pattern":"ap_.+","description":"The associated person ID this selection applies to."},"coverage_selections":{"type":"array","items":{"$ref":"#/components/schemas/PlanCoverageOptionSelectionRequest"},"description":"Coverage option selections for member-scoped configurations."}},"required":["associated_person_id","coverage_selections"],"title":"DependentCoverageSelectionsRequest"},"AddDependentsRequest":{"type":"object","properties":{"associated_person_ids":{"type":"array","items":{"type":"string","pattern":"ap_.+"},"description":"List of associated person IDs to add as dependents. Must not be empty."},"dependent_coverage_selections":{"type":["array","null"],"items":{"$ref":"#/components/schemas/DependentCoverageSelectionsRequest"},"description":"Optional coverage selections per dependent. Keyed by associated person ID."}},"required":["associated_person_ids"],"title":"AddDependentsRequest"},"AddDependentsToDependentsManagementIntentRequestBadRequestError":{"oneOf":[{"$ref":"#/components/schemas/HttpValidationProblemDetails"},{"$ref":"#/components/schemas/ProblemDetails"}],"title":"AddDependentsToDependentsManagementIntentRequestBadRequestError"},"UpdateDependentRequest":{"type":"object","properties":{"coverage_selections":{"type":"array","items":{"$ref":"#/components/schemas/PlanCoverageOptionSelectionRequest"},"description":"Coverage option selections for member-scoped configurations. An empty list removes them."}},"required":["coverage_selections"],"title":"UpdateDependentRequest"},"EnrolmentIntentStatus":{"type":"string","enum":["processing","scheduled","action_required","coverage_options_required","pending_confirmation","enrolling","enrolled","not_undertaken","ineligible","rejected"],"title":"EnrolmentIntentStatus"},"PolicyType":{"type":"string","enum":["health_insurance","life_assurance"],"title":"PolicyType"},"PolicyProviderResponse":{"type":"object","properties":{"id":{"type":"string","pattern":"pr_.+","description":"Unique identifier for the provider. Prefixed with pr_."},"name":{"type":"string","description":"Provider display name."},"description":{"type":"string","description":"Short description of the provider."},"logo_url":{"type":"string"},"employer_portal_url":{"type":["string","null"],"description":"URL for the employer portal."},"employee_portal_url":{"type":["string","null"],"description":"URL for the employee portal (may include claims management)."},"support_phone_number":{"type":["string","null"],"description":"Provider support phone number in E.164 format."}},"required":["id","name","description","logo_url"],"title":"PolicyProviderResponse"},"PlanDocumentType":{"type":"string","enum":["ipid","table_of_cover","waiting_periods","hospital_list","plan_summary","terms_and_conditions","other"],"title":"PlanDocumentType"},"PlanDocumentResponse":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/PlanDocumentType","description":"Machine-readable document kind used for display and i18n. Possible values are listed below; as this enum can expand with new benefits, unknown values MUST be handled gracefully by clients (fallback to a generic `document` label)."},"title":{"type":"string","description":"Title of the document."},"link":{"type":"string","description":"Public URL to the document. This could be any format (PDF, HTML, etc.)."}},"required":["title","link"],"title":"PlanDocumentResponse"},"PolicyPlanResponse":{"type":"object","properties":{"id":{"type":"string","pattern":"pl_.+","description":"Unique identifier for the plan. Prefixed with pl_."},"name":{"type":"string","description":"Plan display name."},"description":{"type":"string","description":"Short description of the plan."},"currency":{"$ref":"#/components/schemas/CurrencyCode","description":"ISO 4217 currency code for pricing under this plan."},"documents":{"type":"array","items":{"$ref":"#/components/schemas/PlanDocumentResponse"},"description":"List of plan documents (e.g., IPIDs, T&Cs)."},"coverage_options":{"type":["array","null"],"items":{"$ref":"#/components/schemas/PlanCoverageResponse"},"description":"The coverage options chosen for this policy, as whole objects rather than ids. Each entry is one coverage decision from the plan's catalogue, with `options` narrowed to what was actually selected at every level. Null when nothing was selected, and null on surfaces where the selection has not been made yet."}},"required":["id","name","description","currency","documents"],"title":"PolicyPlanResponse"},"CostSharingType":{"type":"string","enum":["member_count","member_selection","member_selection_percentage_based","percentage","policyholder_only","family_type","fixed_amount","full_coverage","pooled_member_count"],"title":"CostSharingType"},"MemberCountCostSharingConfigurationResponse":{"type":"object","properties":{"adults":{"type":"integer","description":"Number of additional adults covered, including partner/spouse."},"children":{"type":"integer","description":"Number of additional children covered."}},"required":["adults","children"],"title":"MemberCountCostSharingConfigurationResponse"},"MemberSelectionCostSharingConfigurationResponse":{"type":"object","properties":{"partner":{"type":"boolean","description":"If a spouse/partner is covered."},"children":{"type":"boolean","description":"If children are covered."}},"required":["partner","children"],"title":"MemberSelectionCostSharingConfigurationResponse"},"MemberSelectionPercentageBasedCostSharingConfigurationResponse":{"type":"object","properties":{"partner":{"type":"boolean","description":"If a spouse/partner is covered."},"children":{"type":"boolean","description":"If children are covered."},"percentage":{"type":"integer","description":"Employer coverage percentage of each covered member's premium:\n For 40% send 40.\n For 100% send 100."}},"required":["partner","children","percentage"],"title":"MemberSelectionPercentageBasedCostSharingConfigurationResponse"},"PercentageCostSharingConfigurationResponse":{"type":"object","properties":{"percentage":{"type":"integer","description":"Employer coverage percentage:\n For 40% send 40.\n For 100% send 100."}},"required":["percentage"],"title":"PercentageCostSharingConfigurationResponse"},"FamilyCostSharingType":{"type":"string","enum":["single","couple","single_with_children","family"],"title":"FamilyCostSharingType"},"FamilyTypeCostSharingConfigurationResponse":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/FamilyCostSharingType","description":"Employer coverage family type"}},"required":["type"],"title":"FamilyTypeCostSharingConfigurationResponse"},"FixedAmountCostSharingConfigurationResponse":{"type":"object","properties":{"monthly_amount":{"type":"number","format":"double","description":"Monthly amount the employer covers, in the plan's currency. Must be positive."}},"required":["monthly_amount"],"title":"FixedAmountCostSharingConfigurationResponse"},"PooledMemberCountCostSharingConfigurationResponse":{"type":"object","properties":{"dependents":{"type":"integer","description":"Number of dependents the employer covers in full, of any relationship: a spouse, partner or child each count as one. Must be zero or more."}},"required":["dependents"],"title":"PooledMemberCountCostSharingConfigurationResponse"},"CostSharingConfigurationResponse":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/CostSharingType","description":"Cost sharing type. Determines which sub-object is populated."},"member_count":{"$ref":"#/components/schemas/MemberCountCostSharingConfigurationResponse","description":"Numbers of additional members covered by the employer."},"member_selection":{"$ref":"#/components/schemas/MemberSelectionCostSharingConfigurationResponse","description":"Whether specific member types are covered by the employer."},"member_selection_percentage_based":{"$ref":"#/components/schemas/MemberSelectionPercentageBasedCostSharingConfigurationResponse","description":"Whether specific member types are covered by the employer, each at a percentage of their premium."},"percentage":{"$ref":"#/components/schemas/PercentageCostSharingConfigurationResponse","description":"Percentage of the premium the employer covers."},"family_type":{"$ref":"#/components/schemas/FamilyTypeCostSharingConfigurationResponse","description":"Type of the family covered by the employer."},"fixed_amount":{"$ref":"#/components/schemas/FixedAmountCostSharingConfigurationResponse","description":"Fixed monthly amount the employer covers."},"pooled_member_count":{"$ref":"#/components/schemas/PooledMemberCountCostSharingConfigurationResponse","description":"Number of dependents of any relationship the employer covers in full."}},"required":["type"],"title":"CostSharingConfigurationResponse"},"HealthInsurancePolicyConfigurationResponse":{"type":"object","properties":{"cost_sharing":{"$ref":"#/components/schemas/CostSharingConfigurationResponse","description":"Defines how the policy total cost is shared between employer and employee."},"max_dependents":{"type":["integer","null"],"description":"The most dependents the policy can cover at once, of any relationship: a spouse, partner or child each count as one. Set by the group policy. Null when there is no limit."}},"required":["cost_sharing","max_dependents"],"title":"HealthInsurancePolicyConfigurationResponse"},"EnrolmentIntentCoverageSelectionResponse":{"type":"object","properties":{"configuration_id":{"type":"string","pattern":"pc_.+","description":"Configuration ID (prefixed with `pc_`)."},"options":{"type":"array","items":{"$ref":"#/components/schemas/SelectedOptionResponse"},"description":"Selected options."},"selection_set_id":{"type":"string","pattern":"gp_.+","description":"The policy enrolment this selection is for: its `selection_set_id`, the group policy whose plan offers the configuration (prefixed with `gp_`)."}},"required":["configuration_id","options","selection_set_id"],"title":"EnrolmentIntentCoverageSelectionResponse"},"HealthInsuranceEnrolmentIntentResponse":{"type":"object","properties":{"configuration":{"$ref":"#/components/schemas/HealthInsurancePolicyConfigurationResponse","description":"How benefit costs will be shared between employer and employee."},"coverage_options":{"type":["array","null"],"items":{"$ref":"#/components/schemas/PlanCoverageResponse"},"description":"Available plan coverage options at the policy scope. Only present when the plan has policy-scoped coverage configurations."},"coverage_selections":{"type":["array","null"],"items":{"$ref":"#/components/schemas/EnrolmentIntentCoverageSelectionResponse"},"description":"Current coverage option selections. Populated when selections have been submitted."}},"required":["configuration"],"title":"HealthInsuranceEnrolmentIntentResponse"},"LifeAssuranceEnrolmentIntentResponse":{"type":"object","properties":{"coverage_options":{"type":["array","null"],"items":{"$ref":"#/components/schemas/PlanCoverageResponse"},"description":"Available plan coverage options at the policy scope. Only present when the plan has policy-scoped coverage configurations."},"coverage_selections":{"type":["array","null"],"items":{"$ref":"#/components/schemas/EnrolmentIntentCoverageSelectionResponse"},"description":"Current coverage option selections. Populated when selections have been submitted."}},"title":"LifeAssuranceEnrolmentIntentResponse"},"EnrolmentIntentPolicyEnrolmentResponse":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/PolicyType","description":"Type of policy to be created as part of this enrolment intent."},"estimated_effective_from":{"type":"string","format":"date","description":"Estimated date when the policy of this type is expected to become effective in ISO 8601 (YYYY-MM-DD)."},"provider":{"$ref":"#/components/schemas/PolicyProviderResponse","description":"Provider information for this policy (from group policy)."},"plan":{"$ref":"#/components/schemas/PolicyPlanResponse","description":"Plan information for this policy (from group policy)."},"selection_set_id":{"type":"string","pattern":"gp_.+","description":"Identifies this policy enrolment when submitting coverage selections: the group policy it enrols in (prefixed with `gp_`). Send it as each coverage selection's `selection_set_id`."},"health_insurance":{"$ref":"#/components/schemas/HealthInsuranceEnrolmentIntentResponse","description":"Health insurance intent information (always present when type=health_insurance)."},"life_assurance":{"$ref":"#/components/schemas/LifeAssuranceEnrolmentIntentResponse","description":"Life assurance intent information (always present when type=life_assurance)."},"id":{"type":["string","null"],"pattern":"p_.+","description":"Unique identifier for the policy created as part of this enrolment intent. Prefixed with `p_`. Only populated once the policy has been created."}},"required":["type","estimated_effective_from","provider","plan","selection_set_id"],"title":"EnrolmentIntentPolicyEnrolmentResponse"},"EnrolmentIntentIneligibilityReasonCode":{"type":"string","enum":["employee_restricted","employee_under_minimum_age","employee_above_maximum_age","employee_not_active","employment_not_started","unknown"],"title":"EnrolmentIntentIneligibilityReasonCode"},"EnrolmentIntentInelgibilityReason":{"type":"object","properties":{"code":{"$ref":"#/components/schemas/EnrolmentIntentIneligibilityReasonCode","description":"Code representing the reason for ineligibility. This can be used to programmatically handle different ineligibility scenarios. As these amount of codes could increase with new providers we strongly suggest to use the fallback public message for displaying to end users."},"reason":{"type":"string","description":"A reason that can be displayed to the end user explaining why the enrolment intent is ineligible."}},"required":["code","reason"],"title":"EnrolmentIntentInelgibilityReason"},"PolicyConfigurationResponse":{"type":"object","properties":{"desired_policy_start_date":{"type":["string","null"],"format":"date","description":"Desired policy start date, not guaranteed to be honoured by the provider."},"enrolment_date":{"type":["string","null"],"format":"date","description":"The date on which the employee has agreed to enrol into a the group policy. This date may be used by some providers to determine policy start date."}},"title":"PolicyConfigurationResponse"},"IntentActionType":{"type":"string","enum":["provide_dependant_information","provide_beneficiary_information","provide_missing_information"],"title":"IntentActionType"},"EnrolmentIntentActionRequiredResponse":{"type":"object","properties":{"code":{"$ref":"#/components/schemas/IntentActionType","description":"The action code indicating what action is required."},"reason":{"type":"string","description":"Brief reason for the required action."},"reason_description":{"type":"string","description":"Detailed description of the required action."},"due_by":{"type":"string","format":"date-time","description":"The deadline by which the action must be completed. The day is included (i.e. the action can be completed any time during this day in the user's local time)."}},"required":["code","reason","reason_description","due_by"],"title":"EnrolmentIntentActionRequiredResponse"},"EnrolmentIntentConfirmationType":{"type":"string","enum":["confirm_enrolment"],"title":"EnrolmentIntentConfirmationType"},"AssociatedPersonType":{"type":"string","enum":["dependents"],"title":"AssociatedPersonType"},"DependentStatus":{"type":"string","enum":["processing","confirmed"],"title":"DependentStatus"},"EnrolmentIntentDependentResponse":{"type":"object","properties":{"intent_id":{"type":"string","pattern":"dmi_.+","description":"Unique identifier for the dependents management intent. Prefixed with `dmi_`."},"status":{"$ref":"#/components/schemas/DependentStatus","description":"Current status of the dependent."}},"required":["intent_id","status"],"title":"EnrolmentIntentDependentResponse"},"EnrolmentIntentAssociatedPersonResponse":{"type":"object","properties":{"optional":{"type":"boolean","description":"Indicates whether providing information for the related type is optional."},"type":{"$ref":"#/components/schemas/AssociatedPersonType","description":"The type of associated person."},"dependent":{"$ref":"#/components/schemas/EnrolmentIntentDependentResponse","description":"Dependents-specific information if type is 'dependents'."}},"required":["optional","type","dependent"],"title":"EnrolmentIntentAssociatedPersonResponse"},"EnrolmentIntentPendingConfirmationResponse":{"type":"object","properties":{"due_by":{"type":"string","format":"date-time","description":"The deadline by which the confirmation must be completed."},"code":{"$ref":"#/components/schemas/EnrolmentIntentConfirmationType","description":"The code for the confirmation that needs to be taken."},"reason":{"type":"string","description":"A reason for the confirmation action that needs to be taken. "},"reason_description":{"type":"string","description":"A reason description explaining the confirmation action that needs to be taken. "},"associated_persons":{"$ref":"#/components/schemas/EnrolmentIntentAssociatedPersonResponse","description":"Information about associated persons related to this enrolment. Used to manage dependents."}},"required":["due_by","code","reason","reason_description"],"title":"EnrolmentIntentPendingConfirmationResponse"},"EnrolmentIntentResponse":{"type":"object","properties":{"id":{"type":"string","pattern":"ei_.+","description":"Unique identifier for the enrolment intent. Prefixed with `ei_`."},"employee_id":{"type":"string","pattern":"ee_.+","description":"Identifier for the employee associated with this enrolment intent. Prefixed with `ee_`."},"group_id":{"type":"string","pattern":"gr_.+","description":"Identifier for the group associated with this enrolment intent. Prefixed with `gr_`."},"status":{"$ref":"#/components/schemas/EnrolmentIntentStatus","description":"Current status of the enrolment intent."},"force_confirmation":{"type":"boolean","description":"If set to true, the system will always force the `PendingConfirmation` state before enrolling the employee, even if no action is required. This can be useful in scenarios where you want to ensure that the employee explicitly confirms their enrolment, regardless of their eligibility or any other factors. Defaults to false."},"policy_enrolments":{"type":"array","items":{"$ref":"#/components/schemas/EnrolmentIntentPolicyEnrolmentResponse"},"description":"Policy enrolment information"},"object":{"type":"string","description":"Object type identifier."},"ineligibility_reason":{"$ref":"#/components/schemas/EnrolmentIntentInelgibilityReason","description":"If the enrolment intent status is `ineligible`, this field provides details about the reason for employees ineligibility."},"policy_configuration":{"$ref":"#/components/schemas/PolicyConfigurationResponse","description":"Policy configuration associated with this enrolment intent."},"action_required":{"$ref":"#/components/schemas/EnrolmentIntentActionRequiredResponse","description":"If the enrolment intent status is `action_required`, this field provides details about the action that needs to be taken to proceed with the enrolment."},"pending_confirmation":{"$ref":"#/components/schemas/EnrolmentIntentPendingConfirmationResponse","description":"If the enrolment intent status is `pending_confirmation`, this field provides details about the pending confirmation state."},"disclosures":{"type":"array","items":{"$ref":"#/components/schemas/DisclosureResponse"},"description":"Disclosures associated with this intent."}},"required":["id","employee_id","group_id","status","force_confirmation","policy_enrolments","disclosures"],"title":"EnrolmentIntentResponse"},"EnrolmentIntentResponsePagedList":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/EnrolmentIntentResponse"},"description":"A paginated array containing the response elements"},"page":{"type":"integer","description":"The current page of the results"},"page_size":{"type":"integer","description":"The number of results on this page. This can be different from the requested page size if the total number of results is less than the requested page size"},"total_count":{"type":"integer","description":"The total number of elements available in the response. This is the total number of elements available across all pages, not just the current page."},"has_next_page":{"type":"boolean","description":"Whether there are more pages available after this page"},"has_previous_page":{"type":"boolean","description":"Whether there are more pages available before this page"}},"required":["items","page","page_size","total_count"],"title":"EnrolmentIntentResponsePagedList"},"PolicyConfigurationRequest":{"type":"object","properties":{"desired_policy_start_date":{"type":["string","null"],"format":"date","description":"The desired date for the employee's policy to start. This date is not guaranteed to be honored by the insurance provider and may be adjusted based on provider-specific rules and requirements. If unspecified, the policy start date will be determined by the insurance provider."},"enrolment_date":{"type":["string","null"],"format":"date","description":"The date on which the employee agreed to enrol into the group's policies. This date may be used by some insurance providers to determine the policy start date. If unspecified, the enrolment date will default to the date the enrolment intent is processed."}},"title":"PolicyConfigurationRequest"},"EnrolmentIntentCoverageSelectionRequest":{"type":"object","properties":{"configuration_id":{"type":"string","pattern":"pc_.+","description":"Configuration ID (prefixed with `pc_`)."},"options":{"type":"array","items":{"$ref":"#/components/schemas/SelectedOptionRequest"},"description":"Selected options with optional sub-options."},"selection_set_id":{"type":"string","pattern":"gp_.+","description":"The policy enrolment this selection is for: its `selection_set_id`, the group policy whose plan offers the configuration (prefixed with `gp_`)."}},"required":["configuration_id","options","selection_set_id"],"title":"EnrolmentIntentCoverageSelectionRequest"},"CreateEnrolmentIntentRequest":{"type":"object","properties":{"employee_id":{"type":"string","pattern":"ee_.+","description":"Identifier for the employee associated with this enrolment intent. Prefixed with `ee_`."},"group_id":{"type":"string","pattern":"gr_.+","description":"Identifier for the group associated with this enrolment intent. Prefixed with `gr_`."},"policy_configuration":{"$ref":"#/components/schemas/PolicyConfigurationRequest","description":"Policy configuration associated with this enrolment intent. You do not have to explicitly provide this field if you want to use the default policy configuration for the group. This simply lets you override specific settings for this enrolment intent."},"force_confirmation":{"type":"boolean","description":"If set to true, the system will always force the `PendingConfirmation` state before enrolling the employee, even if no action is required. This can be useful in scenarios where you want to ensure that the employee explicitly confirms their enrolment, regardless of their eligibility or any other factors. Defaults to false."},"coverage_selections":{"type":["array","null"],"items":{"$ref":"#/components/schemas/EnrolmentIntentCoverageSelectionRequest"},"description":"Optional plan coverage option selections for policy-scoped configurations. Each names the policy enrolment it is for through `selection_set_id`, the group policy whose plan offers the configuration. If every policy enrolment that needs selections gets valid ones, the coverage_options_required step will be skipped."}},"required":["employee_id","group_id","force_confirmation"],"title":"CreateEnrolmentIntentRequest"},"RequirementObjectTypeEnumParameter":{"type":"string","enum":["employee","employer","associated_person"],"title":"RequirementObjectTypeEnumParameter"},"RequirementObjectType":{"type":"string","enum":["employee","employer","associated_person"],"title":"RequirementObjectType"},"RequirementType":{"type":"string","enum":["group_quote_intent","group_policy_intent","dependent_management_intent","policy_amendment_intent","enrolment_intent"],"title":"RequirementType"},"EnrolmentIntentRequirementResponse":{"type":"object","properties":{"id":{"type":"string","pattern":"(ar_|ars_).+","description":"Identifier of the requirement. Take it to the Adaptive Requirements public routes as-is: an `ar_` id is one requirement, an `ars_` id is a set of requirements composed into one form."},"object_type":{"$ref":"#/components/schemas/RequirementObjectType","description":"Type of object this requirement is for (employee or employer)"},"object_id":{"type":"string","description":"Identifier of the object (employee ID or employer ID)"},"is_fulfilled":{"type":"boolean","description":"Whether the requirement has been fulfilled"},"requirement_type":{"$ref":"#/components/schemas/RequirementType","description":"Type of requirement"},"object":{"type":"string","description":"Object type identifier"}},"required":["id","object_type","object_id","is_fulfilled","requirement_type"],"title":"EnrolmentIntentRequirementResponse"},"EnrolmentIntentRequirementResponsePagedList":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/EnrolmentIntentRequirementResponse"},"description":"A paginated array containing the response elements"},"page":{"type":"integer","description":"The current page of the results"},"page_size":{"type":"integer","description":"The number of results on this page. This can be different from the requested page size if the total number of results is less than the requested page size"},"total_count":{"type":"integer","description":"The total number of elements available in the response. This is the total number of elements available across all pages, not just the current page."},"has_next_page":{"type":"boolean","description":"Whether there are more pages available after this page"},"has_previous_page":{"type":"boolean","description":"Whether there are more pages available before this page"}},"required":["items","page","page_size","total_count"],"title":"EnrolmentIntentRequirementResponsePagedList"},"SubmitCoverageSelectionsRequest":{"type":"object","properties":{"coverage_selections":{"type":"array","items":{"$ref":"#/components/schemas/EnrolmentIntentCoverageSelectionRequest"},"description":"Coverage option selections for policy-scoped configurations, for every policy enrolment of the intent. Each names the policy enrolment it is for through `selection_set_id`."}},"required":["coverage_selections"],"title":"SubmitCoverageSelectionsRequest"},"ReplayDeliveryResponse":{"type":"object","properties":{"delivery_id":{"type":"string","pattern":"evtd_.+"},"success":{"type":"boolean"},"response_status_code":{"type":["integer","null"]},"elapsed_time_ms":{"type":"number","format":"double"}},"required":["delivery_id","success","response_status_code","elapsed_time_ms"],"title":"ReplayDeliveryResponse"},"ReplayEventResponse":{"type":"object","properties":{"event_id":{"type":"string","pattern":"evt_.+"},"deliveries":{"type":"array","items":{"$ref":"#/components/schemas/ReplayDeliveryResponse"}}},"required":["event_id","deliveries"],"title":"ReplayEventResponse"},"FileDownloadLink":{"type":"object","properties":{"url":{"type":"string","description":"The URL to download the file from. Valid until expires_at."},"expires_at":{"type":"string","format":"date-time","description":"The date and time the download URL expires."},"filename":{"type":"string","description":"The name of the file."},"content_type":{"type":"string","description":"The MIME type of the file."},"content_length":{"type":"integer","format":"int64","description":"The size of the file in bytes."}},"required":["url","expires_at","filename","content_type","content_length"],"description":"A time-limited link to download a file.","title":"FileDownloadLink"},"GroupPolicyStatus":{"type":"string","enum":["scheduled","active","expired","cancelled"],"title":"GroupPolicyStatus"},"HealthInsurancePolicyRenewalStatus":{"type":"string","enum":["upcoming","open","renewed","cancelled"],"title":"HealthInsurancePolicyRenewalStatus"},"HealthInsurancePolicyRenewalResponse":{"type":"object","properties":{"renewal_date":{"type":"string","format":"date","description":"Renewal date."},"window_start_date":{"type":"string","format":"date","description":"Renewal window start (inclusive)."},"window_end_date":{"type":"string","format":"date","description":"Renewal window end (inclusive)."},"status":{"$ref":"#/components/schemas/HealthInsurancePolicyRenewalStatus","description":"Current renewal status."},"renewed_policy_id":{"type":["string","null"],"pattern":"p_.+","description":"Identifier of the renewed policy. This means existing policy will be replaced by the renewed policy on the renewal date."}},"required":["renewal_date","window_start_date","window_end_date","status"],"title":"HealthInsurancePolicyRenewalResponse"},"HealthInsuranceGroupPolicyConfigurationResponse":{"type":"object","properties":{"cost_sharing":{"$ref":"#/components/schemas/CostSharingConfigurationResponse","description":"Defines how the policies total cost is shared between employer and employee."},"max_dependents":{"type":["integer","null"],"description":"The most dependents each policy under this group policy can cover at once, of any relationship: a spouse, partner or child each count as one. Null when there is no limit."}},"required":["cost_sharing","max_dependents"],"title":"HealthInsuranceGroupPolicyConfigurationResponse"},"HealthInsuranceGroupPolicyResponse":{"type":"object","properties":{"group_policy_number":{"type":["string","null"],"description":"Provider-issued policy number. May be null if not yet issued."},"renewal":{"$ref":"#/components/schemas/HealthInsurancePolicyRenewalResponse","description":"Renewal information for the policy."},"configuration":{"$ref":"#/components/schemas/HealthInsuranceGroupPolicyConfigurationResponse","description":"How the policy is configured by default, such as cost sharing and other options."}},"required":["renewal","configuration"],"title":"HealthInsuranceGroupPolicyResponse"},"LifeAssurancePolicyRenewalResponse":{"type":"object","properties":{"renewal_date":{"type":"string","format":"date","description":"Renewal date."},"window_start_date":{"type":"string","format":"date","description":"Renewal window start (inclusive)."},"window_end_date":{"type":"string","format":"date","description":"Renewal window end (inclusive)."},"status":{"$ref":"#/components/schemas/HealthInsurancePolicyRenewalStatus","description":"Current renewal status."},"renewed_policy_id":{"type":["string","null"],"pattern":"p_.+","description":"Identifier of the renewed policy. This means existing policy will be replaced by the renewed policy on the renewal date."}},"required":["renewal_date","window_start_date","window_end_date","status"],"title":"LifeAssurancePolicyRenewalResponse"},"LifeAssuranceGroupPolicyConfigurationResponse":{"type":"object","properties":{"cost_sharing":{"$ref":"#/components/schemas/CostSharingConfigurationResponse","description":"Defines how the policies total cost is shared between employer and employee. A life assurance policy only ever carries `policyholder_only` or `percentage`."}},"required":["cost_sharing"],"title":"LifeAssuranceGroupPolicyConfigurationResponse"},"LifeAssuranceGroupPolicyResponse":{"type":"object","properties":{"group_policy_number":{"type":["string","null"],"description":"Provider-issued policy number. May be null if not yet issued."},"renewal":{"$ref":"#/components/schemas/LifeAssurancePolicyRenewalResponse","description":"Renewal information for the policy."},"configuration":{"$ref":"#/components/schemas/LifeAssuranceGroupPolicyConfigurationResponse","description":"How the policy is configured by default, such as cost sharing and other options."}},"required":["renewal","configuration"],"title":"LifeAssuranceGroupPolicyResponse"},"GroupPolicyResponse":{"type":"object","properties":{"id":{"type":"string","pattern":"gp_.+","description":"Unique identifier for the group policy. Prefixed with `gp_`."},"group_id":{"type":"string","pattern":"gr_.+","description":"Identifier for the group associated with this group policy."},"employer_id":{"type":"string","pattern":"er_.+","description":"Identifier for the employer associated with this group policy."},"start_date":{"type":"string","format":"date","description":"Policy start (effective) date in ISO 8601 (YYYY-MM-DD)."},"end_date":{"type":["string","null"],"format":"date","description":"Policy end date (inclusive) in ISO 8601 (YYYY-MM-DD), or null if open-ended."},"cancellation_date":{"type":["string","null"],"format":"date","description":"Policy cancellation date (inclusive) in ISO 8610 (YYYY-MM-DD), or null if not applicable."},"status":{"$ref":"#/components/schemas/GroupPolicyStatus","description":"Current lifecycle state of the `group_policy`, indicating its progress from creation to activation. Possible values are:\n - `scheduled`: Group policy has been scheduled for activation.\n - `active`: Group policy is now active\n - `expired`: Group policy is no longer active as it reached its end date\n - `cancelled`: Group policy is now cancelled for any reason."},"type":{"$ref":"#/components/schemas/PolicyType","description":"Policy type. Determines which sub-object is populated."},"provider":{"$ref":"#/components/schemas/PolicyProviderResponse","description":"Provider information for this policy."},"plan":{"$ref":"#/components/schemas/PolicyPlanResponse","description":"Plan information for this policy"},"health_insurance":{"$ref":"#/components/schemas/HealthInsuranceGroupPolicyResponse","description":"Health insurance–specific fields (present when `type=health_insurance`)."},"life_assurance":{"$ref":"#/components/schemas/LifeAssuranceGroupPolicyResponse","description":"Life assurance–specific fields (present when `type=life_assurance`)."},"linked_group_policy_ids":{"type":"array","items":{"type":"string","pattern":"gp_.+"},"description":"The other `group_policy` objects bought together with this one as a single scheme — the policies created from the same multi-level purchase. Always present, and empty for a policy with no siblings."},"disclosures":{"type":"array","items":{"$ref":"#/components/schemas/DisclosureResponse"},"description":"Disclosures associated with this group policy."},"object":{"type":"string","description":"The object type"}},"required":["id","start_date","status","type","provider","plan","linked_group_policy_ids","disclosures"],"title":"GroupPolicyResponse"},"GroupPolicyResponsePagedList":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/GroupPolicyResponse"},"description":"A paginated array containing the response elements"},"page":{"type":"integer","description":"The current page of the results"},"page_size":{"type":"integer","description":"The number of results on this page. This can be different from the requested page size if the total number of results is less than the requested page size"},"total_count":{"type":"integer","description":"The total number of elements available in the response. This is the total number of elements available across all pages, not just the current page."},"has_next_page":{"type":"boolean","description":"Whether there are more pages available after this page"},"has_previous_page":{"type":"boolean","description":"Whether there are more pages available before this page"}},"required":["items","page","page_size","total_count"],"title":"GroupPolicyResponsePagedList"},"GroupQuoteIntentTypeEnumParameter":{"type":"string","enum":["single","multi_level"],"title":"GroupQuoteIntentTypeEnumParameter"},"GroupQuoteIntentType":{"type":"string","enum":["single","multi_level"],"title":"GroupQuoteIntentType"},"GroupPolicyIntentStatus":{"type":"string","enum":["processing","action_required","pending_verification","pending_provider_approval","policy_created","expired","provider_rejected","manual_renewal_gathering_required"],"title":"GroupPolicyIntentStatus"},"BenefitType":{"type":"string","enum":["health_insurance","life_assurance"],"title":"BenefitType"},"GroupQuoteIntentLevelResponse":{"type":"object","properties":{"group_id":{"type":"string","pattern":"gr_.+","description":"Unique identifier for the group this level quotes."},"plan_id":{"type":"string","pattern":"pl_.+","description":"Unique identifier for the plan this level quotes."},"cost_sharing":{"$ref":"#/components/schemas/CostSharingConfigurationResponse","description":"Cost sharing configuration for this level. Null only on a `single` intent that has not settled it yet."},"coverage_selections":{"type":["array","null"],"items":{"$ref":"#/components/schemas/PlanCoverageOptionSelectionResponse"},"description":"Plan coverage option selections for this level. Null when none were supplied."}},"required":["group_id","plan_id"],"title":"GroupQuoteIntentLevelResponse"},"GroupQuoteIntentItemResponse":{"type":"object","properties":{"benefit_type":{"$ref":"#/components/schemas/BenefitType","description":"The benefit this item quotes."},"ref":{"type":["string","null"],"description":"The caller's label for the item, echoed as sent. Null when none was supplied."},"levels":{"type":"array","items":{"$ref":"#/components/schemas/GroupQuoteIntentLevelResponse"},"description":"The (group, plan) levels this benefit is quoted at, in the order they were sent."}},"required":["benefit_type","levels"],"title":"GroupQuoteIntentItemResponse"},"GroupPolicyIntentActionRequiredResponse":{"type":"object","properties":{"code":{"$ref":"#/components/schemas/IntentActionType","description":"The action code indicating what action is required."},"reason":{"type":"string","description":"Brief reason for the required action."},"reason_description":{"type":"string","description":"Detailed description of the required action."},"due_by":{"type":"string","format":"date-time","description":"The deadline by which the action must be completed. The day is included (i.e. the action can be completed any time during this day in the user's local time)."}},"required":["code","reason","reason_description","due_by"],"title":"GroupPolicyIntentActionRequiredResponse"},"GroupPolicyIntentVerificationTaskType":{"type":"string","enum":["document_signature","employer_verification"],"title":"GroupPolicyIntentVerificationTaskType"},"GroupPolicyIntentVerificationTaskStatus":{"type":"string","enum":["pending","completed","rejected"],"title":"GroupPolicyIntentVerificationTaskStatus"},"GroupPolicyIntentVerificationTaskResponse":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/GroupPolicyIntentVerificationTaskType","description":"Type of verification task"},"title":{"type":"string","description":"Short name of the task"},"description":{"type":"string","description":"Description of the task"},"status":{"$ref":"#/components/schemas/GroupPolicyIntentVerificationTaskStatus","description":"Current status of the task"}},"required":["type","title","description","status"],"title":"GroupPolicyIntentVerificationTaskResponse"},"GroupPolicyIntentPendingVerificationResponse":{"type":"object","properties":{"tasks":{"type":"array","items":{"$ref":"#/components/schemas/GroupPolicyIntentVerificationTaskResponse"},"description":"The tasks to complete before the intent can move on."}},"required":["tasks"],"title":"GroupPolicyIntentPendingVerificationResponse"},"GroupPolicyIntentResponse":{"type":"object","properties":{"id":{"type":"string","pattern":"gpi_.+","description":"Unique identifier for the group policy intent"},"type":{"$ref":"#/components/schemas/GroupQuoteIntentType","description":"Whether the accepted quote covers one (group, plan) pair or several levels. Absent or null means `single`, so readers of intents created before multi-level quoting need no migration. Always the type of the quote intent this policy intent accepts."},"group_id":{"type":["string","null"],"pattern":"gr_.+","description":"Unique identifier for the group. Null only on a multi-level intent, whose groups are on its levels."},"plan_id":{"type":["string","null"],"pattern":"pl_.+","description":"Unique identifier for the plan. Null only on a multi-level intent, whose plans are on its levels."},"quote_intent_id":{"type":"string","pattern":"gqi_.+","description":"Unique identifier for the group quote intent this policy intent was created from"},"status":{"$ref":"#/components/schemas/GroupPolicyIntentStatus","description":"Current status of the group policy intent"},"due_date":{"type":["string","null"],"format":"date-time","description":"Due date for the policy intent"},"cost_sharing":{"$ref":"#/components/schemas/CostSharingConfigurationResponse","description":"Cost sharing configuration for the policy intent. Null on a multi-level intent, whose cost sharing is fixed per level at quote time."},"items":{"type":"array","items":{"$ref":"#/components/schemas/GroupQuoteIntentItemResponse"},"description":"The benefits the accepted quote covers and the levels they were quoted at, echoed from the quote intent. Always present: a `single` intent echoes its group, plan and cost sharing as one item of one level, so a consumer reads one shape for both."},"group_policy_ids":{"type":"array","items":{"type":"string","pattern":"gp_.+"},"description":"The group policies created for this intent, one per level, once they exist. Always present and empty until the intent reaches `policy_created`."},"action_required":{"$ref":"#/components/schemas/GroupPolicyIntentActionRequiredResponse","description":"Details of the required action when the intent is in ActionRequired status."},"pending_verification":{"$ref":"#/components/schemas/GroupPolicyIntentPendingVerificationResponse","description":"What the intent is waiting on when it is in `pending_verification`, such as documents out for signature. Null in every other status."},"disclosures":{"type":"array","items":{"$ref":"#/components/schemas/DisclosureResponse"},"description":"Disclosures associated with this intent."},"object":{"type":"string","description":"Object type identifier"}},"required":["id","group_id","plan_id","quote_intent_id","status","items","group_policy_ids","disclosures"],"title":"GroupPolicyIntentResponse"},"GroupPolicyIntentResponsePagedList":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/GroupPolicyIntentResponse"},"description":"A paginated array containing the response elements"},"page":{"type":"integer","description":"The current page of the results"},"page_size":{"type":"integer","description":"The number of results on this page. This can be different from the requested page size if the total number of results is less than the requested page size"},"total_count":{"type":"integer","description":"The total number of elements available in the response. This is the total number of elements available across all pages, not just the current page."},"has_next_page":{"type":"boolean","description":"Whether there are more pages available after this page"},"has_previous_page":{"type":"boolean","description":"Whether there are more pages available before this page"}},"required":["items","page","page_size","total_count"],"title":"GroupPolicyIntentResponsePagedList"},"ConsentType":{"type":"string","enum":["terms_of_business","privacy_policy","provider_document"],"title":"ConsentType"},"ConsentApprovalInput":{"type":"object","properties":{"id":{"type":["string","null"],"pattern":"cst_.+","description":"Identifier of the consent statement that was shown and accepted, as returned on the quote. Prefixed with `cst_`. Approving an id records that exact wording and those exact link versions, so no version is sent with it. Send this or `type` and `version`, not both."},"type":{"$ref":"#/components/schemas/ConsentType","description":"DEPRECATED: Use `id` instead. Type of consent being approved, accepted only while statements are still being rolled out. An approval taken this way records a document type rather than the wording the customer was shown.","deprecated":true},"ip":{"type":"string","description":"IP address of the user approving"},"version":{"type":["string","null"],"description":"DEPRECATED: Use `id` instead. Version of the consent document being approved. Sent with `type`, and never with `id`: a statement id already identifies its link versions.","deprecated":true},"user_id":{"type":"string","description":"User ID approving the consent"}},"required":["ip","user_id"],"title":"ConsentApprovalInput"},"CreateGroupPolicyIntentRequest":{"type":"object","properties":{"quote_intent_id":{"type":"string","pattern":"gqi_.+","description":"Unique identifier for the group quote intent to create a policy intent from"},"consent_approvals":{"type":["array","null"],"items":{"$ref":"#/components/schemas/ConsentApprovalInput"},"description":"Consent approvals to record at the time of intent creation"}},"required":["quote_intent_id"],"title":"CreateGroupPolicyIntentRequest"},"CreateGroupPolicyIntentRequestBadRequestError":{"oneOf":[{"$ref":"#/components/schemas/HttpValidationProblemDetails"},{"$ref":"#/components/schemas/ProblemDetails"}],"title":"CreateGroupPolicyIntentRequestBadRequestError"},"GroupPolicyIntentRequirementResponse":{"type":"object","properties":{"id":{"type":"string","pattern":"(ar_|ars_).+","description":"Identifier of the requirement. Take it to the Adaptive Requirements public routes as-is: an `ar_` id is one requirement, an `ars_` id is a set of requirements composed into one form."},"object_type":{"$ref":"#/components/schemas/RequirementObjectType","description":"Type of object this requirement is for (employee or employer)"},"object_id":{"type":"string","description":"Identifier of the object (employee ID or employer ID)"},"is_fulfilled":{"type":"boolean","description":"Whether the requirement has been fulfilled"},"requirement_type":{"$ref":"#/components/schemas/RequirementType","description":"Type of requirement"},"object":{"type":"string","description":"Object type identifier"}},"required":["id","object_type","object_id","is_fulfilled","requirement_type"],"title":"GroupPolicyIntentRequirementResponse"},"GroupPolicyIntentRequirementResponsePagedList":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/GroupPolicyIntentRequirementResponse"},"description":"A paginated array containing the response elements"},"page":{"type":"integer","description":"The current page of the results"},"page_size":{"type":"integer","description":"The number of results on this page. This can be different from the requested page size if the total number of results is less than the requested page size"},"total_count":{"type":"integer","description":"The total number of elements available in the response. This is the total number of elements available across all pages, not just the current page."},"has_next_page":{"type":"boolean","description":"Whether there are more pages available after this page"},"has_previous_page":{"type":"boolean","description":"Whether there are more pages available before this page"}},"required":["items","page","page_size","total_count"],"title":"GroupPolicyIntentRequirementResponsePagedList"},"GroupQuoteIntentStatus":{"type":"string","enum":["processing","action_required","awaiting_quote","quote_available","rejected","rejected_by_insurer","quote_expired"],"title":"GroupQuoteIntentStatus"},"GroupQuoteIntentActionRequiredResponse":{"type":"object","properties":{"code":{"$ref":"#/components/schemas/IntentActionType","description":"The action code indicating what action is required."},"reason":{"type":"string","description":"Brief reason for the required action."},"reason_description":{"type":"string","description":"Detailed description of the required action."},"due_by":{"type":"string","format":"date-time","description":"The deadline by which the action must be completed. The day is included (i.e. the action can be completed any time during this day in the user's local time)."}},"required":["code","reason","reason_description","due_by"],"title":"GroupQuoteIntentActionRequiredResponse"},"ConsentStatementLinkResponse":{"type":"object","properties":{"token":{"type":"string","description":"The placeholder this link fills. It appears in the statement's `text` wrapped in braces, as `{token}`, and matches `^[a-z][a-z0-9_]*$`. Tokens are unique within one statement, and every token in the text has exactly one link here."},"type":{"$ref":"#/components/schemas/ConsentType","description":"What kind of document this is, for reporting and audit. Separate from `token`, which is only a slot in one sentence: a statement may name the same kind of document twice."},"label":{"type":"string","description":"The anchor text to display in place of the token."},"url":{"type":"string","description":"Absolute HTTPS URL of the document."},"version":{"type":"string","description":"Version of the document at the URL."}},"required":["token","type","label","url","version"],"title":"ConsentStatementLinkResponse"},"ConsentStatementResponse":{"type":"object","properties":{"id":{"type":"string","pattern":"cst_.+","description":"Unique identifier for this statement, as shown. Prefixed with `cst_`. Submit it back on `consent_approvals[].id` to record that it was accepted. It identifies this exact wording and these exact link versions, so nothing else needs to be echoed back."},"text":{"type":"string","description":"The sentence to display. It may contain `{token}` placeholders, each of which has exactly one entry in `links` and must be rendered as an anchor to that link. Display it as given: do not reword, truncate or compose it with text of your own."},"links":{"type":"array","items":{"$ref":"#/components/schemas/ConsentStatementLinkResponse"},"description":"The documents `text` names, one per placeholder it carries."},"object":{"type":"string","description":"Object type identifier"}},"required":["id","text","links"],"title":"ConsentStatementResponse"},"GroupQuoteIntentResponse":{"type":"object","properties":{"id":{"type":"string","pattern":"gqi_.+","description":"Unique identifier for the group quote intent"},"type":{"$ref":"#/components/schemas/GroupQuoteIntentType","description":"Whether the intent quotes one (group, plan) pair or several levels. Absent or null means `single`, so readers of intents created before multi-level quoting need no migration."},"group_id":{"type":["string","null"],"pattern":"gr_.+","description":"Unique identifier for the group. Null only on a multi-level intent, whose groups are on its levels."},"plan_id":{"type":["string","null"],"pattern":"pl_.+","description":"Unique identifier for the plan. Null only on a multi-level intent, whose plans are on its levels."},"status":{"$ref":"#/components/schemas/GroupQuoteIntentStatus","description":"Current status of the group quote intent"},"cost_sharing":{"$ref":"#/components/schemas/CostSharingConfigurationResponse","description":"Cost sharing configuration for the quote. Null on a multi-level intent, whose cost sharing is per level."},"expected_start_date":{"type":["string","null"],"format":"date","description":"Expected start date for the insurance coverage"},"items":{"type":"array","items":{"$ref":"#/components/schemas/GroupQuoteIntentItemResponse"},"description":"The benefits this intent quotes and the levels they are quoted at. Always present: a `single` intent echoes its group, plan and cost sharing as one item of one level, so a consumer reads one shape for both."},"action_required":{"$ref":"#/components/schemas/GroupQuoteIntentActionRequiredResponse","description":"Details of the action required from the caller, if the intent is in action_required status."},"consent_links":{"type":"array","items":{"$ref":"#/components/schemas/ConsentStatementResponse"},"description":"The statements the customer must accept to proceed, each a sentence and the documents it names. Display them in the order given, each with its own acceptance, and submit every one back on `consent_approvals` when creating the group policy intent. A statement carries no type: it can bundle several documents, so its `id` identifies it instead. Empty until statements are configured."},"disclosures":{"type":"array","items":{"$ref":"#/components/schemas/DisclosureResponse"},"description":"Disclosures associated with this intent. On a multi-level intent, the deduplicated union across its levels' plans."},"object":{"type":"string","description":"Object type identifier"}},"required":["id","group_id","plan_id","status","items","consent_links","disclosures"],"title":"GroupQuoteIntentResponse"},"GroupQuoteIntentResponsePagedList":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/GroupQuoteIntentResponse"},"description":"A paginated array containing the response elements"},"page":{"type":"integer","description":"The current page of the results"},"page_size":{"type":"integer","description":"The number of results on this page. This can be different from the requested page size if the total number of results is less than the requested page size"},"total_count":{"type":"integer","description":"The total number of elements available in the response. This is the total number of elements available across all pages, not just the current page."},"has_next_page":{"type":"boolean","description":"Whether there are more pages available after this page"},"has_previous_page":{"type":"boolean","description":"Whether there are more pages available before this page"}},"required":["items","page","page_size","total_count"],"title":"GroupQuoteIntentResponsePagedList"},"GroupQuoteIntentLevelRequest":{"type":"object","properties":{"group_id":{"type":["string","null"],"pattern":"gr_.+","description":"Unique identifier for the group this level quotes. Required."},"plan_id":{"type":["string","null"],"pattern":"pl_.+","description":"Unique identifier for the plan this level quotes. Required."},"cost_sharing":{"$ref":"#/components/schemas/CostSharingConfigurationResponse","description":"Cost sharing configuration for this level. Required — there is no item-level default and no acceptance-time override."},"coverage_selections":{"type":["array","null"],"items":{"$ref":"#/components/schemas/PlanCoverageOptionSelectionRequest"},"description":"Plan coverage option selections for this level's group-policy-scoped configurations."}},"title":"GroupQuoteIntentLevelRequest"},"GroupQuoteIntentItemRequest":{"type":"object","properties":{"benefit_type":{"$ref":"#/components/schemas/BenefitType","description":"The benefit this item quotes. Required."},"ref":{"type":["string","null"],"description":"A caller-supplied label for the item, echoed back as sent. Purely cosmetic."},"levels":{"type":["array","null"],"items":{"$ref":"#/components/schemas/GroupQuoteIntentLevelRequest"},"description":"The (group, plan) levels this benefit is quoted at, one per group. Required, at least one."}},"title":"GroupQuoteIntentItemRequest"},"CreateGroupQuoteIntentRequest":{"type":"object","properties":{"group_id":{"type":["string","null"],"pattern":"gr_.+","description":"Unique identifier for the group to get a quote for. Required unless `items` is supplied."},"plan_id":{"type":["string","null"],"pattern":"pl_.+","description":"Unique identifier for the plan to get a quote for. Required unless `items` is supplied."},"cost_sharing":{"$ref":"#/components/schemas/CostSharingConfigurationResponse","description":"Cost sharing configuration for the quote. Required, and settled here rather than at acceptance: the group policy intent takes no cost sharing of its own. Not accepted alongside `items`, which carries cost sharing per level."},"expected_start_date":{"type":["string","null"],"format":"date","description":"Expected start date for the insurance coverage"},"coverage_selections":{"type":["array","null"],"items":{"$ref":"#/components/schemas/PlanCoverageOptionSelectionRequest"},"description":"Plan coverage option selections for group-policy-scoped configurations. Not accepted alongside `items`, which carries coverage selections per level."},"items":{"type":["array","null"],"items":{"$ref":"#/components/schemas/GroupQuoteIntentItemRequest"},"description":"The benefits to quote, each with its own levels. Supplying this opts into the multi-level shape: `group_id`, `plan_id`, `cost_sharing` and `coverage_selections` must then be omitted. Exactly one item is allowed."}},"title":"CreateGroupQuoteIntentRequest"},"CreateGroupQuoteIntentRequestBadRequestError":{"oneOf":[{"$ref":"#/components/schemas/HttpValidationProblemDetails"},{"$ref":"#/components/schemas/ProblemDetails"}],"title":"CreateGroupQuoteIntentRequestBadRequestError"},"GroupQuoteIntentRequirementResponse":{"type":"object","properties":{"id":{"type":"string","pattern":"(ar_|ars_).+","description":"Identifier of the requirement. Take it to the Adaptive Requirements public routes as-is: an `ar_` id is one requirement, an `ars_` id is a set of requirements composed into one form."},"object_type":{"$ref":"#/components/schemas/RequirementObjectType","description":"Type of object this requirement is for (employee or employer)"},"object_id":{"type":"string","description":"Identifier of the object (employee ID or employer ID)"},"is_fulfilled":{"type":"boolean","description":"Whether the requirement has been fulfilled"},"requirement_type":{"$ref":"#/components/schemas/RequirementType","description":"Type of requirement"},"object":{"type":"string","description":"Object type identifier"}},"required":["id","object_type","object_id","is_fulfilled","requirement_type"],"title":"GroupQuoteIntentRequirementResponse"},"GroupQuoteIntentRequirementResponsePagedList":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/GroupQuoteIntentRequirementResponse"},"description":"A paginated array containing the response elements"},"page":{"type":"integer","description":"The current page of the results"},"page_size":{"type":"integer","description":"The number of results on this page. This can be different from the requested page size if the total number of results is less than the requested page size"},"total_count":{"type":"integer","description":"The total number of elements available in the response. This is the total number of elements available across all pages, not just the current page."},"has_next_page":{"type":"boolean","description":"Whether there are more pages available after this page"},"has_previous_page":{"type":"boolean","description":"Whether there are more pages available before this page"}},"required":["items","page","page_size","total_count"],"title":"GroupQuoteIntentRequirementResponsePagedList"},"GroupQuoteBreakdownEntryType":{"type":"string","enum":["premium","insurance_premium_tax"],"title":"GroupQuoteBreakdownEntryType"},"GroupQuoteBreakdownEntryResponse":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/GroupQuoteBreakdownEntryType","description":"What this line is. New kinds may be added, so treat an unrecognised value as an additional cost rather than an error."},"currency":{"type":"string","description":"Currency of the amount (e.g. EUR, GBP)."},"amount":{"type":"number","format":"double","description":"The annual amount of this line."}},"required":["type","currency","amount"],"title":"GroupQuoteBreakdownEntryResponse"},"GroupQuoteDocumentResponse":{"type":"object","properties":{"url":{"type":"string","description":"URL to download the document."},"expires_at":{"type":"string","format":"date-time","description":"When the URL expires."}},"required":["url","expires_at"],"title":"GroupQuoteDocumentResponse"},"PremiumBasisType":{"type":"string","enum":["employees","estimate"],"title":"PremiumBasisType"},"PremiumBasisStatus":{"type":"string","enum":["current","changed","unknown"],"title":"PremiumBasisStatus"},"PremiumBasisResponse":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/PremiumBasisType","description":"`employees` when based on the group's eligible employees. `estimate` when based on the head count, average age and salary the employer entered, because the group had no eligible employees yet. New values may be added."},"employee_count":{"type":["integer","null"],"description":"How many employees the premium is based on. Null only for an `estimate` that did not include a head count."},"average_employee_age":{"type":["integer","null"],"description":"The average age the premium is based on. Null when the premium does not use it."},"average_annual_salary":{"type":["number","null"],"format":"double","description":"The average gross annual salary the premium is based on, in this level's `currency`. Null when the premium does not use it."},"status":{"$ref":"#/components/schemas/PremiumBasisStatus","description":"Whether quoting this level today would use the same employees and figures. `current` when it would, `changed` when it would not, so the quote no longer matches the group, and `unknown` when Kota can't check, such as when the level can't be quoted today. New values may be added."}},"required":["type","employee_count","average_employee_age","average_annual_salary","status"],"title":"PremiumBasisResponse"},"GroupQuoteLevelResponse":{"type":"object","properties":{"group_id":{"type":"string","pattern":"gr_.+","description":"Unique identifier for the group this level covers."},"plan_id":{"type":"string","pattern":"pl_.+","description":"Unique identifier for the plan this level is priced on."},"employee_count":{"type":"integer","description":"Number of employees of this group covered by this level."},"currency":{"type":"string","description":"Currency of this level's premiums (e.g. EUR, GBP)."},"monthly_premium":{"type":"number","format":"double","description":"This level's monthly premium, excluding any insurance premium tax."},"annual_premium":{"type":"number","format":"double","description":"This level's annual premium, excluding any insurance premium tax."},"cost_sharing":{"$ref":"#/components/schemas/CostSharingConfigurationResponse","description":"Cost sharing configuration for this level."},"quote_pdfs":{"type":"array","items":{"$ref":"#/components/schemas/GroupQuoteDocumentResponse"},"description":"The documents the provider issued for this level specifically. Empty when it issued them for the quote as a whole instead — those are on the quote's `quote_pdfs`."},"premium_basis":{"$ref":"#/components/schemas/PremiumBasisResponse","description":"What this level's premium was based on, as it stood when the quote was generated (`generated_at`). Null when Kota has no record of it, as for older quotes."}},"required":["group_id","plan_id","employee_count","currency","monthly_premium","annual_premium","cost_sharing","quote_pdfs"],"title":"GroupQuoteLevelResponse"},"GroupQuoteResponse":{"type":"object","properties":{"employee_count":{"type":"integer","description":"Number of employees covered by the quote. An employee covered by more than one of the quote's `levels` is counted once."},"cost_sharing":{"$ref":"#/components/schemas/CostSharingConfigurationResponse","description":"Cost sharing configuration for the quote. Null on a multi-level quote, whose cost sharing is per level — read it from `levels[].cost_sharing`."},"total_monthly_premium":{"type":"number","format":"double","description":"Total monthly premium for the group, excluding any insurance premium tax. Tax is a separate line of `breakdown`."},"total_annual_premium":{"type":"number","format":"double","description":"Total annual premium for the group, excluding any insurance premium tax. Where the provider prices the year in its own right, this is that figure rather than twelve times the monthly premium."},"currency":{"type":"string","description":"Currency of the premium (e.g. EUR, GBP). Every level of a quote is in one currency today; when a quote can span currencies, the totals and this field become null and `levels[].currency` is the only answer."},"breakdown":{"type":"array","items":{"$ref":"#/components/schemas/GroupQuoteBreakdownEntryResponse"},"description":"What makes up the annual cost: the premium, and the insurance premium tax charged on it when there is any. Amounts are annual and sum to what the employer pays."},"pdf_url":{"type":["string","null"],"description":"URL to download the quote PDF. The first whole-quote document, or the first level document when the provider issued none for the quote as a whole. Prefer `quote_pdfs`, which returns every document rather than one of them."},"pdf_expires_at":{"type":["string","null"],"format":"date-time","description":"When the PDF URL expires"},"quote_pdfs":{"type":"array","items":{"$ref":"#/components/schemas/GroupQuoteDocumentResponse"},"description":"The documents the provider issued for the quote as a whole. Documents issued per level are on `levels[].quote_pdfs` instead, and never repeated here."},"levels":{"type":"array","items":{"$ref":"#/components/schemas/GroupQuoteLevelResponse"},"description":"The priced levels of the quote, one per level of the intent — match them up by `group_id` and `plan_id` rather than by position. Always present: a single quote returns one entry, so a consumer reads one shape for both."},"generated_at":{"type":"string","format":"date-time","description":"When the quote was generated"},"expires_at":{"type":"string","format":"date-time","description":"When the quote expires"},"object":{"type":"string","description":"Object type identifier"}},"required":["employee_count","total_monthly_premium","total_annual_premium","currency","breakdown","quote_pdfs","levels","generated_at","expires_at"],"title":"GroupQuoteResponse"},"GroupStatus":{"type":"string","enum":["pending","ready","archived"],"title":"GroupStatus"},"GroupType":{"type":"string","enum":["undefined","single","bundled"],"title":"GroupType"},"GroupEnrolmentType":{"type":"string","enum":["manual","automatic"],"title":"GroupEnrolmentType"},"GroupResponse":{"type":"object","properties":{"id":{"type":"string","pattern":"gr_.+","description":"Unique identifier for the `group`. Prefixed with `gr_`."},"name":{"type":"string","description":"Human-readable name of the `group`."},"description":{"type":["string","null"],"description":"Short description of the purpose or scope of the `group`."},"status":{"$ref":"#/components/schemas/GroupStatus","description":"Current lifecycle state of the `group`, indicating its current progress. Possible values are:\n - `pending`: Group is being configured, may require a `quote_intent` or a `setup_intent` to be ready.\n - `ready`: Setup is complete, regardless of policy start dates employees could start enrolling into policies.\n - `archived`: Archived as the group is no longer active or in use for any reason. Employees can no longer be added to the group."},"group_type":{"$ref":"#/components/schemas/GroupType","description":"Indicates how policies are organized for this group.\n - `single`: exactly one policy is associated to the group.\n - `bundled`: multiple policies are bundled under the group.\n - `undefined`: type not yet determined or not applicable."},"enrolment_type":{"$ref":"#/components/schemas/GroupEnrolmentType","description":"Indicates how employees are enrolled into the group.\n - `manual`: employees must be enrolled through an API.\n - `automatic`: employees are enrolled automatically upon being created with the Employer."},"employer_id":{"type":"string","pattern":"er_.+","description":"Identifier for the `employer` that owns this `group`. Prefixed with `er_`."},"object":{"type":"string","description":"The object type"},"group_policy_ids":{"type":"array","items":{"type":"string","pattern":"gp_.+"},"description":"Group policy unique identifiers associated with this group."},"group_quote_intent_ids":{"type":"array","items":{"type":"string","pattern":"gqi_.+"},"description":"Group quote intent unique identifiers associated with this group."},"group_policy_intent_ids":{"type":"array","items":{"type":"string","pattern":"gpi_.+"},"description":"Group policy intent unique identifiers associated with this group."}},"required":["id","name","status","group_type","enrolment_type","employer_id","group_policy_ids","group_quote_intent_ids","group_policy_intent_ids"],"title":"GroupResponse"},"GroupResponsePagedList":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/GroupResponse"},"description":"A paginated array containing the response elements"},"page":{"type":"integer","description":"The current page of the results"},"page_size":{"type":"integer","description":"The number of results on this page. This can be different from the requested page size if the total number of results is less than the requested page size"},"total_count":{"type":"integer","description":"The total number of elements available in the response. This is the total number of elements available across all pages, not just the current page."},"has_next_page":{"type":"boolean","description":"Whether there are more pages available after this page"},"has_previous_page":{"type":"boolean","description":"Whether there are more pages available before this page"}},"required":["items","page","page_size","total_count"],"title":"GroupResponsePagedList"},"CreateGroupRequest":{"type":"object","properties":{"employer_id":{"type":"string","pattern":"er_.+","description":"Identifier of the `employer` to create the group for. Prefixed with `er_`."},"name":{"type":"string","description":"Human-readable name of the `group`."},"description":{"type":["string","null"],"description":"Short description of the purpose or scope of the `group`."}},"required":["employer_id","name"],"title":"CreateGroupRequest"},"CreateGroupRequestBadRequestError":{"oneOf":[{"$ref":"#/components/schemas/HttpValidationProblemDetails"},{"$ref":"#/components/schemas/ProblemDetails"}],"title":"CreateGroupRequestBadRequestError"},"UpdateGroupRequest":{"type":"object","properties":{"name":{"type":["string","null"],"description":"Human-readable name of the `group`."},"description":{"type":["string","null"],"description":"Short description of the purpose or scope of the `group`."}},"title":"UpdateGroupRequest"},"UpdateGroupRequestBadRequestError":{"oneOf":[{"$ref":"#/components/schemas/HttpValidationProblemDetails"},{"$ref":"#/components/schemas/ProblemDetails"}],"title":"UpdateGroupRequestBadRequestError"},"PolicyReference":{"type":"object","properties":{"id":{"type":"string","pattern":"p_.+","description":"Unique identifier for the policy."}},"required":["id"],"title":"PolicyReference"},"EnrolmentReference":{"type":"object","properties":{"id":{"type":"string","pattern":"ei_.+","description":"Unique identifier for the enrolment."}},"required":["id"],"title":"EnrolmentReference"},"EnrolmentStatus":{"type":"string","enum":["enrolled","enrolling","opted_out","cancelled","enrolment_available","not_available","rejected"],"title":"EnrolmentStatus"},"ScheduledGroupTransitionResponse":{"type":"object","properties":{"new_group_id":{"type":"string","pattern":"gr_.+","description":"Unique identifier for the group the employee will be moved to"},"scheduled_date":{"type":"string","format":"date","description":"The date when the employee will be moved to the new group"}},"required":["new_group_id","scheduled_date"],"title":"ScheduledGroupTransitionResponse"},"GroupEmployeeResponse":{"type":"object","properties":{"object":{"type":"string","description":"The object type"},"id":{"type":"string","pattern":"ee_.+","description":"Unique identifier for the employee."},"group_id":{"type":"string","pattern":"gr_.+","description":"Unique identifier for the group."},"policies":{"type":"array","items":{"$ref":"#/components/schemas/PolicyReference"},"description":"List of policies associated with the employee in this group."},"enrolments":{"type":"array","items":{"$ref":"#/components/schemas/EnrolmentReference"},"description":"List of enrolments associated with the employee in this group."},"desired_policy_start_date":{"type":["string","null"],"format":"date","description":"The desired date for the employee's policy to start. This date is not guaranteed to be honored by the insurance provider and may be adjusted based on provider-specific rules and requirements."},"enrolment_date":{"type":["string","null"],"format":"date","description":"The date on which the employee agreed to enrol into the group's policies. This date may be used by some insurance providers to determine the policy start date."},"eligibility_status":{"$ref":"#/components/schemas/EligibilityStatus","description":"Eligibility status for the employee in this group. `Pending` = eligibility not decided yet, usually because the group has no group policy; it is rechecked when the group policy is created and daily after that, and moves to `Eligible` (with the `group.employee.eligible` webhook) or `Ineligible`,`Eligible` = employee meets provider's eligibility criteria, `Ineligible` = employee does not meet eligibility criteria (e.g., age restrictions)."},"enrolment_status":{"$ref":"#/components/schemas/EnrolmentStatus","description":"Enrolment status for the employee in this group. Derived from policy and enrolment intent statuses."},"scheduled_group_transitions":{"type":"array","items":{"$ref":"#/components/schemas/ScheduledGroupTransitionResponse"},"description":"List of scheduled group transitions for the employee. Only includes pending transitions."}},"required":["id","group_id","policies","enrolments","eligibility_status","enrolment_status","scheduled_group_transitions"],"title":"GroupEmployeeResponse"},"GroupEmployeeResponsePagedList":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/GroupEmployeeResponse"},"description":"A paginated array containing the response elements"},"page":{"type":"integer","description":"The current page of the results"},"page_size":{"type":"integer","description":"The number of results on this page. This can be different from the requested page size if the total number of results is less than the requested page size"},"total_count":{"type":"integer","description":"The total number of elements available in the response. This is the total number of elements available across all pages, not just the current page."},"has_next_page":{"type":"boolean","description":"Whether there are more pages available after this page"},"has_previous_page":{"type":"boolean","description":"Whether there are more pages available before this page"}},"required":["items","page","page_size","total_count"],"title":"GroupEmployeeResponsePagedList"},"AddEmployeeToGroupRequest":{"type":"object","properties":{"employee_id":{"type":"string","pattern":"ee_.+","description":"Employee Id"},"create_enrolment_intents":{"type":["boolean","null"],"description":"Controls whether enrolment intents are automatically created for the employee. Defaults to `true` for hosted platforms and `false` for non-hosted platforms. When `true` on a hosted platform, the response includes the intent in `enrolments`. When `true` on a non-hosted platform, the intent is not included in the response, subscribe to the `enrolment_intent.processing` webhook to be notified when the enrolment intent is created."},"policy_configuration":{"$ref":"#/components/schemas/PolicyConfigurationRequest","description":"Policy configuration for the employee in this group. Leave null to use `group` defaults."}},"required":["employee_id"],"title":"AddEmployeeToGroupRequest"},"CheckGroupEligibilityRequest":{"type":"object","properties":{"employee_id":{"type":"string","pattern":"ee_.+","description":"The employee to check eligibility for."}},"required":["employee_id"],"title":"CheckGroupEligibilityRequest"},"EligibilityCheckReasonResponse":{"type":"object","properties":{"code":{"type":"string","description":"Machine-readable ineligibility reason code in snake_case."},"message":{"type":"string","description":"Human-readable description of the ineligibility reason."}},"required":["code","message"],"title":"EligibilityCheckReasonResponse"},"PlanProviderResponse":{"type":"object","properties":{"id":{"type":"string","pattern":"pr_.+","description":"Unique identifier for the provider. Prefixed with `pr_`."},"name":{"type":"string","description":"The name of the provider."},"description":{"type":"string","description":"Description of the provider."},"logo_url":{"type":"string","description":"URL to the provider's logo."}},"required":["id","name","description","logo_url"],"title":"PlanProviderResponse"},"EligibilityCheckPlanResponse":{"type":"object","properties":{"id":{"type":"string","pattern":"pl_.+","description":"Unique identifier for the plan. Prefixed with `pl_`."},"name":{"type":"string","description":"The name of the plan."},"description":{"type":"string","description":"Description of the plan."}},"required":["id","name","description"],"title":"EligibilityCheckPlanResponse"},"EligibilityCheckResponse":{"type":"object","properties":{"object":{"type":"string","description":"The object type."},"eligibility_status":{"$ref":"#/components/schemas/EligibilityStatus","description":"Eligibility status: `eligible` or `ineligible`."},"reasons":{"type":"array","items":{"$ref":"#/components/schemas/EligibilityCheckReasonResponse"},"description":"List of reasons why the employee is ineligible. Empty if eligible."},"provider":{"$ref":"#/components/schemas/PlanProviderResponse","description":"The insurance provider associated with the group."},"plan":{"$ref":"#/components/schemas/EligibilityCheckPlanResponse","description":"The insurance plan associated with the group."}},"required":["eligibility_status","reasons","provider","plan"],"title":"EligibilityCheckResponse"},"CreateSessionTokenLinkRequest":{"type":"object","properties":{"employer_id":{"type":"string","pattern":"er_.+"},"employee_id":{"type":"string","pattern":"ee_.+"}},"required":["employer_id","employee_id"],"title":"CreateSessionTokenLinkRequest"},"CreateHostedSessionTokenResponse":{"type":"object","properties":{"link":{"type":"string"},"expiry":{"type":"string","format":"date-time"}},"required":["link","expiry"],"title":"CreateHostedSessionTokenResponse"},"InvoiceDocumentType":{"type":"string","enum":["invoice_summary","invoice_detail","payroll_report"],"title":"InvoiceDocumentType"},"InvoiceDocument":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/InvoiceDocumentType","description":"The kind of document."},"file_id":{"type":"string","pattern":"file_.+","description":"The file holding the document's bytes. Prefixed with `file_`."},"content_type":{"type":"string","description":"The document's MIME type."},"part_number":{"type":["integer","null"],"description":"For a document split across several files, this file's 1-based position."},"part_count":{"type":["integer","null"],"description":"For a document split across several files, the total number of parts."}},"required":["type","file_id","content_type"],"description":"An original document issued by the provider for an invoice.","title":"InvoiceDocument"},"Invoice":{"type":"object","properties":{"object":{"type":"string","description":"The object type. Always `invoice`."},"id":{"type":"string","pattern":"inv_.+","description":"Unique identifier for the invoice. Prefixed with `inv_`."},"provider_id":{"type":"string","pattern":"pr_.+","description":"The provider that issued the invoice. Prefixed with `pr_`."},"employer_ids":{"type":"array","items":{"type":"string","pattern":"er_.+"},"description":"The employers this invoice is linked to. Prefixed with `er_`."},"invoice_number":{"type":["string","null"],"description":"The provider's invoice reference, where the provider issues one."},"invoice_date":{"type":"string","format":"date","description":"The date the invoice was issued."},"currency":{"type":"string","description":"ISO 4217 currency code."},"total_tax":{"type":["number","null"],"format":"double","description":"Total tax on the invoice."},"total_gross":{"type":"number","format":"double","description":"Total gross amount of the invoice (net plus tax)."},"documents":{"type":"array","items":{"$ref":"#/components/schemas/InvoiceDocument"},"description":"The original documents issued by the provider for this invoice, such as the invoice itself and its itemised detail."}},"required":["id","provider_id","employer_ids","invoice_date","currency","total_gross","documents"],"description":"An invoice received from a provider.","title":"Invoice"},"InvoicePagedList":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Invoice"},"description":"A paginated array containing the response elements"},"page":{"type":"integer","description":"The current page of the results"},"page_size":{"type":"integer","description":"The number of results on this page. This can be different from the requested page size if the total number of results is less than the requested page size"},"total_count":{"type":"integer","description":"The total number of elements available in the response. This is the total number of elements available across all pages, not just the current page."},"has_next_page":{"type":"boolean","description":"Whether there are more pages available after this page"},"has_previous_page":{"type":"boolean","description":"Whether there are more pages available before this page"}},"required":["items","page","page_size","total_count"],"title":"InvoicePagedList"},"InvoiceItemAttributionStatus":{"type":"string","enum":["attributed","unattributed"],"title":"InvoiceItemAttributionStatus"},"InvoiceItemAttribution":{"type":"object","properties":{"employer_id":{"type":"string","pattern":"er_.+","description":"The employer. Prefixed with `er_`."},"employee_id":{"type":"string","pattern":"ee_.+","description":"The employee who holds the policy. Prefixed with `ee_`."},"policy_id":{"type":"string","pattern":"p_.+","description":"The policy. Prefixed with `p_`."},"group_policy_id":{"type":"string","pattern":"gp_.+","description":"The group policy the policy is held under. Prefixed with `gp_`."}},"required":["employer_id","employee_id","policy_id","group_policy_id"],"description":"The policy an invoice item is attributed to, with the employee who holds it and the employer and group policy it belongs to.","title":"InvoiceItemAttribution"},"InvoiceItemPerson":{"type":"object","properties":{"name":{"type":["string","null"],"description":"The person's name."},"role_label":{"type":["string","null"],"description":"The person's role on the policy, exactly as the provider prints it."},"date_of_birth":{"type":["string","null"],"format":"date","description":"The person's date of birth."},"external_reference":{"type":["string","null"],"description":"The reference the provider prints for the person, such as an employee number."},"member_number":{"type":["string","null"],"description":"The provider's own number for the person."}},"description":"A person on an invoice row, as the provider states them.","title":"InvoiceItemPerson"},"InvoiceItemCoverPeriod":{"type":"object","properties":{"from_date":{"type":"string","format":"date","description":"The first day billed."},"to_date":{"type":"string","format":"date","description":"The end date as printed. The last day billed, or the day after, depending on the provider's convention."}},"required":["from_date","to_date"],"description":"The period an invoice row bills for, as the provider printed it.","title":"InvoiceItemCoverPeriod"},"InvoiceItemAmount":{"type":"object","properties":{"label":{"type":["string","null"],"description":"What the amount is for, exactly as the provider labels it."},"value":{"type":"number","format":"double","description":"The amount as printed."}},"required":["value"],"description":"An amount billed on an invoice row.","title":"InvoiceItemAmount"},"InvoiceItemSourceRow":{"type":"object","properties":{"person":{"$ref":"#/components/schemas/InvoiceItemPerson","description":"The person the row is for, as the provider states them. Null when the row names nobody."},"cover_period":{"$ref":"#/components/schemas/InvoiceItemCoverPeriod","description":"The period the row bills for, with the dates the provider printed. Whether `to_date` is the last day billed or the day after follows the provider's convention: Allianz prints the day after. Null when the provider gives the row no period: the invoice's own period is not copied onto it."},"amounts":{"type":["array","null"],"items":{"$ref":"#/components/schemas/InvoiceItemAmount"},"description":"What the row bills. Empty on a row the provider printed without an amount, such as a dependant whose cost is billed on the policyholder's row. Null when the provider gives the row no amounts at all."}},"description":"One row of the provider's invoice, as printed.","title":"InvoiceItemSourceRow"},"InvoiceItem":{"type":"object","properties":{"object":{"type":"string","description":"The object type. Always `invoice_item`."},"id":{"type":"string","pattern":"invi_.+","description":"Unique identifier for the item. Prefixed with `invi_`."},"invoice_id":{"type":"string","pattern":"inv_.+","description":"The invoice the item is part of. Prefixed with `inv_`."},"policy_number":{"type":"string","description":"The provider's policy number, as the invoice states it."},"gross":{"type":"number","format":"double","description":"What the provider billed for the policy, tax included."},"tax":{"type":"number","format":"double","description":"The part of `gross` the provider bills as tax."},"attribution_status":{"$ref":"#/components/schemas/InvoiceItemAttributionStatus","description":"Whether Kota has attributed the item to an employee's policy."},"attribution":{"$ref":"#/components/schemas/InvoiceItemAttribution","description":"The policy the item is attributed to. Present only when `attribution_status` is `attributed`; null otherwise."},"source_rows":{"type":"array","items":{"$ref":"#/components/schemas/InvoiceItemSourceRow"},"description":"The provider's own rows behind this item, as received. Use them to check the item against the provider's document, or for provider-specific data the unified fields leave out. Labels and fields are the provider's: a field is null where the provider prints nothing, and nothing is filled in from Kota's records. Contains at least one row."}},"required":["id","invoice_id","policy_number","gross","tax","attribution_status","source_rows"],"description":"One policy's share of an invoice.","title":"InvoiceItem"},"InvoiceItemPagedList":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/InvoiceItem"},"description":"A paginated array containing the response elements"},"page":{"type":"integer","description":"The current page of the results"},"page_size":{"type":"integer","description":"The number of results on this page. This can be different from the requested page size if the total number of results is less than the requested page size"},"total_count":{"type":"integer","description":"The total number of elements available in the response. This is the total number of elements available across all pages, not just the current page."},"has_next_page":{"type":"boolean","description":"Whether there are more pages available after this page"},"has_previous_page":{"type":"boolean","description":"Whether there are more pages available before this page"}},"required":["items","page","page_size","total_count"],"title":"InvoiceItemPagedList"},"PlanCostSharingItem":{"type":"object","properties":{"kind":{"type":"string","description":"The limit type, for example `limit` or `oop_max`."},"amount":{"type":"number","format":"double","description":"The limit amount."},"currency":{"type":"string","description":"Three-letter ISO 4217 currency code."},"period":{"type":"string","description":"The period the limit covers, for example `annual` or `lifetime`."},"direction":{"type":"string","description":"Who the limit applies to: `member_pays` or `plan_pays`."},"note":{"type":["string","null"],"description":"Free-text note about the limit."}},"required":["kind","amount","currency","period","direction"],"title":"PlanCostSharingItem"},"PlanCostSharing":{"type":"object","properties":{"plan_id":{"type":"string","pattern":"pl_.+","description":"Identifier of the plan. Prefixed with `pl_`."},"items":{"type":"array","items":{"$ref":"#/components/schemas/PlanCostSharingItem"},"description":"The limits that apply across the whole plan, such as a yearly out-of-pocket maximum."},"extensions":{"type":["object","null"],"additionalProperties":{"$ref":"#/components/schemas/JsonNode"},"description":"Extra fields with no standard equivalent. Only present when there are any."},"object":{"type":"string","description":"Object type. Always `plan_cost_sharing`."}},"required":["plan_id","items"],"title":"PlanCostSharing"},"BenefitRef":{"type":"object","properties":{"code":{"type":"string","description":"Code of the benefit type, for example `kota:gp_visit`."},"catalog_version":{"type":["string","null"],"description":"Taxonomy version the benefit was matched against, as `yyyy-MM-dd`. Null when not pinned to one."},"category":{"type":["string","null"],"description":"Code of the benefit type's category, for example `kota:outpatient`."},"display_name":{"type":["string","null"],"description":"Name of the benefit type, in the requested language."},"insurer_label":{"type":["string","null"],"description":"The provider's own name for the benefit, as written in its documents."}},"required":["code"],"title":"BenefitRef"},"Coverage":{"type":"object","properties":{"status":{"type":"string","description":"Coverage status: `covered`, `not_covered` or `partially_covered`."}},"required":["status"],"title":"Coverage"},"MonetaryOrUnitValue":{"type":"object","properties":{"amount":{"type":"number","format":"double","description":"The amount. For `percent`, `20` means 20%."},"currency":{"type":["string","null"],"description":"Three-letter ISO 4217 currency code. Only present for money amounts."},"unit":{"type":["string","null"],"description":"Unit of the amount, for example `percent` or `sessions`. Only present when the amount is not money."}},"required":["amount"],"title":"MonetaryOrUnitValue"},"Scope":{"type":"object","properties":{"term":{"type":"string","description":"What the amount is counted over, for example `per_visit`, `annual` or `lifetime`."},"unit":{"type":["string","null"],"description":"Who the amount is counted for: `individual` or `family`."}},"required":["term"],"title":"Scope"},"Settlement":{"type":"object","properties":{"type":{"type":"string","description":"How the amount is settled: `reimbursement` (the member pays and claims it back) or `direct` (the insurer pays the healthcare provider)."},"note":{"type":["string","null"],"description":"Free-text note about how the amount is settled."}},"required":["type"],"title":"Settlement"},"AgeBand":{"type":"object","properties":{"min":{"type":["integer","null"],"description":"Lowest age, inclusive. Null for no lower limit."},"max":{"type":["integer","null"],"description":"Highest age, inclusive. Null for no upper limit."}},"title":"AgeBand"},"Applicability":{"type":"object","properties":{"network_tier":{"type":["string","null"],"description":"The provider network the rule applies to."},"facility_type":{"type":["string","null"],"description":"The type of facility the rule applies to, such as a hospital or clinic."},"beneficiary_type":{"type":["string","null"],"description":"The type of member the rule applies to, such as an adult or child."},"age_band":{"$ref":"#/components/schemas/AgeBand","description":"The ages the rule applies to."},"region":{"type":["string","null"],"description":"The region the rule applies to."}},"title":"Applicability"},"Qualifier":{"type":"object","properties":{"kind":{"type":"string","description":"What the qualifier limits, such as procedures or facilities."},"id":{"type":"string","description":"Identifier of the qualifier."},"display":{"type":["string","null"],"description":"Display name of the qualifier."}},"required":["kind","id"],"title":"Qualifier"},"Pool":{"type":"object","properties":{"key":{"type":["string","null"],"description":"Identifier of the pool."},"display":{"type":"string","description":"Display name of the pool."},"kind":{"type":["string","null"],"description":"The kind of pool, for example `annual_allowance`."},"value":{"$ref":"#/components/schemas/MonetaryOrUnitValue","description":"The pool's total limit, shared by every benefit that draws on it. A benefit's own cost-share amount can be lower, as its share of the pool."}},"required":["display","value"],"title":"Pool"},"CostShareAtom":{"type":"object","properties":{"type":{"type":"string","description":"The rule type: `copay`, `coinsurance`, `deductible`, `limit`, `oop_max` or `fixed_benefit`."},"value":{"$ref":"#/components/schemas/MonetaryOrUnitValue","description":"The rule's amount."},"scope":{"$ref":"#/components/schemas/Scope","description":"What the amount is counted over."},"direction":{"type":"string","description":"Who pays the amount: `member_pays` or `plan_pays`."},"settlement":{"$ref":"#/components/schemas/Settlement","description":"How the amount is settled."},"applicability":{"$ref":"#/components/schemas/Applicability","description":"Limits the rule to certain networks, facilities, members, ages or regions. Null when it applies to the whole benefit."},"qualifiers":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Qualifier"},"description":"Further limits on the rule, such as a list of procedures or facilities."},"pool":{"$ref":"#/components/schemas/Pool","description":"The shared limit the rule draws from, when several benefits share one."},"note":{"type":["string","null"],"description":"Free-text note about the rule."}},"required":["type","value","direction","settlement"],"title":"CostShareAtom"},"Variant":{"type":"object","properties":{"key":{"type":"string","description":"Identifier of the variant within the benefit, for example `private_room`."},"label":{"type":["string","null"],"description":"Display name of the variant."},"coverage":{"$ref":"#/components/schemas/Coverage","description":"The variant's coverage. Null when it is the same as the benefit's."},"cost_share":{"type":"array","items":{"$ref":"#/components/schemas/CostShareAtom"},"description":"Cost-share rules that apply only to this variant, in the order the plan lists them."}},"required":["key","cost_share"],"title":"Variant"},"Source":{"type":"object","properties":{"document_url":{"type":["string","null"],"description":"URL of the source document."},"excerpt":{"type":["string","null"],"description":"The text in the source document that supports the benefit's details."},"verified_at":{"type":["string","null"],"format":"date-time","description":"When the details were last checked against the source."},"confidence":{"type":["string","null"],"description":"How confident Kota is in the details: `high`, `medium` or `low`."}},"title":"Source"},"LocalizedName":{"type":"object","properties":{"locale":{"type":"string","description":"BCP 47 language tag, for example `en-IE`."},"value":{"type":"string","description":"The name in that language."}},"required":["locale","value"],"title":"LocalizedName"},"Taxonomy":{"type":"object","properties":{"code":{"type":"string","description":"Code of the benefit type, for example `kota:gp_visit`."},"category":{"type":["string","null"],"description":"Code of the benefit type's category, for example `kota:outpatient`."},"version":{"type":["string","null"],"description":"Taxonomy version of the entry, as `yyyy-MM-dd`."},"display_names":{"type":"array","items":{"$ref":"#/components/schemas/LocalizedName"},"description":"Name of the benefit type in each available language."}},"required":["code","display_names"],"title":"Taxonomy"},"Condition":{"type":"object","properties":{"type":{"type":"string","description":"The condition type, such as `waiting_period`, `pre_authorisation_required`, `referral_required` or `medical_necessity_review`."},"value":{"description":"For `waiting_period`, an object with `amount` and `unit`. For the other types, `true`."},"applies_to":{"type":["string","null"],"description":"The part of the benefit the condition applies to, for example `maternity`. Null when it applies to the whole benefit."}},"required":["type"],"title":"Condition"},"PlanBenefit":{"type":"object","properties":{"id":{"type":"string","pattern":"ben_.+","description":"Unique identifier for the plan benefit. Prefixed with `ben_`."},"plan_id":{"type":"string","pattern":"pl_.+","description":"Identifier of the plan the benefit belongs to. Prefixed with `pl_`."},"benefit":{"$ref":"#/components/schemas/BenefitRef","description":"The standard benefit type, which identifies the same benefit across plans and providers."},"coverage":{"$ref":"#/components/schemas/Coverage","description":"Whether the benefit is covered."},"cost_share":{"type":"array","items":{"$ref":"#/components/schemas/CostShareAtom"},"description":"The benefit's cost-share rules, such as a copay or an annual limit, in the order the plan lists them."},"variants":{"type":"array","items":{"$ref":"#/components/schemas/Variant"},"description":"Variants of the benefit, such as a private or public hospital, each with its own coverage and cost-share rules."},"source":{"$ref":"#/components/schemas/Source","description":"Where the benefit's details come from. Null when not recorded."},"taxonomy":{"$ref":"#/components/schemas/Taxonomy","description":"The benefit's taxonomy entry. Only present when `expand[]=taxonomy` is requested."},"conditions":{"type":"array","items":{"$ref":"#/components/schemas/Condition"},"description":"Conditions the member must meet to use the benefit, such as a waiting period or a referral."},"extensions":{"type":["object","null"],"additionalProperties":{"$ref":"#/components/schemas/JsonNode"},"description":"Extra fields with no standard equivalent. Only present when there are any."},"object":{"type":"string","description":"Object type. Always `plan_benefit`."}},"required":["id","plan_id","benefit","coverage","cost_share","variants"],"title":"PlanBenefit"},"DisplayGuidance":{"type":"string","enum":["nested","flat"],"title":"DisplayGuidance"},"PlanBenefitsConfiguration":{"type":"object","properties":{"display_guidance":{"$ref":"#/components/schemas/DisplayGuidance","description":"How benefits should be displayed. Either `nested` or `flat`."}},"required":["display_guidance"],"title":"PlanBenefitsConfiguration"},"PlanBenefitsPage":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/PlanBenefit"},"description":"A paginated array containing the response elements"},"page":{"type":"integer","description":"The current page of the results"},"page_size":{"type":"integer","description":"The number of results on this page. This can be different from the requested page size if the total number of results is less than the requested page size"},"total_count":{"type":"integer","description":"The total number of elements available in the response. This is the total number of elements available across all pages, not just the current page."},"has_next_page":{"type":"boolean","description":"Whether there are more pages available after this page"},"has_previous_page":{"type":"boolean","description":"Whether there are more pages available before this page"},"configuration":{"$ref":"#/components/schemas/PlanBenefitsConfiguration","description":"How to display the plan's benefits."}},"required":["items","page","page_size","total_count","configuration"],"title":"PlanBenefitsPage"},"TaxonomyBenefit":{"type":"object","properties":{"code":{"type":"string","description":"Code of the benefit type, for example `kota:gp_visit`. Plan benefits refer to it in `benefit.code`."},"slug":{"type":"string","description":"URL-friendly identifier, for example `gp-visit`."},"namespace":{"type":"string","description":"Namespace of the code, for example `kota`, `insurer:vhi` or `local:ie`."},"category":{"type":["string","null"],"description":"Code of the benefit type's category, for example `kota:outpatient`."},"version":{"type":["string","null"],"description":"Taxonomy version the entry was served from, as `yyyy-MM-dd`."},"display_names":{"type":"array","items":{"$ref":"#/components/schemas/LocalizedName"},"description":"Name of the benefit type in each available language."},"definition":{"type":["string","null"],"description":"Plain-language definition of the benefit type."},"extensions":{"type":["object","null"],"additionalProperties":{"$ref":"#/components/schemas/JsonNode"},"description":"Extra fields with no standard equivalent. Only present when there are any."},"object":{"type":"string","description":"Object type. Always `taxonomy_benefit`."}},"required":["code","slug","namespace","display_names"],"title":"TaxonomyBenefit"},"TaxonomyBenefitPagedList":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/TaxonomyBenefit"},"description":"A paginated array containing the response elements"},"page":{"type":"integer","description":"The current page of the results"},"page_size":{"type":"integer","description":"The number of results on this page. This can be different from the requested page size if the total number of results is less than the requested page size"},"total_count":{"type":"integer","description":"The total number of elements available in the response. This is the total number of elements available across all pages, not just the current page."},"has_next_page":{"type":"boolean","description":"Whether there are more pages available after this page"},"has_previous_page":{"type":"boolean","description":"Whether there are more pages available before this page"}},"required":["items","page","page_size","total_count"],"title":"TaxonomyBenefitPagedList"},"TaxonomyCategory":{"type":"object","properties":{"code":{"type":"string","description":"Code of the category, for example `kota:outpatient`."},"slug":{"type":"string","description":"URL-friendly identifier, for example `outpatient`."},"name":{"type":"string","description":"Display name of the category."},"display_names":{"type":"array","items":{"$ref":"#/components/schemas/LocalizedName"},"description":"Name of the category in each available language. Pick the entry that matches your locale, and use `name` when none does."},"definition":{"type":["string","null"],"description":"Plain-language definition of the category."},"parent_category":{"type":["string","null"],"description":"Code of the parent category. Null for a top-level category."},"object":{"type":"string","description":"Object type. Always `taxonomy_category`."}},"required":["code","slug","name"],"title":"TaxonomyCategory"},"TaxonomyCategoryPagedList":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/TaxonomyCategory"},"description":"A paginated array containing the response elements"},"page":{"type":"integer","description":"The current page of the results"},"page_size":{"type":"integer","description":"The number of results on this page. This can be different from the requested page size if the total number of results is less than the requested page size"},"total_count":{"type":"integer","description":"The total number of elements available in the response. This is the total number of elements available across all pages, not just the current page."},"has_next_page":{"type":"boolean","description":"Whether there are more pages available after this page"},"has_previous_page":{"type":"boolean","description":"Whether there are more pages available before this page"}},"required":["items","page","page_size","total_count"],"title":"TaxonomyCategoryPagedList"},"CountryCodeEnumParameter":{"type":"string","enum":["af","ax","al","dz","as","ad","ao","ai","aq","ag","ar","am","aw","au","at","az","bs","bh","bd","bb","by","be","bz","bj","bm","bt","bo","bq","ba","bw","bv","br","io","bn","bg","bf","bi","cv","kh","cm","ca","ky","cf","td","cl","cn","cx","cc","co","km","cg","cd","ck","cr","ci","hr","cu","cw","cy","cz","dk","dj","dm","do","ec","eg","sv","gq","er","ee","sz","et","fk","fo","fj","fi","fr","gf","pf","tf","ga","gm","ge","de","gh","gi","gr","gl","gd","gp","gu","gt","gg","gn","gw","gy","ht","hm","va","hn","hk","hu","is","in","id","ir","iq","ie","im","il","it","jm","jp","je","jo","kz","ke","ki","kp","kr","xk","kw","kg","la","lv","lb","ls","lr","ly","li","lt","lu","mo","mg","mw","my","mv","ml","mt","mh","mq","mr","mu","yt","mx","fm","md","mc","mn","me","ms","ma","mz","mm","na","nr","np","nl","nc","nz","ni","ne","ng","nu","nf","mk","mp","no","om","pk","pw","ps","pa","pg","py","pe","ph","pn","pl","pt","pr","qa","re","ro","ru","rw","bl","sh","kn","lc","mf","pm","vc","ws","sm","st","sa","sn","rs","sc","sl","sg","sx","sk","si","sb","so","za","gs","ss","es","lk","sd","sr","sj","se","ch","sy","tw","tj","tz","th","tl","tg","tk","to","tt","tn","tr","tm","tc","tv","ug","ua","ae","gb","um","us","uy","uz","vu","ve","vn","vg","vi","wf","eh","ye","zm","zw"],"title":"CountryCodeEnumParameter"},"PlanSortByEnumParameter":{"type":"string","enum":["premium"],"title":"PlanSortByEnumParameter"},"SortDirectionEnumParameter":{"type":"string","enum":["asc","desc"],"title":"SortDirectionEnumParameter"},"EmployeeEligibilityCriterionType":{"type":"string","enum":["age_range"],"title":"EmployeeEligibilityCriterionType"},"AgeRangeDetails":{"type":"object","properties":{"min":{"type":["integer","null"],"description":"Minimum age required."},"max":{"type":["integer","null"],"description":"Maximum age allowed."}},"title":"AgeRangeDetails"},"EmployeeEligibilityCriterionResponse":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/EmployeeEligibilityCriterionType","description":"The type of eligibility criterion."},"description":{"type":"string","description":"Human-readable description of the criterion."},"age_range":{"$ref":"#/components/schemas/AgeRangeDetails","description":"Age range constraints. Only populated when type is `age_range`."}},"required":["type","description"],"title":"EmployeeEligibilityCriterionResponse"},"InsuranceType":{"type":"string","enum":["international","local"],"title":"InsuranceType"},"CostSharingOption":{"type":"string","enum":["percentage","fixed_amount","member_count","policyholder_only","member_selection","member_selection_percentage_based","family_type","full_coverage","pooled_member_count"],"title":"CostSharingOption"},"PercentageCostSharingRestrictions":{"type":"object","properties":{"minimum_percentage":{"type":"integer","description":"Minimum percentage of the percentage"},"maximum_percentage":{"type":"integer","description":"Maximum percentage of the percentage"}},"title":"PercentageCostSharingRestrictions"},"MemberSelectionPercentageBasedCostSharingRestrictions":{"type":"object","properties":{"minimum_percentage":{"type":"integer","description":"Minimum percentage of the member selection percentage based"},"maximum_percentage":{"type":"integer","description":"Maximum percentage of the member selection percentage based"}},"title":"MemberSelectionPercentageBasedCostSharingRestrictions"},"CostSharingRestrictions":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/CostSharingOption","description":"The type of cost sharing this restriction applies to"},"percentage":{"$ref":"#/components/schemas/PercentageCostSharingRestrictions","description":"Restrictions applied to 'percentage' type cost sharing"},"member_selection_percentage_based":{"$ref":"#/components/schemas/MemberSelectionPercentageBasedCostSharingRestrictions","description":"Restrictions applied to 'member_selection_percentage_based' type cost sharing"}},"required":["type"],"title":"CostSharingRestrictions"},"MemberType":{"type":"string","enum":["policyholder","spouse","partner","adult_dependant","child"],"title":"MemberType"},"PlanHealthInsuranceResponse":{"type":"object","properties":{"health_insurance_type":{"$ref":"#/components/schemas/InsuranceType","description":"Whether this is an international or local insurance plan."},"supported_cost_sharing_options":{"type":"array","items":{"$ref":"#/components/schemas/CostSharingOption"},"description":"Cost sharing options supported by this plan."},"supported_cost_sharing_restrictions":{"type":"array","items":{"$ref":"#/components/schemas/CostSharingRestrictions"},"description":"Cost sharing restrictions, this helps you figure out the possible minimums / maximums that can be covered."},"supported_member_types":{"type":"array","items":{"$ref":"#/components/schemas/MemberType"},"description":"Member types supported by this plan."},"pricing":{"$ref":"#/components/schemas/HealthPlanPricingResponse","description":"Pricing information for the plan."}},"required":["health_insurance_type","supported_cost_sharing_options","supported_cost_sharing_restrictions","supported_member_types","pricing"],"title":"PlanHealthInsuranceResponse"},"PlanLifeAssuranceResponse":{"type":"object","properties":{"life_assurance_type":{"$ref":"#/components/schemas/InsuranceType","description":"Whether this is an international or local assurance plan."},"supported_cost_sharing_options":{"type":"array","items":{"$ref":"#/components/schemas/CostSharingOption"},"description":"Cost sharing options supported by this plan."},"supported_cost_sharing_restrictions":{"type":"array","items":{"$ref":"#/components/schemas/CostSharingRestrictions"},"description":"Cost sharing restrictions, this helps you figure out the possible minimums / maximums that can be covered."}},"required":["life_assurance_type","supported_cost_sharing_options","supported_cost_sharing_restrictions"],"title":"PlanLifeAssuranceResponse"},"IndicativePricingResponse":{"type":"object","properties":{"currency":{"$ref":"#/components/schemas/CurrencyCode","description":"Currency used for both average monthly guide prices."},"adult_monthly_premium":{"type":["number","null"],"format":"double","description":"Average monthly guide price for an adult. The actual premium may be higher or lower based on the whole policy and this value must not be used in premium calculations."},"child_monthly_premium":{"type":["number","null"],"format":"double","description":"Average monthly guide price for a child. The actual premium may be higher or lower based on the whole policy and this value must not be used in premium calculations."}},"title":"IndicativePricingResponse"},"PlanResponse":{"type":"object","properties":{"object":{"type":"string","description":"Object type. Always `plan`."},"id":{"type":"string","pattern":"pl_.+","description":"Unique identifier for the plan. Prefixed with `pl_`."},"type":{"$ref":"#/components/schemas/BenefitType","description":"The benefit type of the plan."},"name":{"type":"string","description":"The name of the plan."},"description":{"type":"string","description":"Description of the plan."},"country":{"$ref":"#/components/schemas/CountryCode","description":"The country this plan is available in."},"provider":{"$ref":"#/components/schemas/PlanProviderResponse","description":"The provider offering this plan."},"documents":{"type":"array","items":{"$ref":"#/components/schemas/PlanDocumentResponse"},"description":"List of plan documents (e.g., IPIDs, T&Cs)."},"employer_eligibility_criteria":{"type":"array","items":{"$ref":"#/components/schemas/EmployerEligibilityCriterionResponse"},"description":"Eligibility criteria that employers must meet."},"employee_eligibility_criteria":{"type":"array","items":{"$ref":"#/components/schemas/EmployeeEligibilityCriterionResponse"},"description":"Eligibility criteria that employees must meet."},"health_insurance":{"$ref":"#/components/schemas/PlanHealthInsuranceResponse","description":"Health insurance-specific details. Only populated when type is `health_insurance`."},"life_assurance":{"$ref":"#/components/schemas/PlanLifeAssuranceResponse","description":"Life assurance-specific details. Only populated when type is `life_assurance`."},"indicative_pricing":{"$ref":"#/components/schemas/IndicativePricingResponse","description":"Average monthly guide prices used when exact catalog pricing is unavailable. Actual premiums may be higher or lower based on the whole policy; these values are for comparison only and must not be used in premium calculations."},"disclosures":{"type":"array","items":{"$ref":"#/components/schemas/DisclosureResponse"},"description":"Disclosures associated with this plan."},"available_from":{"type":"string","format":"date","description":"The date from which this plan is available (inclusive)."},"available_to":{"type":["string","null"],"format":"date","description":"The date until which this plan is available (inclusive). Null if the plan has no end date."},"coverage_options":{"type":["array","null"],"items":{"$ref":"#/components/schemas/PlanCoverageResponse"},"description":"Coverage options available for this plan, organized by scope and input type."},"eligible_count":{"type":["integer","null"],"description":"Number of employees in the queried group eligible for this plan as-of `start_date`. Only present when both `group_id` and `start_date` query parameters are provided."},"ineligible_count":{"type":["integer","null"],"description":"Number of employees in the queried group ineligible for this plan as-of `start_date`. Only present when both `group_id` and `start_date` query parameters are provided."},"total_count":{"type":["integer","null"],"description":"Total employees in the queried group. Only present when both `group_id` and `start_date` query parameters are provided."}},"required":["id","type","name","description","country","provider","documents","employer_eligibility_criteria","employee_eligibility_criteria","disclosures","available_from"],"title":"PlanResponse"},"PlanResponsePagedList":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/PlanResponse"},"description":"A paginated array containing the response elements"},"page":{"type":"integer","description":"The current page of the results"},"page_size":{"type":"integer","description":"The number of results on this page. This can be different from the requested page size if the total number of results is less than the requested page size"},"total_count":{"type":"integer","description":"The total number of elements available in the response. This is the total number of elements available across all pages, not just the current page."},"has_next_page":{"type":"boolean","description":"Whether there are more pages available after this page"},"has_previous_page":{"type":"boolean","description":"Whether there are more pages available before this page"}},"required":["items","page","page_size","total_count"],"title":"PlanResponsePagedList"},"BundlingType":{"type":"string","enum":["not_bundled","bundled_primary","bundled_secondary"],"title":"BundlingType"},"PolicyStatus":{"type":"string","enum":["scheduled","active","expired","cancelled"],"title":"PolicyStatus"},"HealthInsurancePolicyGrossEstimationAmountResponse":{"type":"object","properties":{"employee_contribution":{"type":"number","format":"double","description":"Estimated gross premium amount deducted from employee payroll"},"employer_contribution":{"type":"number","format":"double","description":"Estimated gross premium amount paid by the employer"},"total":{"type":"number","format":"double","description":"Total gross premium amount (sum of employee and employer contributions)."}},"required":["employee_contribution","employer_contribution","total"],"title":"HealthInsurancePolicyGrossEstimationAmountResponse"},"HealthInsurancePolicyEstimatedGrossPremiumResponse":{"type":"object","properties":{"currency":{"$ref":"#/components/schemas/CurrencyCode","description":"Three-letter currency code (e.g., \"EUR\", \"USD\", \"GBP\") for all monetary amounts in this object."},"monthly":{"$ref":"#/components/schemas/HealthInsurancePolicyGrossEstimationAmountResponse","description":"Estimated monthly gross premium amounts representing regular monthly charges."},"term":{"$ref":"#/components/schemas/HealthInsurancePolicyGrossEstimationAmountResponse","description":"Estimated total gross premium amounts for the complete policy term from start date to renewal date. Note: These amounts reflect the full policy term and do not adjust for early cancellation."}},"required":["currency","monthly","term"],"title":"HealthInsurancePolicyEstimatedGrossPremiumResponse"},"PolicyMemberResponse":{"type":"object","properties":{"id":{"type":"string","pattern":"pm_.+","description":"Unique identifier for the policy member. Prefixed with `pm_`."},"member_number":{"type":["string","null"],"description":"Provider-issued member number, null if not issues yet"},"first_name":{"type":"string","description":"First name of the member"},"last_name":{"type":"string","description":"Last name of the member"},"date_of_birth":{"type":"string","format":"date","description":"Date of birth of the member"},"sex_at_birth":{"$ref":"#/components/schemas/SexAtBirth","description":"Sex at birth of the member"},"member_type":{"$ref":"#/components/schemas/MemberType","description":"Type of the policy member"},"associated_person_id":{"type":["string","null"],"pattern":"ap_.+","description":"Identifier of the associated person. Not present for policyholders. Prefixed with `ap_`."},"estimated_gross_premium":{"$ref":"#/components/schemas/HealthInsurancePolicyEstimatedGrossPremiumResponse","description":"This member's share of the policy's `estimated_gross_premium`. On plans priced per family, the policyholder carries the whole premium and dependents show 0. Null when the premium can't be split by member."},"coverage_start_date":{"type":["string","null"],"format":"date","description":"The first day this member is covered. Null when the provider does not track cover per member."},"coverage_end_date":{"type":["string","null"],"format":"date","description":"The last day this member is covered (inclusive). Null when the provider does not track cover per member."}},"required":["id","first_name","last_name","date_of_birth","sex_at_birth","member_type"],"title":"PolicyMemberResponse"},"HealthInsurancePolicyResponse":{"type":"object","properties":{"policy_number":{"type":["string","null"],"description":"Provider-issued policy number for health insurance"},"opt_out_deadline":{"type":"string","format":"date","description":"Deadline for opting out of the policy. Members cannot opt out after this date."},"initial_dependents_update_deadline":{"type":["string","null"],"format":"date","description":"Represents the last date to add or remove dependents during the initial adjustment period. The deadline date is inclusive (changes are allowed on that date). This value should be evaluated using the local time zone where the policy is active. Returns null when the provider doesn't support dependent modifications during the initial adjustment period."},"renewal":{"$ref":"#/components/schemas/HealthInsurancePolicyRenewalResponse","description":"Renewal information for the policy"},"dependents_supported":{"type":"boolean","description":"Whether this policy supports adding or removing dependents."},"configuration":{"$ref":"#/components/schemas/HealthInsurancePolicyConfigurationResponse","description":"How benefit costs are shared between employer and employee"},"insurer_assigns_member_numbers":{"type":"boolean","description":"Whether the insurer issues each member a member number of their own. When false, only the policyholder has a `member_number`; dependants' stay null."},"members":{"type":"array","items":{"$ref":"#/components/schemas/PolicyMemberResponse"},"description":"List of members on the health insurance policy"},"estimated_gross_premium":{"$ref":"#/components/schemas/HealthInsurancePolicyEstimatedGrossPremiumResponse","description":"Estimated gross premium amounts for this health insurance policy based on current enrollment and policy configuration. Important: These estimates are for planning purposes only and may differ from actual billed amounts due to life events, policy changes, insurer billing practices, or timing adjustments. For accurate payroll amounts, use the Contribution Reporting API."}},"required":["opt_out_deadline","initial_dependents_update_deadline","renewal","dependents_supported","configuration","insurer_assigns_member_numbers","members","estimated_gross_premium"],"title":"HealthInsurancePolicyResponse"},"LifeAssurancePolicyConfigurationResponse":{"type":"object","properties":{"cost_sharing":{"$ref":"#/components/schemas/CostSharingConfigurationResponse","description":"Defines how the policy total cost is shared between employer and employee. A life assurance policy only ever carries `policyholder_only` or `percentage`."}},"required":["cost_sharing"],"title":"LifeAssurancePolicyConfigurationResponse"},"LifeAssurancePolicyGrossEstimationAmountResponse":{"type":"object","properties":{"employee_contribution":{"type":"number","format":"double","description":"Estimated gross premium amount deducted from employee payroll"},"employer_contribution":{"type":"number","format":"double","description":"Estimated gross premium amount paid by the employer"},"total":{"type":"number","format":"double","description":"Total gross premium amount (sum of employee and employer contributions)."}},"required":["employee_contribution","employer_contribution","total"],"title":"LifeAssurancePolicyGrossEstimationAmountResponse"},"LifeAssurancePolicyEstimatedGrossPremiumResponse":{"type":"object","properties":{"currency":{"$ref":"#/components/schemas/CurrencyCode","description":"Three-letter currency code (e.g., \"EUR\", \"USD\", \"GBP\") for all monetary amounts in this object."},"monthly":{"$ref":"#/components/schemas/LifeAssurancePolicyGrossEstimationAmountResponse","description":"Estimated monthly gross premium amounts representing regular monthly charges."},"term":{"$ref":"#/components/schemas/LifeAssurancePolicyGrossEstimationAmountResponse","description":"Estimated total gross premium amounts for the complete policy term from start date to renewal date. Note: These amounts reflect the full policy term and do not adjust for early cancellation."}},"required":["currency","monthly","term"],"title":"LifeAssurancePolicyEstimatedGrossPremiumResponse"},"LifeAssurancePolicyResponse":{"type":"object","properties":{"policy_number":{"type":["string","null"],"description":"Provider-issued policy number for life assurance"},"opt_out_deadline":{"type":"string","format":"date","description":"Deadline for opting out of the policy. Members cannot opt out after this date."},"renewal":{"$ref":"#/components/schemas/LifeAssurancePolicyRenewalResponse","description":"Renewal information for the policy"},"configuration":{"$ref":"#/components/schemas/LifeAssurancePolicyConfigurationResponse","description":"How benefit costs are shared between employer and employee"},"estimated_gross_premium":{"$ref":"#/components/schemas/LifeAssurancePolicyEstimatedGrossPremiumResponse","description":"Estimated gross premium amounts for this life assurance policy based on current enrollment and policy configuration. Important: These estimates are for planning purposes only and may differ from actual billed amounts due to life events, policy changes, insurer billing practices, or timing adjustments. For accurate payroll amounts, use the Contribution Reporting API."}},"required":["opt_out_deadline","renewal","configuration","estimated_gross_premium"],"title":"LifeAssurancePolicyResponse"},"PolicyResponse":{"type":"object","properties":{"id":{"type":"string","pattern":"p_.+","description":"Unique identifier for the policy. Prefixed with `p_`."},"employee_id":{"type":"string","pattern":"ee_.+","description":"Identifier of the employee associated with this policy. Prefixed with `ee_`."},"group_policy_id":{"type":"string","pattern":"gp_.+","description":"Identifier of the group policy id associated with this policy. Prefixed with `gp_`."},"bundling_type":{"$ref":"#/components/schemas/BundlingType","description":"Indicates how this policy is bundled within a group"},"status":{"$ref":"#/components/schemas/PolicyStatus","description":"Current lifecycle state of the policy"},"group_id":{"type":"string","pattern":"gr_.+","description":"Identifier of the group associated with this policy. Prefixed with `gr_`."},"provider":{"$ref":"#/components/schemas/PolicyProviderResponse","description":"Provider information for this policy"},"plan":{"$ref":"#/components/schemas/PolicyPlanResponse","description":"Plan information for this policy"},"start_date":{"type":"string","format":"date","description":"Policy start (effective) date in ISO 8601 (YYYY-MM-DD)"},"end_date":{"type":["string","null"],"format":"date","description":"Policy end date (inclusive) in ISO 8601, or null if open-ended"},"cancellation_date":{"type":["string","null"],"format":"date","description":"Date the policy was cancelled (if applicable)"},"opted_out_at":{"type":["string","null"],"format":"date-time","description":"UTC timestamp of the moment the member opted out of this policy during the cooling-off window. Null when the policy is still running, and null when it ended any other way — an administrator cancelling it, the employee being offboarded, or the term expiring — even though those also set `cancellation_date`. Providers that only record the calendar day of an opt-out report midnight UTC."},"type":{"$ref":"#/components/schemas/PolicyType","description":"Policy type. Determines which sub-object is populated."},"health_insurance":{"$ref":"#/components/schemas/HealthInsurancePolicyResponse","description":"Health insurance–specific fields (present when `type=health_insurance`)"},"life_assurance":{"$ref":"#/components/schemas/LifeAssurancePolicyResponse","description":"Life assurance–specific fields (present when `type=life_assurance`). Carries no member list: life cover is policyholder-only."},"disclosures":{"type":"array","items":{"$ref":"#/components/schemas/DisclosureResponse"},"description":"Disclosures associated with this policy."},"object":{"type":"string","description":"Object type"}},"required":["id","employee_id","group_policy_id","bundling_type","status","group_id","provider","plan","start_date","type","disclosures"],"title":"PolicyResponse"},"PolicyResponsePagedList":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/PolicyResponse"},"description":"A paginated array containing the response elements"},"page":{"type":"integer","description":"The current page of the results"},"page_size":{"type":"integer","description":"The number of results on this page. This can be different from the requested page size if the total number of results is less than the requested page size"},"total_count":{"type":"integer","description":"The total number of elements available in the response. This is the total number of elements available across all pages, not just the current page."},"has_next_page":{"type":"boolean","description":"Whether there are more pages available after this page"},"has_previous_page":{"type":"boolean","description":"Whether there are more pages available before this page"}},"required":["items","page","page_size","total_count"],"title":"PolicyResponsePagedList"},"PolicyAmendmentIntentStatus":{"type":"string","enum":["action_required","awaiting_quote","pending_confirmation","processing","amended","processing_error","not_undertaken"],"title":"PolicyAmendmentIntentStatus"},"AmendmentReasonType":{"type":"string","enum":["initial_adjustment_period","qualifying_life_event"],"title":"AmendmentReasonType"},"QualifyingLifeEventType":{"type":"string","enum":["gained_other_insurance_coverage","divorce_or_legal_separation","death_of_spouse_or_dependent","moved_out_of_coverage_area","employment_status_change_affecting_eligibility","eligible_for_government_program","marriage_or_civil_partnership","birth_of_child","adoption_of_child","gained_legal_guardianship","dependent_lost_other_coverage","lost_legal_guardianship","dependent_gained_other_coverage","dependent_eligible_for_government_program","dependent_aged_out","dependent_student_status_change_affecting_eligibility","dependent_moved_in_or_out_of_coverage_area","other_change"],"title":"QualifyingLifeEventType"},"PolicyAmendmentQualifyingLifeEventResponse":{"type":"object","properties":{"event":{"$ref":"#/components/schemas/QualifyingLifeEventType","description":"The type of qualifying life event."},"event_date":{"type":"string","format":"date","description":"The date when the qualifying life event occurred."},"reason":{"type":["string","null"],"description":"Additional reason or description for the qualifying life event."}},"required":["event","event_date"],"title":"PolicyAmendmentQualifyingLifeEventResponse"},"PolicyAmendmentReasonResponse":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/AmendmentReasonType","description":"Unique identifier of the amendment reason type."},"qualifying_life_event":{"$ref":"#/components/schemas/PolicyAmendmentQualifyingLifeEventResponse","description":"Details when `type` is `qualifying_life_event`."}},"required":["type"],"title":"PolicyAmendmentReasonResponse"},"RequestedChangeType":{"type":"string","enum":["dependents","cancellation"],"title":"RequestedChangeType"},"PolicyAmendmentRequestedChangeResponse":{"type":"object","properties":{"change_type":{"$ref":"#/components/schemas/RequestedChangeType","description":"The type of change requested."}},"required":["change_type"],"title":"PolicyAmendmentRequestedChangeResponse"},"PolicyAmendmentActionCode":{"type":"string","enum":["provide_dependents_information"],"title":"PolicyAmendmentActionCode"},"PolicyAmendmentDependentsResponse":{"type":"object","properties":{"dependents_management_intent_id":{"type":["string","null"],"pattern":"dmi_.+","description":"Unique identifier for the dependents management intent. Prefixed with `dmi_`. Null if not yet created."},"status":{"$ref":"#/components/schemas/DependentsManagementIntentStatus","description":"The status of the dependents management process. Null if not yet started."}},"title":"PolicyAmendmentDependentsResponse"},"PolicyAmendmentAssociatedPersonsResponse":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/AssociatedPersonType","description":"The type of associated person."},"dependents":{"$ref":"#/components/schemas/PolicyAmendmentDependentsResponse","description":"Dependents-specific information if type is 'dependents'."}},"required":["type"],"title":"PolicyAmendmentAssociatedPersonsResponse"},"PolicyAmendmentRequiredActionResponse":{"type":"object","properties":{"code":{"$ref":"#/components/schemas/PolicyAmendmentActionCode","description":"The action code indicating what action is required."},"reason":{"type":"string","description":"Brief reason for the required action."},"reason_description":{"type":"string","description":"Detailed description of the required action."},"due_by":{"type":"string","format":"date","description":"The deadline by which the action must be completed. The day is included (i.e. the action can be completed any time during this day in the user's local time)."},"associated_persons":{"$ref":"#/components/schemas/PolicyAmendmentAssociatedPersonsResponse","description":"Information about associated persons related to this action."}},"required":["code","reason","reason_description","due_by","associated_persons"],"title":"PolicyAmendmentRequiredActionResponse"},"PolicyAmendmentIntentConfirmationCode":{"type":"string","enum":["confirm_quote","confirm_opt_out","confirm_qle"],"title":"PolicyAmendmentIntentConfirmationCode"},"PolicyAmendmentQuoteAmountResponse":{"type":"object","properties":{"net":{"type":"number","format":"double","description":"Net amount before tax."},"tax":{"type":"number","format":"double","description":"Tax amount."},"gross":{"type":"number","format":"double","description":"Gross amount (net + tax)."}},"required":["net","tax","gross"],"title":"PolicyAmendmentQuoteAmountResponse"},"PolicyAmendmentQuoteContributionsResponse":{"type":"object","properties":{"employee_contribution":{"$ref":"#/components/schemas/PolicyAmendmentQuoteAmountResponse","description":"Employee contribution amounts."},"employer_contribution":{"$ref":"#/components/schemas/PolicyAmendmentQuoteAmountResponse","description":"Employer contribution amounts."},"total":{"$ref":"#/components/schemas/PolicyAmendmentQuoteAmountResponse","description":"Total contribution amounts (sum of employee and employer)."}},"required":["employee_contribution","employer_contribution","total"],"title":"PolicyAmendmentQuoteContributionsResponse"},"PolicyAmendmentQuoteResponse":{"type":"object","properties":{"currency":{"type":"string","description":"Three-letter currency code (e.g., \"EUR\", \"USD\", \"GBP\") for all monetary amounts in this quote."},"monthly":{"$ref":"#/components/schemas/PolicyAmendmentQuoteContributionsResponse","description":"Monthly contribution breakdown for the policy amendment."},"term":{"$ref":"#/components/schemas/PolicyAmendmentQuoteContributionsResponse","description":"Total term contribution breakdown for the policy amendment."}},"required":["currency","monthly","term"],"title":"PolicyAmendmentQuoteResponse"},"PolicyAmendmentPendingConfirmationResponse":{"type":"object","properties":{"code":{"$ref":"#/components/schemas/PolicyAmendmentIntentConfirmationCode","description":"The confirmation code indicating what confirmation is pending."},"reason":{"type":"string","description":"Brief reason for the pending confirmation."},"reason_description":{"type":"string","description":"Detailed description of the pending confirmation."},"due_by":{"type":"string","format":"date","description":"The deadline by which the confirmation must be provided."},"quote":{"$ref":"#/components/schemas/PolicyAmendmentQuoteResponse","description":"The quote details for the policy amendment."},"associated_persons":{"$ref":"#/components/schemas/PolicyAmendmentAssociatedPersonsResponse","description":"Information about associated persons related to this pending confirmation."}},"required":["code","reason","reason_description","due_by"],"title":"PolicyAmendmentPendingConfirmationResponse"},"PolicyAmendmentIntentFailureCode":{"type":"string","enum":["provider_rejected","unable_to_quote"],"title":"PolicyAmendmentIntentFailureCode"},"PolicyAmendmentProcessingErrorResponse":{"type":"object","properties":{"code":{"$ref":"#/components/schemas/PolicyAmendmentIntentFailureCode","description":"The error code indicating why processing failed."},"reason":{"type":"string","description":"Brief reason for the processing error."},"reason_description":{"type":"string","description":"Detailed description of the processing error."}},"required":["code","reason","reason_description"],"title":"PolicyAmendmentProcessingErrorResponse"},"PolicyAmendmentIntentResponse":{"type":"object","properties":{"id":{"type":"string","pattern":"pai_.+","description":"Unique identifier for the policy amendment intent. Prefixed with `pai_`."},"object":{"type":"string","description":"Object type identifier."},"policy_id":{"type":"string","pattern":"p_.+","description":"The policy ID for which the amendment is requested. Prefixed with `p_`."},"status":{"$ref":"#/components/schemas/PolicyAmendmentIntentStatus","description":"Current status of the policy amendment intent."},"amendment_reason":{"$ref":"#/components/schemas/PolicyAmendmentReasonResponse","description":"The reason for the policy amendment."},"requested_changes":{"type":"array","items":{"$ref":"#/components/schemas/PolicyAmendmentRequestedChangeResponse"},"description":"List of requested changes to the policy."},"required_action":{"$ref":"#/components/schemas/PolicyAmendmentRequiredActionResponse","description":"Information about the required action if the intent status is `action_required`."},"pending_confirmation":{"$ref":"#/components/schemas/PolicyAmendmentPendingConfirmationResponse","description":"Information about the pending confirmation if the intent status is `pending_confirmation`."},"processing_error":{"$ref":"#/components/schemas/PolicyAmendmentProcessingErrorResponse","description":"Information about the processing error if the intent status is `processing_error`."},"disclosures":{"type":"array","items":{"$ref":"#/components/schemas/DisclosureResponse"},"description":"Disclosures associated with this intent."}},"required":["id","policy_id","status","amendment_reason","requested_changes","disclosures"],"title":"PolicyAmendmentIntentResponse"},"PolicyAmendmentIntentResponsePagedList":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/PolicyAmendmentIntentResponse"},"description":"A paginated array containing the response elements"},"page":{"type":"integer","description":"The current page of the results"},"page_size":{"type":"integer","description":"The number of results on this page. This can be different from the requested page size if the total number of results is less than the requested page size"},"total_count":{"type":"integer","description":"The total number of elements available in the response. This is the total number of elements available across all pages, not just the current page."},"has_next_page":{"type":"boolean","description":"Whether there are more pages available after this page"},"has_previous_page":{"type":"boolean","description":"Whether there are more pages available before this page"}},"required":["items","page","page_size","total_count"],"title":"PolicyAmendmentIntentResponsePagedList"},"QualifyingLifeEventSupplementalInfo":{"type":"object","properties":{"event":{"$ref":"#/components/schemas/QualifyingLifeEventType","description":"The type of qualifying life event requested."},"event_date":{"type":"string","format":"date","description":"The date at which the event occured. Note: This date must be within provider guidelines, where the date is outside of those guidelines the amendment may be rejected or the effective date of the change could be amended by the provider."},"reason":{"type":["string","null"],"description":"A free text reason of the qualifying life event. Note: This will be shared with the insurance provider in lieu of `event` when its set to `other_change`."}},"required":["event","event_date"],"title":"QualifyingLifeEventSupplementalInfo"},"PolicyAmendmentReasonRequest":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/AmendmentReasonType","description":"The type of amendment reason."},"qualifying_life_event":{"$ref":"#/components/schemas/QualifyingLifeEventSupplementalInfo","description":"Supplemental information required for qualifying life event amendments."}},"required":["type"],"title":"PolicyAmendmentReasonRequest"},"PolicyAmendmentRequestedChangeRequest":{"type":"object","properties":{"change_type":{"$ref":"#/components/schemas/RequestedChangeType","description":"The type of change requested."}},"required":["change_type"],"title":"PolicyAmendmentRequestedChangeRequest"},"CreatePolicyAmendmentIntentRequest":{"type":"object","properties":{"amendment_reason":{"$ref":"#/components/schemas/PolicyAmendmentReasonRequest","description":"The reason for the policy amendment."},"requested_changes":{"type":"array","items":{"$ref":"#/components/schemas/PolicyAmendmentRequestedChangeRequest"},"description":"List of requested changes to the policy."}},"required":["amendment_reason","requested_changes"],"title":"CreatePolicyAmendmentIntentRequest"},"CreatePolicyAmendmentIntentRequestBadRequestError":{"oneOf":[{"$ref":"#/components/schemas/HttpValidationProblemDetails"},{"$ref":"#/components/schemas/ProblemDetails"}],"title":"CreatePolicyAmendmentIntentRequestBadRequestError"},"PolicyImportIntentStatus":{"type":"string","enum":["processing","failed","success"],"title":"PolicyImportIntentStatus"},"PolicyImportIntentAssociatedPersonResponse":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Unique identifier for the associated person import."},"associated_person_id":{"type":"string","pattern":"ap_.+","description":"The associated person ID. Prefixed with `ap_`."},"member_number":{"type":["string","null"],"description":"The member number assigned by the provider for this associated person."},"start_date":{"type":["string","null"],"format":"date","description":"The start date for this associated person's coverage."},"end_date":{"type":["string","null"],"format":"date","description":"The end date for this associated person's coverage."}},"required":["id","associated_person_id"],"title":"PolicyImportIntentAssociatedPersonResponse"},"PolicyImportIntentResponse":{"type":"object","properties":{"id":{"type":"string","pattern":"pii_.+","description":"Unique identifier for the policy import intent. Prefixed with `pii_`."},"object":{"type":"string","description":"Object type identifier."},"status":{"$ref":"#/components/schemas/PolicyImportIntentStatus","description":"Current status of the policy import intent."},"employee_id":{"type":"string","pattern":"ee_.+","description":"The employee ID for the policy import. Prefixed with `ee_`."},"group_id":{"type":"string","pattern":"gr_.+","description":"The group ID for the policy import. Prefixed with `g_`."},"group_policy_id":{"type":["string","null"],"pattern":"gp_.+","description":"The group policy the policy is imported onto. Prefixed with `gp_`. Null if none was given."},"provider_policy_number":{"type":"string","description":"The provider's policy number."},"member_number":{"type":"string","description":"The member number assigned by the provider."},"policy_start_date":{"type":"string","format":"date","description":"The start date of the policy."},"policy_end_date":{"type":["string","null"],"format":"date","description":"The end date of the policy. Null if the policy has no end date, or end date is not known."},"associated_persons":{"type":"array","items":{"$ref":"#/components/schemas/PolicyImportIntentAssociatedPersonResponse"},"description":"List of associated persons linked to this policy import."}},"required":["id","status","employee_id","group_id","provider_policy_number","member_number","policy_start_date","associated_persons"],"title":"PolicyImportIntentResponse"},"PolicyImportIntentResponsePagedList":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/PolicyImportIntentResponse"},"description":"A paginated array containing the response elements"},"page":{"type":"integer","description":"The current page of the results"},"page_size":{"type":"integer","description":"The number of results on this page. This can be different from the requested page size if the total number of results is less than the requested page size"},"total_count":{"type":"integer","description":"The total number of elements available in the response. This is the total number of elements available across all pages, not just the current page."},"has_next_page":{"type":"boolean","description":"Whether there are more pages available after this page"},"has_previous_page":{"type":"boolean","description":"Whether there are more pages available before this page"}},"required":["items","page","page_size","total_count"],"title":"PolicyImportIntentResponsePagedList"},"CreatePolicyImportIntentAssociatedPersonRequest":{"type":"object","properties":{"associated_person_id":{"type":"string","pattern":"ap_.+","description":"The associated person ID. Prefixed with `ap_`."},"member_number":{"type":["string","null"],"description":"The member number assigned by the provider for this associated person."},"start_date":{"type":["string","null"],"format":"date","description":"The start date for this associated person's coverage."},"end_date":{"type":["string","null"],"format":"date","description":"The end date for this associated person's coverage."}},"required":["associated_person_id"],"title":"CreatePolicyImportIntentAssociatedPersonRequest"},"CreatePolicyImportIntentRequest":{"type":"object","properties":{"employee_id":{"type":"string","pattern":"ee_.+","description":"The employee ID for the policy import. Prefixed with `ee_`."},"group_id":{"type":"string","pattern":"gr_.+","description":"The group ID for the policy import. Prefixed with `g_`."},"group_policy_id":{"type":["string","null"],"pattern":"gp_.+","description":"The Id of a `group_policy` to which this policy belongs,Required when a group contains more than one benefit type / group policy!"},"provider_policy_number":{"type":"string","description":"The provider's policy number."},"member_number":{"type":"string","description":"The member number assigned by the provider."},"policy_start_date":{"type":"string","format":"date","description":"The start date of the policy."},"policy_end_date":{"type":["string","null"],"format":"date","description":"The end date of the policy. Leave null if the policy has no end date."},"associated_persons":{"type":["array","null"],"items":{"$ref":"#/components/schemas/CreatePolicyImportIntentAssociatedPersonRequest"},"description":"List of associated persons to be linked to this policy import."}},"required":["employee_id","group_id","provider_policy_number","member_number","policy_start_date"],"title":"CreatePolicyImportIntentRequest"},"CreatePolicyImportIntentRequestBadRequestError":{"oneOf":[{"$ref":"#/components/schemas/HttpValidationProblemDetails"},{"$ref":"#/components/schemas/ProblemDetails"}],"title":"CreatePolicyImportIntentRequestBadRequestError"},"ProviderResponse":{"type":"object","properties":{"object":{"type":"string","description":"Object type. Always `provider`."},"id":{"type":"string","pattern":"pr_.+","description":"Unique identifier for the provider. Prefixed with `pr_`."},"name":{"type":"string","description":"The name of the provider."},"description":{"type":"string","description":"Description of the provider."},"website_url":{"type":"string","description":"The provider's main website URL."},"logo_url":{"type":"string","description":"URL to the provider's logo image."},"employer_platform_url":{"type":["string","null"],"description":"URL to the employer portal/platform for this provider, if available."},"kota_hub_url":{"type":["string","null"],"description":"URL to the Kota Hub page for this platform, if configured."},"support_phone":{"type":"string","description":"Customer support phone number."},"supported_countries":{"type":"array","items":{"$ref":"#/components/schemas/CountryCode"},"description":"List of countries supported by this provider."}},"required":["id","name","description","website_url","logo_url","support_phone","supported_countries"],"title":"ProviderResponse"},"ProviderResponsePagedList":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/ProviderResponse"},"description":"A paginated array containing the response elements"},"page":{"type":"integer","description":"The current page of the results"},"page_size":{"type":"integer","description":"The number of results on this page. This can be different from the requested page size if the total number of results is less than the requested page size"},"total_count":{"type":"integer","description":"The total number of elements available in the response. This is the total number of elements available across all pages, not just the current page."},"has_next_page":{"type":"boolean","description":"Whether there are more pages available after this page"},"has_previous_page":{"type":"boolean","description":"Whether there are more pages available before this page"}},"required":["items","page","page_size","total_count"],"title":"ProviderResponsePagedList"},"EmployeeCreatedWebhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/EmployeeResponse"},"created":{"type":"string","format":"date-time"},"api_version":{"type":"string"}},"required":["id","type","platform_id","data","created","api_version"],"title":"EmployeeCreatedWebhook"},"EmployeeUpdatedWebhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/EmployeeResponse"},"created":{"type":"string","format":"date-time"},"api_version":{"type":"string"}},"required":["id","type","platform_id","data","created","api_version"],"title":"EmployeeUpdatedWebhook"},"EmployeeOffboardedWebhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/EmployeeResponse"},"created":{"type":"string","format":"date-time"},"api_version":{"type":"string"}},"required":["id","type","platform_id","data","created","api_version"],"title":"EmployeeOffboardedWebhook"},"EmployerCreatedWebhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/EmployerResponse"},"created":{"type":"string","format":"date-time"},"api_version":{"type":"string"}},"required":["id","type","platform_id","data","created","api_version"],"title":"EmployerCreatedWebhook"},"EmployerUpdatedWebhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/EmployerResponse"},"created":{"type":"string","format":"date-time"},"api_version":{"type":"string"}},"required":["id","type","platform_id","data","created","api_version"],"title":"EmployerUpdatedWebhook"},"EmployerOffboardedWebhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/EmployerResponse"},"created":{"type":"string","format":"date-time"},"api_version":{"type":"string"}},"required":["id","type","platform_id","data","created","api_version"],"title":"EmployerOffboardedWebhook"},"EmployerHealthInsuranceQuoteCreatedWebhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/EmployerHealthInsuranceQuoteResponse"},"created":{"type":"string","format":"date-time"},"api_version":{"type":"string"}},"required":["id","type","platform_id","data","created","api_version"],"title":"EmployerHealthInsuranceQuoteCreatedWebhook"},"EmployerHealthInsuranceQuoteActionRequiredWebhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/EmployerHealthInsuranceQuoteResponse"},"created":{"type":"string","format":"date-time"},"api_version":{"type":"string"}},"required":["id","type","platform_id","data","created","api_version"],"title":"EmployerHealthInsuranceQuoteActionRequiredWebhook"},"EmployerHealthInsuranceQuoteNotUndertakenWebhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/EmployerHealthInsuranceQuoteResponse"},"created":{"type":"string","format":"date-time"},"api_version":{"type":"string"}},"required":["id","type","platform_id","data","created","api_version"],"title":"EmployerHealthInsuranceQuoteNotUndertakenWebhook"},"EmployerHealthInsuranceQuoteAcceptedWebhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/EmployerHealthInsuranceQuoteResponse"},"created":{"type":"string","format":"date-time"},"api_version":{"type":"string"}},"required":["id","type","platform_id","data","created","api_version"],"title":"EmployerHealthInsuranceQuoteAcceptedWebhook"},"EmployerHealthInsuranceQuotePendingWebhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/EmployerHealthInsuranceQuoteResponse"},"created":{"type":"string","format":"date-time"},"api_version":{"type":"string"}},"required":["id","type","platform_id","data","created","api_version"],"title":"EmployerHealthInsuranceQuotePendingWebhook"},"EmployerHealthInsuranceQuotePendingInsurerAcceptanceWebhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/EmployerHealthInsuranceQuoteResponse"},"created":{"type":"string","format":"date-time"},"api_version":{"type":"string"}},"required":["id","type","platform_id","data","created","api_version"],"title":"EmployerHealthInsuranceQuotePendingInsurerAcceptanceWebhook"},"EmployeeHealthInsuranceOfferActionRequiredWebhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/EmployeeHealthInsuranceOfferResponse"},"created":{"type":"string","format":"date-time"},"api_version":{"type":"string"}},"required":["id","type","platform_id","data","created","api_version"],"title":"EmployeeHealthInsuranceOfferActionRequiredWebhook"},"EmployeeHealthInsurancePolicyActivatedWebhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/EmployeeHealthInsurancePolicyResponse"},"created":{"type":"string","format":"date-time"},"api_version":{"type":"string"}},"required":["id","type","platform_id","data","created","api_version"],"title":"EmployeeHealthInsurancePolicyActivatedWebhook"},"EmployeeHealthInsurancePolicyCancelledWebhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/EmployeeHealthInsurancePolicyResponse"},"created":{"type":"string","format":"date-time"},"api_version":{"type":"string"}},"required":["id","type","platform_id","data","created","api_version"],"title":"EmployeeHealthInsurancePolicyCancelledWebhook"},"EmployeeHealthInsurancePolicyExpiredWebhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/EmployeeHealthInsurancePolicyResponse"},"created":{"type":"string","format":"date-time"},"api_version":{"type":"string"}},"required":["id","type","platform_id","data","created","api_version"],"title":"EmployeeHealthInsurancePolicyExpiredWebhook"},"ContributionReportFinalizedWebhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/ContributionReportResponse"},"created":{"type":"string","format":"date-time"},"api_version":{"type":"string"}},"required":["id","type","platform_id","data","created","api_version"],"title":"ContributionReportFinalizedWebhook"},"EmployeeEventResponse":{"type":"object","properties":{"id":{"type":"string","pattern":"ee_.+","description":"Unique identifier for the employee"},"employer_id":{"type":"string","pattern":"er_.+","description":"Unique identifier for the employer"},"metadata":{"type":["object","null"],"additionalProperties":{"type":"string"},"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Maximum 25 keys. Individual keys can be up to 40 characters and values up to 500 characters."},"resource_type":{"type":"string","description":"Resource type, the underlying resource this event is related to."},"object":{"type":"string","description":"The object type"}},"required":["id","employer_id"],"title":"EmployeeEventResponse"},"EmployeeCreatedV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/EmployeeEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"EmployeeCreatedV2Webhook"},"EmployeeUpdatedV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/EmployeeEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"EmployeeUpdatedV2Webhook"},"EmployeeOffboardedV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/EmployeeEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"EmployeeOffboardedV2Webhook"},"EmployerEventResponse":{"type":"object","properties":{"id":{"type":"string","pattern":"er_.+","description":"Unique identifier for the employer"},"metadata":{"type":["object","null"],"additionalProperties":{"type":"string"},"description":"Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Maximum 25 keys. Individual keys can be up to 40 characters and values up to 500 characters."},"resource_type":{"type":"string","description":"Resource type, the underlying resource this event is related to."},"object":{"type":"string","description":"The object type"}},"required":["id"],"title":"EmployerEventResponse"},"EmployerCreatedV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/EmployerEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"EmployerCreatedV2Webhook"},"EmployerUpdatedV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/EmployerEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"EmployerUpdatedV2Webhook"},"EmployerOffboardedV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/EmployerEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"EmployerOffboardedV2Webhook"},"EmployerHealthInsuranceQuoteEventResponse":{"type":"object","properties":{"id":{"type":"string","pattern":"erhq_.+","description":"Unique identifier for the quote"},"employer_id":{"type":"string","pattern":"er_.+","description":"The Id of the employer for which the is created"},"resource_type":{"type":"string","description":"Resource type, the underlying resource this event is related to."},"object":{"type":"string","description":"The object type"}},"required":["id","employer_id"],"title":"EmployerHealthInsuranceQuoteEventResponse"},"EmployerHealthInsuranceQuoteCreatedV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/EmployerHealthInsuranceQuoteEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"EmployerHealthInsuranceQuoteCreatedV2Webhook"},"EmployerHealthInsuranceQuoteActionRequiredV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/EmployerHealthInsuranceQuoteEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"EmployerHealthInsuranceQuoteActionRequiredV2Webhook"},"EmployerHealthInsuranceQuoteNotUndertakenV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/EmployerHealthInsuranceQuoteEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"EmployerHealthInsuranceQuoteNotUndertakenV2Webhook"},"EmployerHealthInsuranceQuoteAcceptedV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/EmployerHealthInsuranceQuoteEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"EmployerHealthInsuranceQuoteAcceptedV2Webhook"},"EmployerHealthInsuranceQuotePendingV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/EmployerHealthInsuranceQuoteEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"EmployerHealthInsuranceQuotePendingV2Webhook"},"EmployerHealthInsuranceQuotePendingInsurerAcceptanceV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/EmployerHealthInsuranceQuoteEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"EmployerHealthInsuranceQuotePendingInsurerAcceptanceV2Webhook"},"EmployeeHealthInsuranceOfferEventResponse":{"type":"object","properties":{"id":{"type":"string","pattern":"eeho_.+","description":"Unique identifier for the offer"},"employer_id":{"type":"string","pattern":"er_.+","description":"The Id of the employer for which the offer is available"},"employee_id":{"type":"string","pattern":"ee_.+","description":"The Id of the employee for which the offer is available"},"external_customer_id":{"type":["string","null"],"description":"A unique identifier assigned by the Employer of Record (EoR) platform to the Customer (i.e. the company using the EoR service) for which the employee is employed. This ID groups employees under this Customer, enabling the aggregation of contribution reporting and other values per Customer rather than per legal entity. This parameter is only available to EoR platforms."},"resource_type":{"type":"string","description":"Resource type, the underlying resource this event is related to."},"object":{"type":"string","description":"The object type"}},"required":["id","employer_id","employee_id"],"title":"EmployeeHealthInsuranceOfferEventResponse"},"EmployeeHealthInsuranceOfferActionRequiredV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/EmployeeHealthInsuranceOfferEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"EmployeeHealthInsuranceOfferActionRequiredV2Webhook"},"EmployeeHealthInsurancePolicyEventResponse":{"type":"object","properties":{"id":{"type":"string","pattern":"eehp_.+","description":"Unique identifier for the policy"},"employer_id":{"type":"string","pattern":"er_.+","description":"The Id of the employer for which the policy is created"},"employee_id":{"type":"string","pattern":"ee_.+","description":"The Id of the employee for which the policy is created"},"external_customer_id":{"type":["string","null"],"description":"A unique identifier assigned by the Employer of Record (EoR) platform to the Customer (i.e. the company using the EoR service) for which the employee is employed. This ID groups employees under this Customer, enabling the aggregation of contribution reporting and other values per Customer rather than per legal entity. This parameter is only available to EoR platforms."},"resource_type":{"type":"string","description":"Resource type, the underlying resource this event is related to."},"object":{"type":"string","description":"The object type"}},"required":["id","employer_id","employee_id"],"title":"EmployeeHealthInsurancePolicyEventResponse"},"EmployeeHealthInsurancePolicyActivatedV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/EmployeeHealthInsurancePolicyEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"EmployeeHealthInsurancePolicyActivatedV2Webhook"},"EmployeeHealthInsurancePolicyCancelledV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/EmployeeHealthInsurancePolicyEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"EmployeeHealthInsurancePolicyCancelledV2Webhook"},"EmployeeHealthInsurancePolicyExpiredV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/EmployeeHealthInsurancePolicyEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"EmployeeHealthInsurancePolicyExpiredV2Webhook"},"EmployeeHealthInsurancePolicyImportedV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/EmployeeHealthInsurancePolicyEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"EmployeeHealthInsurancePolicyImportedV2Webhook"},"ContributionReportEventResponse":{"type":"object","properties":{"id":{"type":"string","pattern":"ctr_.+","description":"Unique identifier for the contribution report"},"employer_id":{"type":"string","pattern":"er_.+","description":"Unique identifier of the employer for which the report is created"},"external_customer_id":{"type":["string","null"],"description":"Unique identifier of the customer for which the report is created. This identifier is assigned by the Employer of Record (EoR) platform to the Customer (i.e. the company using the EoR service) for which the employee is employed. This parameter is only available to EoR platforms."},"resource_type":{"type":"string","description":"Resource type, the underlying resource this event is related to."},"object":{"type":"string","description":"The object type"}},"required":["id","employer_id"],"title":"ContributionReportEventResponse"},"ContributionReportFinalizedV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/ContributionReportEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"ContributionReportFinalizedV2Webhook"},"GroupEventResponse":{"type":"object","properties":{"id":{"type":"string","pattern":"gr_.+","description":"Unique identifier for the group"},"employer_id":{"type":"string","pattern":"er_.+","description":"Unique identifier for the employer"},"resource_type":{"type":"string","description":"Resource type, the underlying resource this event is related to."},"object":{"type":"string","description":"The object type"}},"required":["id","employer_id"],"title":"GroupEventResponse"},"GroupCreatedV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/GroupEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"GroupCreatedV2Webhook"},"GroupReadyV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/GroupEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"GroupReadyV2Webhook"},"GroupArchivedV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/GroupEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"GroupArchivedV2Webhook"},"GroupUpdatedV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/GroupEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"GroupUpdatedV2Webhook"},"GroupEmployeeEventResponse":{"type":"object","properties":{"group_id":{"type":"string","pattern":"gr_.+","description":"Unique identifier for the group"},"employee_id":{"type":"string","pattern":"ee_.+","description":"Unique identifier for the employee"},"resource_type":{"type":"string","description":"Resource type, the underlying resource this event is related to."},"object":{"type":"string","description":"The object type"}},"required":["group_id","employee_id"],"title":"GroupEmployeeEventResponse"},"GroupEmployeeAddedV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/GroupEmployeeEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"GroupEmployeeAddedV2Webhook"},"GroupEmployeeRemovedEventResponse":{"type":"object","properties":{"platform_id":{"type":"string","pattern":"pt_.+","description":"Unique identifier for the platform"},"employer_id":{"type":"string","pattern":"er_.+","description":"Unique identifier for the employer"},"group_id":{"type":"string","pattern":"gr_.+","description":"Unique identifier for the group"},"employee_id":{"type":"string","pattern":"ee_.+","description":"Unique identifier for the employee"},"removed_at":{"type":"string","format":"date-time","description":"Timestamp when the employee was removed from the group"},"resource_type":{"type":"string","description":"Resource type, the underlying resource this event is related to."},"object":{"type":"string","description":"The object type"}},"required":["platform_id","employer_id","group_id","employee_id","removed_at"],"title":"GroupEmployeeRemovedEventResponse"},"GroupEmployeeRemovedV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/GroupEmployeeRemovedEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"GroupEmployeeRemovedV2Webhook"},"GroupEmployeeEligibleV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/GroupEmployeeEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"GroupEmployeeEligibleV2Webhook"},"GroupEmployeeMovedEventResponse":{"type":"object","properties":{"previous_group_id":{"type":"string","pattern":"gr_.+","description":"Unique identifier for the group the employee was moved from"},"new_group_id":{"type":"string","pattern":"gr_.+","description":"Unique identifier for the group the employee was moved to"},"employee_id":{"type":"string","pattern":"ee_.+","description":"Unique identifier for the employee"},"resource_type":{"type":"string","description":"Resource type, the underlying resource this event is related to."},"object":{"type":"string","description":"The object type"}},"required":["previous_group_id","new_group_id","employee_id"],"title":"GroupEmployeeMovedEventResponse"},"GroupEmployeeMovedV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/GroupEmployeeMovedEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"GroupEmployeeMovedV2Webhook"},"GroupEmployeeMoveScheduledEventResponse":{"type":"object","properties":{"employee_id":{"type":"string","pattern":"ee_.+","description":"Unique identifier for the employee"},"current_group_id":{"type":"string","pattern":"gr_.+","description":"Unique identifier for the employee's current group"},"new_group_id":{"type":"string","pattern":"gr_.+","description":"Unique identifier for the group the employee will be moved to"},"scheduled_date":{"type":"string","format":"date","description":"The date when the employee will be moved to the new group"},"resource_type":{"type":"string","description":"Resource type, the underlying resource this event is related to."},"object":{"type":"string","description":"The object type"}},"required":["employee_id","current_group_id","new_group_id","scheduled_date"],"title":"GroupEmployeeMoveScheduledEventResponse"},"GroupEmployeeMoveScheduledV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/GroupEmployeeMoveScheduledEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"GroupEmployeeMoveScheduledV2Webhook"},"PolicyEventResponse":{"type":"object","properties":{"policy_id":{"type":"string","pattern":"p_.+","description":"Identifier of the policy associated with this event. Prefixed with `p_`."},"employee_id":{"type":"string","pattern":"ee_.+","description":"Identifier of the employee associated with this policy. Prefixed with `ee_`."},"group_policy_id":{"type":"string","pattern":"gp_.+","description":"Identifier of the group policy id associated with this policy. Prefixed with `gp_`."},"group_id":{"type":"string","pattern":"gr_.+","description":"Identifier of the group associated with this policy. Prefixed with `gr_`."},"resource_type":{"type":"string","description":"Resource type, the underlying resource this event is related to."},"object":{"type":"string","description":"Object type"}},"required":["policy_id","employee_id","group_policy_id","group_id"],"title":"PolicyEventResponse"},"PolicyScheduledV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/PolicyEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"PolicyScheduledV2Webhook"},"PolicyActiveV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/PolicyEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"PolicyActiveV2Webhook"},"PolicyImportedV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/PolicyEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"PolicyImportedV2Webhook"},"PolicyExpiredV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/PolicyEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"PolicyExpiredV2Webhook"},"PolicyCancelledV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/PolicyEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"PolicyCancelledV2Webhook"},"PolicyUpdatedV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/PolicyEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"PolicyUpdatedV2Webhook"},"PolicyFinalizedByProviderV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/PolicyEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"PolicyFinalizedByProviderV2Webhook"},"PolicyRenewalOpenedV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/PolicyEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"PolicyRenewalOpenedV2Webhook"},"PolicyRenewalRenewedV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/PolicyEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"PolicyRenewalRenewedV2Webhook"},"PolicyRenewalCanceledV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/PolicyEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"PolicyRenewalCanceledV2Webhook"},"GroupPolicyEventResponse":{"type":"object","properties":{"group_policy_id":{"type":"string","pattern":"gp_.+","description":"Identifier of the group policy associated with this event. Prefixed with `gp_`."},"group_id":{"type":"string","pattern":"gr_.+","description":"Identifier of the group associated with this group policy. Prefixed with `gr_`."},"employer_id":{"type":"string","pattern":"er_.+","description":"Identifier for the employer associated with this group policy. Prefixed with `er_`."},"resource_type":{"type":"string","description":"Resource type, the underlying resource this event is related to."},"object":{"type":"string","description":"Object type"}},"required":["group_policy_id","group_id","employer_id"],"title":"GroupPolicyEventResponse"},"GroupPolicyScheduledV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/GroupPolicyEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"GroupPolicyScheduledV2Webhook"},"GroupPolicyActiveV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/GroupPolicyEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"GroupPolicyActiveV2Webhook"},"GroupPolicyExpiredV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/GroupPolicyEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"GroupPolicyExpiredV2Webhook"},"GroupPolicyCancelledV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/GroupPolicyEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"GroupPolicyCancelledV2Webhook"},"GroupPolicyUpdatedV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/GroupPolicyEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"GroupPolicyUpdatedV2Webhook"},"GroupPolicyRenewalOpenedV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/GroupPolicyEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"GroupPolicyRenewalOpenedV2Webhook"},"GroupPolicyRenewalRenewedV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/GroupPolicyEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"GroupPolicyRenewalRenewedV2Webhook"},"GroupPolicyRenewalCanceledV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/GroupPolicyEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"GroupPolicyRenewalCanceledV2Webhook"},"EnrolmentIntentEventResponse":{"type":"object","properties":{"enrolment_intent_id":{"type":"string","pattern":"ei_.+","description":"Identifier of the enrolment intent associated with this event. Prefixed with `ei_`."},"employee_id":{"type":"string","pattern":"ee_.+","description":"Identifier of the employee associated with this enrolment intent. Prefixed with `ee_`."},"group_id":{"type":"string","pattern":"gr_.+","description":"Identifier of the group associated with this enrolment intent. Prefixed with `gp_`."},"resource_type":{"type":"string","description":"Resource type, the underlying resource this event is related to."},"object":{"type":"string","description":"Object type"}},"required":["enrolment_intent_id","employee_id","group_id"],"title":"EnrolmentIntentEventResponse"},"EnrolmentIntentProcessingV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/EnrolmentIntentEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"EnrolmentIntentProcessingV2Webhook"},"EnrolmentIntentScheduledV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/EnrolmentIntentEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"EnrolmentIntentScheduledV2Webhook"},"EnrolmentIntentActionRequiredV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/EnrolmentIntentEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"EnrolmentIntentActionRequiredV2Webhook"},"EnrolmentIntentEnrollingV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/EnrolmentIntentEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"EnrolmentIntentEnrollingV2Webhook"},"EnrolmentIntentEnrolledV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/EnrolmentIntentEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"EnrolmentIntentEnrolledV2Webhook"},"EnrolmentIntentNotUndertakenV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/EnrolmentIntentEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"EnrolmentIntentNotUndertakenV2Webhook"},"EnrolmentIntentIneligibleV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/EnrolmentIntentEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"EnrolmentIntentIneligibleV2Webhook"},"EnrolmentIntentPendingConfirmationV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/EnrolmentIntentEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"EnrolmentIntentPendingConfirmationV2Webhook"},"EnrolmentIntentCoverageOptionsRequiredV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/EnrolmentIntentEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"EnrolmentIntentCoverageOptionsRequiredV2Webhook"},"PolicyAmendmentIntentEventResponse":{"type":"object","properties":{"policy_amendment_intent_id":{"type":"string","pattern":"pai_.+","description":"Identifier of the policy amendment intent associated with this event. Prefixed with `pai_`."},"policy_id":{"type":"string","pattern":"p_.+","description":"Identifier of the policy associated with this policy amendment intent. Prefixed with `p_`."},"employee_id":{"type":"string","pattern":"ee_.+","description":"Identifier of the employee associated with this policy amendment intent. Prefixed with `ee_`."},"employer_id":{"type":"string","pattern":"er_.+","description":"Identifier of the employer associated with this policy amendment intent. Prefixed with `er_`."},"resource_type":{"type":"string","description":"Resource type, the underlying resource this event is related to."},"object":{"type":"string","description":"Object type"}},"required":["policy_amendment_intent_id","policy_id","employee_id","employer_id"],"title":"PolicyAmendmentIntentEventResponse"},"PolicyAmendmentIntentActionRequiredV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/PolicyAmendmentIntentEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"PolicyAmendmentIntentActionRequiredV2Webhook"},"PolicyAmendmentIntentAwaitingQuoteV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/PolicyAmendmentIntentEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"PolicyAmendmentIntentAwaitingQuoteV2Webhook"},"PolicyAmendmentIntentPendingConfirmationV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/PolicyAmendmentIntentEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"PolicyAmendmentIntentPendingConfirmationV2Webhook"},"PolicyAmendmentIntentProcessingV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/PolicyAmendmentIntentEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"PolicyAmendmentIntentProcessingV2Webhook"},"PolicyAmendmentIntentAmendedV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/PolicyAmendmentIntentEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"PolicyAmendmentIntentAmendedV2Webhook"},"PolicyAmendmentIntentProcessingErrorV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/PolicyAmendmentIntentEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"PolicyAmendmentIntentProcessingErrorV2Webhook"},"PolicyAmendmentIntentNotUndertakenV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/PolicyAmendmentIntentEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"PolicyAmendmentIntentNotUndertakenV2Webhook"},"DependentsManagementIntentEventResponse":{"type":"object","properties":{"dependents_management_intent_id":{"type":"string","pattern":"dmi_.+","description":"Identifier of the dependents management intent associated with this event. Prefixed with `dmi_`."},"parent_intent_id":{"type":"string","format":"uuid","description":"Identifier of the parent intent associated with this dependents management intent."},"parent_intent_type":{"$ref":"#/components/schemas/DependentsManagementIntentParentType","description":"Type of the parent intent."},"resource_type":{"type":"string","description":"Resource type, the underlying resource this event is related to."},"object":{"type":"string","description":"Object type"}},"required":["dependents_management_intent_id","parent_intent_id","parent_intent_type"],"title":"DependentsManagementIntentEventResponse"},"DependentsManagementIntentActionRequiredV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/DependentsManagementIntentEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"DependentsManagementIntentActionRequiredV2Webhook"},"DependentsManagementIntentCompletedV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/DependentsManagementIntentEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"DependentsManagementIntentCompletedV2Webhook"},"DependentsManagementIntentNotUndertakenV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/DependentsManagementIntentEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"DependentsManagementIntentNotUndertakenV2Webhook"},"DependentsManagementIntentDependentEventResponse":{"type":"object","properties":{"dependents_management_intent_id":{"type":"string","pattern":"dmi_.+","description":"Identifier of the dependents management intent the dependent belongs to. Prefixed with `dmi_`."},"parent_intent_id":{"type":"string","description":"Identifier of the parent intent of the dependents management intent. Prefixed with `pai_` for a policy amendment intent or `ei_` for an enrolment intent."},"parent_intent_type":{"$ref":"#/components/schemas/DependentsManagementIntentParentType","description":"Type of the parent intent."},"associated_person_id":{"type":"string","pattern":"ap_.+","description":"Identifier of the associated person this dependent represents. Prefixed with `ap_`."},"resource_type":{"type":"string","description":"Resource type, the underlying resource this event is related to."},"object":{"type":"string","description":"Object type"}},"required":["dependents_management_intent_id","parent_intent_id","parent_intent_type","associated_person_id"],"title":"DependentsManagementIntentDependentEventResponse"},"DependentsManagementIntentDependentPendingConfirmationV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/DependentsManagementIntentDependentEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"DependentsManagementIntentDependentPendingConfirmationV2Webhook"},"DependentsManagementIntentDependentActionRequiredV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/DependentsManagementIntentDependentEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"DependentsManagementIntentDependentActionRequiredV2Webhook"},"DependentsManagementIntentDependentIneligibleV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/DependentsManagementIntentDependentEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"DependentsManagementIntentDependentIneligibleV2Webhook"},"DependentsManagementIntentDependentProcessingV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/DependentsManagementIntentDependentEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"DependentsManagementIntentDependentProcessingV2Webhook"},"DependentsManagementIntentDependentRestrictedV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/DependentsManagementIntentDependentEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"DependentsManagementIntentDependentRestrictedV2Webhook"},"DependentsManagementIntentDependentReadyV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/DependentsManagementIntentDependentEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"DependentsManagementIntentDependentReadyV2Webhook"},"PolicyImportIntentEventResponse":{"type":"object","properties":{"policy_import_intent_id":{"type":"string","pattern":"pii_.+","description":"Identifier of the policy import intent associated with this event. Prefixed with `pii_`."},"employee_id":{"type":"string","pattern":"ee_.+","description":"Identifier of the employee associated with this policy import intent. Prefixed with `ee_`."},"group_id":{"type":"string","pattern":"gr_.+","description":"Identifier of the group associated with this policy import intent. Prefixed with `g_`."},"policy_id":{"type":["string","null"],"pattern":"p_.+","description":"Identifier of the policy created from this import intent. Prefixed with `p_`. Only present on success."},"resource_type":{"type":"string","description":"Resource type, the underlying resource this event is related to."},"object":{"type":"string","description":"Object type"}},"required":["policy_import_intent_id","employee_id","group_id"],"title":"PolicyImportIntentEventResponse"},"PolicyImportIntentProcessingV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/PolicyImportIntentEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"PolicyImportIntentProcessingV2Webhook"},"PolicyImportIntentSuccessV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/PolicyImportIntentEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"PolicyImportIntentSuccessV2Webhook"},"PolicyImportIntentFailedV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/PolicyImportIntentEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"PolicyImportIntentFailedV2Webhook"},"IntentLevelResponse":{"type":"object","properties":{"group_id":{"type":"string","pattern":"gr_.+","description":"Identifier of the group this level covers. Prefixed with `gr_`."},"plan_id":{"type":"string","pattern":"pl_.+","description":"Identifier of the plan this level is on. Prefixed with `pl_`."}},"required":["group_id","plan_id"],"title":"IntentLevelResponse"},"GroupQuoteIntentEventResponse":{"type":"object","properties":{"group_quote_intent_id":{"type":"string","pattern":"gqi_.+","description":"Identifier of the group quote intent associated with this event. Prefixed with `gqi_`."},"type":{"$ref":"#/components/schemas/GroupQuoteIntentType","description":"Whether the intent quotes one (group, plan) pair or several levels. Absent or null means `single`, so a subscriber that has never seen a multi-level intent needs no change."},"group_id":{"type":["string","null"],"pattern":"gr_.+","description":"Identifier of the group associated with this group quote intent. Prefixed with `gr_`. Null only on a multi-level intent, whose groups are on `levels`."},"plan_id":{"type":["string","null"],"pattern":"pl_.+","description":"Identifier of the plan associated with this group quote intent. Prefixed with `pl_`. Null only on a multi-level intent, whose plans are on `levels`."},"levels":{"type":"array","items":{"$ref":"#/components/schemas/IntentLevelResponse"},"description":"Every (group, plan) level of this intent. Always populated: a `single` intent has one entry mirroring the scalar `group_id` and `plan_id`, so a subscriber can read the levels alone and never branch on the shape."},"resource_type":{"type":"string","description":"Resource type, the underlying resource this event is related to."},"object":{"type":"string","description":"Object type"}},"required":["group_quote_intent_id","group_id","plan_id","levels"],"title":"GroupQuoteIntentEventResponse"},"GroupQuoteIntentProcessingV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/GroupQuoteIntentEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"GroupQuoteIntentProcessingV2Webhook"},"GroupQuoteIntentActionRequiredV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/GroupQuoteIntentEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"GroupQuoteIntentActionRequiredV2Webhook"},"GroupQuoteIntentAwaitingQuoteV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/GroupQuoteIntentEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"GroupQuoteIntentAwaitingQuoteV2Webhook"},"GroupQuoteIntentQuoteAvailableV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/GroupQuoteIntentEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"GroupQuoteIntentQuoteAvailableV2Webhook"},"GroupQuoteIntentRejectedV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/GroupQuoteIntentEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"GroupQuoteIntentRejectedV2Webhook"},"GroupQuoteIntentRejectedByInsurerV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/GroupQuoteIntentEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"GroupQuoteIntentRejectedByInsurerV2Webhook"},"GroupQuoteIntentQuoteExpiredV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/GroupQuoteIntentEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"GroupQuoteIntentQuoteExpiredV2Webhook"},"GroupPolicyIntentEventResponse":{"type":"object","properties":{"group_policy_intent_id":{"type":"string","pattern":"gpi_.+","description":"Identifier of the group policy intent associated with this event. Prefixed with `gpi_`."},"type":{"$ref":"#/components/schemas/GroupQuoteIntentType","description":"Whether the intent covers one (group, plan) pair or several levels — the shape of the quote it accepted. Absent or null means `single`, which is every group policy intent today; accepting a multi-level quote is a later phase."},"group_id":{"type":["string","null"],"pattern":"gr_.+","description":"Identifier of the group associated with this group policy intent. Prefixed with `gr_`. Null only on a multi-level intent, whose groups are on `levels`."},"plan_id":{"type":["string","null"],"pattern":"pl_.+","description":"Identifier of the plan associated with this group policy intent. Prefixed with `pl_`. Null only on a multi-level intent, whose plans are on `levels`."},"levels":{"type":"array","items":{"$ref":"#/components/schemas/IntentLevelResponse"},"description":"Every (group, plan) level of this intent. Always populated: a `single` intent has one entry mirroring the scalar `group_id` and `plan_id`, so a subscriber can read the levels alone and never branch on the shape."},"resource_type":{"type":"string","description":"Resource type, the underlying resource this event is related to."},"object":{"type":"string","description":"Object type"}},"required":["group_policy_intent_id","group_id","plan_id","levels"],"title":"GroupPolicyIntentEventResponse"},"GroupPolicyIntentProcessingV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/GroupPolicyIntentEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"GroupPolicyIntentProcessingV2Webhook"},"GroupPolicyIntentActionRequiredV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/GroupPolicyIntentEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"GroupPolicyIntentActionRequiredV2Webhook"},"GroupPolicyIntentPendingProviderApprovalV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/GroupPolicyIntentEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"GroupPolicyIntentPendingProviderApprovalV2Webhook"},"GroupPolicyIntentPolicyCreatedV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/GroupPolicyIntentEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"GroupPolicyIntentPolicyCreatedV2Webhook"},"GroupPolicyIntentExpiredV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/GroupPolicyIntentEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"GroupPolicyIntentExpiredV2Webhook"},"GroupPolicyIntentProviderRejectedV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/GroupPolicyIntentEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"GroupPolicyIntentProviderRejectedV2Webhook"},"GroupPolicyIntentManualRenewalGatheringRequiredV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/GroupPolicyIntentEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"GroupPolicyIntentManualRenewalGatheringRequiredV2Webhook"},"AssociatedPersonEventResponse":{"type":"object","properties":{"id":{"type":"string","pattern":"ap_.+","description":"Unique identifier for the associated person"},"employee_id":{"type":"string","pattern":"ee_.+","description":"Unique identifier for the employee this person is associated with"},"occurred_at":{"type":"string","format":"date-time","description":"When the change happened, in UTC"},"resource_type":{"type":"string","description":"Resource type, the underlying resource this event is related to."},"object":{"type":"string","description":"The object type"}},"required":["id","employee_id","occurred_at"],"title":"AssociatedPersonEventResponse"},"AssociatedPersonUpdatedV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/AssociatedPersonEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"AssociatedPersonUpdatedV2Webhook"},"AssociatedPersonCreatedV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/AssociatedPersonEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"AssociatedPersonCreatedV2Webhook"},"AssociatedPersonDeletedV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/AssociatedPersonEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"AssociatedPersonDeletedV2Webhook"},"AssociatedPersonPendingV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/AssociatedPersonEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"AssociatedPersonPendingV2Webhook"},"AssociatedPersonActiveV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/AssociatedPersonEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"AssociatedPersonActiveV2Webhook"},"AssociatedPersonRestrictedV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/AssociatedPersonEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"AssociatedPersonRestrictedV2Webhook"},"InvoiceEventResponse":{"type":"object","properties":{"id":{"type":"string","pattern":"inv_.+","description":"Identifier of the invoice associated with this event. Prefixed with `inv_`."},"provider_id":{"type":"string","pattern":"pr_.+","description":"Identifier of the provider that issued the invoice. Prefixed with `pr_`."},"resource_type":{"type":"string","description":"Resource type, the underlying resource this event is related to."},"object":{"type":"string","description":"Object type"}},"required":["id","provider_id"],"title":"InvoiceEventResponse"},"InvoiceCreatedV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/InvoiceEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"InvoiceCreatedV2Webhook"},"InvoiceUpdatedV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/InvoiceEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"InvoiceUpdatedV2Webhook"},"InvoiceDeletedV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/InvoiceEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"InvoiceDeletedV2Webhook"},"SalaryEventResponse":{"type":"object","properties":{"id":{"type":"string","pattern":"sal_.+","description":"Unique identifier for the salary record"},"employee_id":{"type":"string","pattern":"ee_.+","description":"Unique identifier for the employee this salary belongs to"},"resource_type":{"type":"string","description":"Resource type, the underlying resource this event is related to."},"object":{"type":"string","description":"The object type"}},"required":["id","employee_id"],"title":"SalaryEventResponse"},"EmployeeSalaryCreatedV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/SalaryEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"EmployeeSalaryCreatedV2Webhook"},"EmployeeSalaryDeletedV2Webhook":{"type":"object","properties":{"id":{"type":"string","pattern":"evt_*"},"type":{"type":"string"},"platform_id":{"type":"string","pattern":"pt_*"},"data":{"$ref":"#/components/schemas/SalaryEventResponse"},"created":{"type":"string","format":"date-time"}},"required":["id","type","platform_id","data","created"],"title":"EmployeeSalaryDeletedV2Webhook"}},"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","description":"Authorization header using the Bearer scheme"}}}}