Policy Import Intents
Create a new policy import intent
Changed onInitiates 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.
post/policy_import_intents
Request
- Base URLhttps://test.api.kota.io
- URLhttps://test.api.kota.io/policy_import_intents
- AuthHTTP bearer
Request body
Example request
{
"employee_id": "ee_3b1333d87d9d4fd6ad83ba7f6b0e951a",
"group_id": "gr_3b1333d87d9d4fd6ad83ba7f6b0e951a",
"group_policy_id": "gp_3b1333d87d9d4fd6ad83ba7f6b0e951a",
"policy_start_date": "2024-12-01",
"policy_end_date": "2024-12-01",
"associated_persons": [
{
"associated_person_id": "ap_3b1333d87d9d4fd6ad83ba7f6b0e951a",
"start_date": "2024-12-01",
"end_date": "2024-12-01"
}
]
}Response
OK
Example response
{
"id": "pii_3b1333d87d9d4fd6ad83ba7f6b0e951a",
"employee_id": "ee_3b1333d87d9d4fd6ad83ba7f6b0e951a",
"group_id": "gr_3b1333d87d9d4fd6ad83ba7f6b0e951a",
"group_policy_id": "gp_3b1333d87d9d4fd6ad83ba7f6b0e951a",
"policy_start_date": "2024-12-01",
"policy_end_date": "2024-12-01",
"associated_persons": [
{
"associated_person_id": "ap_3b1333d87d9d4fd6ad83ba7f6b0e951a",
"start_date": "2024-12-01",
"end_date": "2024-12-01"
}
]
}Changes
- warning
deleted the
headerrequest parameterX-Platform-Id
- warning
- info
added the non-success response with the status
- info