{
  "opencollection": "1.0.0",
  "info": {
    "name": "API Reference Associated Persons Policy Import Intents API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Policy Import Intents",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List all policy import intents",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://test.api.kota.io/policy_import_intents",
            "params": [
              {
                "name": "employee_id",
                "value": "",
                "type": "query",
                "description": "Filters policy import intents by employee ID. Prefixed with `ee_`."
              },
              {
                "name": "group_id",
                "value": "",
                "type": "query",
                "description": "Filters policy import intents by group ID. Prefixed with `g_`."
              },
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "Multiple values can be provided by separating them with a comma. Allowed values are: `processing`, `failed`, `success`."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "The page of results to return. Defaults to 1 if not provided."
              },
              {
                "name": "page_size",
                "value": "",
                "type": "query",
                "description": "The number of results to return per page. Defaults to 10 if not provided. Maximum value is 100."
              }
            ]
          },
          "docs": "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."
        },
        {
          "info": {
            "name": "Create a new policy import intent",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://test.api.kota.io/policy_import_intents",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "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."
        },
        {
          "info": {
            "name": "Retrieve a policy import intent",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://test.api.kota.io/policy_import_intents/:policy_import_intent_id",
            "params": [
              {
                "name": "policy_import_intent_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieves a `policy_import_intent` object."
        }
      ]
    }
  ],
  "bundled": true
}