> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://developer.vitablehealth.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developer.vitablehealth.com/_mcp/server.

# Search the plans for an enrollment

POST https://api.vitablehealth.com/v1/enrollments/{enrollment_id}/plans
Content-Type: application/json

Returns the individual health plans the member can choose for this enrollment, priced for the member and the dependents they cover, with the address, age and tobacco use on file. Each plan says whether we enroll the member in it or they enroll on their own, and the date their benefit coverage would start. With existing_policy, it instead returns the plans the member may already have, all priced from and starting on the coverage start for a plan the member already has, and a member who can't enroll with a plan they already have gets EXISTING_POLICY_UNAVAILABLE. An enrollment the caller cannot reach is indistinguishable from one that does not exist.

Reference: https://developer.vitablehealth.com/api/enrollments/search-enrollment-plans

## Authentication

- `Authorization` header (bearer token, required) — API Key or Access Token authentication using Bearer token in Authorization header. API keys use the vit_apk_ prefix, access tokens use the vit_at_ prefix.

## Servers

- `https://api.vitablehealth.com` (Production, default)
- `https://api.uat.vitablehealth.com` (UAT)

## Request

### Path parameters

- `enrollment_id` (string, required) — Unique enrollment identifier (enrl_*)

### Headers

- `X-Vitable-Organization` (string, optional) — Organization to act as for this request (e.g. `org_SGVsbG8gV29ybGQ`). Optional when your credentials reach a single organization. Required when they reach several — omitting it then returns 400 `organization_required`. A malformed value returns 400 `invalid_organization_header`, and naming an organization you do not have access to returns 403 `organization_access_denied`.

### Body (application/json)

This endpoint expects a SearchEnrollmentPlansRequest.

- `covered_dependent_ids` (list of string, required) — The member's dependents to cover on the plan, each with its 'ldep_' prefix. Send an empty list to cover only the member.
- `providers` (list of SearchEnrollmentPlansProviderRequest, optional, nullable) — Doctors to check each plan's network for.
- `existing_policy` (boolean, optional, default: false) — Send true to look up a plan the member already has instead of shopping for one. Every plan is then priced from, and starts on, the coverage start for a plan the member already has, every plan is OWN_PLAN, and plans that only take new members during open enrollment are included.

## Response

### 200

- `data` (list of EnrollmentPlanDTO, required)

## Errors

### 400 Bad Request Error

Invalid request.

- `timestamp` (datetime, required) — ISO 8601 timestamp when the error occurred
- `message` (string, required) — Human-readable error message
- `error` (string, required) — Error message (same as message, for backwards compatibility)
- `trace_id` (string, required) — Unique trace ID for debugging and support requests
- `app_error_code` (string, optional, nullable) — Application-specific error code for programmatic handling

### 401 Unauthorized Error

Unauthorized - Invalid or missing API key

- `timestamp` (datetime, required) — ISO 8601 timestamp when the error occurred
- `message` (string, required) — Human-readable error message
- `error` (string, required) — Error message (same as message, for backwards compatibility)
- `trace_id` (string, required) — Unique trace ID for debugging and support requests
- `app_error_code` (string, optional, nullable) — Application-specific error code for programmatic handling

### 403 Forbidden Error

Forbidden - Insufficient permissions for this resource

- `timestamp` (datetime, required) — ISO 8601 timestamp when the error occurred
- `message` (string, required) — Human-readable error message
- `error` (string, required) — Error message (same as message, for backwards compatibility)
- `trace_id` (string, required) — Unique trace ID for debugging and support requests
- `app_error_code` (string, optional, nullable) — Application-specific error code for programmatic handling

### 404 Not Found Error

Resource not found.

- `timestamp` (datetime, required) — ISO 8601 timestamp when the error occurred
- `message` (string, required) — Human-readable error message
- `error` (string, required) — Error message (same as message, for backwards compatibility)
- `trace_id` (string, required) — Unique trace ID for debugging and support requests
- `app_error_code` (string, optional, nullable) — Application-specific error code for programmatic handling

### 409 Conflict Error

Conflict with the current resource state.

- `timestamp` (datetime, required) — ISO 8601 timestamp when the error occurred
- `message` (string, required) — Human-readable error message
- `error` (string, required) — Error message (same as message, for backwards compatibility)
- `trace_id` (string, required) — Unique trace ID for debugging and support requests
- `app_error_code` (string, optional, nullable) — Application-specific error code for programmatic handling

### 422 Unprocessable Entity Error

Unprocessable Entity - Business rule or domain invariant violated

- `timestamp` (datetime, required) — ISO 8601 timestamp when the error occurred
- `message` (string, required) — Human-readable error message
- `error` (string, required) — Error message (same as message, for backwards compatibility)
- `trace_id` (string, required) — Unique trace ID for debugging and support requests
- `app_error_code` (string, optional, nullable) — Application-specific error code for programmatic handling

### 429 Too Many Requests Error

Too Many Requests - Rate limit exceeded

- `timestamp` (datetime, required) — ISO 8601 timestamp when the error occurred
- `message` (string, required) — Human-readable error message
- `error` (string, required) — Error message (same as message, for backwards compatibility)
- `trace_id` (string, required) — Unique trace ID for debugging and support requests
- `app_error_code` (string, optional, nullable) — Application-specific error code for programmatic handling

### 500 Internal Server Error

Internal Server Error - An unexpected error occurred

- `timestamp` (datetime, required) — ISO 8601 timestamp when the error occurred
- `message` (string, required) — Human-readable error message
- `error` (string, required) — Error message (same as message, for backwards compatibility)
- `trace_id` (string, required) — Unique trace ID for debugging and support requests
- `app_error_code` (string, optional, nullable) — Application-specific error code for programmatic handling

### 502 Bad Gateway Error

Bad Gateway - External service error

- `timestamp` (datetime, required) — ISO 8601 timestamp when the error occurred
- `message` (string, required) — Human-readable error message
- `error` (string, required) — Error message (same as message, for backwards compatibility)
- `trace_id` (string, required) — Unique trace ID for debugging and support requests
- `app_error_code` (string, optional, nullable) — Application-specific error code for programmatic handling

## Types

### SearchEnrollmentPlansProviderRequest

- `id` (integer, required) — Identifier of the provider, from the provider search.
- `name` (string, required)
- `type` (string, required)
- `address` (SearchEnrollmentPlansProviderAddressRequest, required)
- `phone` (string, optional, nullable)
- `npis` (list of integer, optional, default: []) — The provider's National Provider Identifiers.
- `specialty` (string, optional, nullable)

### EnrollmentPlanDTO

- `id` (string, required) — Identifier of the plan.
- `name` (string, required) — The plan's name.
- `carrier_name` (string, required) — The insurance carrier that offers the plan.
- `plan_type` (string, required) — The plan's network type, such as HMO or PPO.
- `level` (enum, required) — The plan's metal level. * `catastrophic` - Catastrophic * `bronze` - Bronze * `expanded_bronze` - Expanded Bronze * `silver` - Silver * `gold` - Gold * `platinum` - Platinum
  - Allowed values: `catastrophic`, `bronze`, `expanded_bronze`, `silver`, `gold`, `platinum`
- `premium_in_cents` (integer, required) — Monthly premium for everyone covered, in cents.
- `effective_date` (date, required) — First day the plan's rates apply.
- `expiration_date` (date, required) — Last day the plan's rates apply.
- `individual_medical_deductible_in_network_in_cents` (integer, required) — In-network medical deductible for one person, in cents.
- `family_medical_deductible_in_network_in_cents` (integer, required) — In-network medical deductible for a family, in cents.
- `individual_medical_out_of_pocket_max_in_network_in_cents` (integer, required) — In-network out-of-pocket maximum for one person, in cents.
- `family_medical_out_of_pocket_max_in_network_in_cents` (integer, required) — In-network out-of-pocket maximum for a family, in cents.
- `individual_drug_deductible_in_cents` (integer, required) — Prescription drug deductible for one person, in cents.
- `family_drug_deductible_in_cents` (integer, required) — Prescription drug deductible for a family, in cents.
- `generic_drugs_in_cents` (integer, required) — Cost of a generic prescription, in cents.
- `primary_care_physician_in_cents` (integer, required) — Cost of a primary care visit, in cents.
- `on_market_in` (boolean, required) — Whether the plan is sold on the health insurance marketplace.
- `off_market_in` (boolean, required) — Whether the plan is sold directly by the carrier, off the marketplace.
- `sbc_url` (string, required) — Link to the plan's Summary of Benefits and Coverage.
- `benefits_summary_url` (string, required) — Link to the plan's benefits summary.
- `logo_url` (string, required) — Link to the plan's logo.
- `carrier_logo_url` (string, required) — Link to the carrier's logo.
- `drug_formulary_url` (string, required) — Link to the plan's list of covered drugs.
- `details` (any, required) — Every attribute of the plan, including those above, keyed by attribute name.
- `coverage_path` (enum, required) — CARRIER_APPLICATION when we enroll the member in this plan; OWN_PLAN when the member enrolls in it on their own. * `CARRIER_APPLICATION` - CARRIER_APPLICATION * `OWN_PLAN` - OWN_PLAN * `MEDICARE` - MEDICARE
  - Allowed values: `CARRIER_APPLICATION`, `OWN_PLAN`, `MEDICARE`
- `administrative_coverage_start` (date, required) — The date the member's benefit coverage starts if they choose this plan.
- `premium_with_tax_credit_in_cents` (integer, required) — Monthly premium the carrier bills after any premium tax credit, in cents. Equals premium_in_cents when the member gets no credit for this plan.
- `member_cost_in_cents` (integer, required) — What the member pays each month: premium_with_tax_credit_in_cents less their allowance, in cents.
- `providers` (list of MarketplacePlanProviderDTO, optional, nullable) — Whether each requested provider is in the plan's network.

### SearchEnrollmentPlansProviderAddressRequest

- `id` (integer, required) — Identifier of the provider's practice location.
- `street_line_1` (string, required)
- `city` (string, required)
- `state` (string, required)
- `zip_code` (string, required)
- `street_line_2` (string, optional, nullable)

### MarketplacePlanProviderDTO

- `npi` (integer, required) — National Provider Identifier of a requested provider.
- `in_network` (boolean, required) — Whether the provider is in the plan's network.

## Examples

**Request**

```json
{
  "covered_dependent_ids": [
    "string"
  ]
}
```

**Response**

```json
{
  "data": [
    {
      "id": "string",
      "name": "string",
      "carrier_name": "string",
      "plan_type": "string",
      "level": "catastrophic",
      "premium_in_cents": 1,
      "effective_date": "2023-01-15",
      "expiration_date": "2023-01-15",
      "individual_medical_deductible_in_network_in_cents": 1,
      "family_medical_deductible_in_network_in_cents": 1,
      "individual_medical_out_of_pocket_max_in_network_in_cents": 1,
      "family_medical_out_of_pocket_max_in_network_in_cents": 1,
      "individual_drug_deductible_in_cents": 1,
      "family_drug_deductible_in_cents": 1,
      "generic_drugs_in_cents": 1,
      "primary_care_physician_in_cents": 1,
      "on_market_in": true,
      "off_market_in": true,
      "sbc_url": "string",
      "benefits_summary_url": "string",
      "logo_url": "string",
      "carrier_logo_url": "string",
      "drug_formulary_url": "string",
      "details": null,
      "coverage_path": "CARRIER_APPLICATION",
      "administrative_coverage_start": "2023-01-15",
      "premium_with_tax_credit_in_cents": 1,
      "member_cost_in_cents": 1,
      "providers": [
        {
          "npi": 1,
          "in_network": true
        }
      ]
    }
  ]
}
```

**SDK Code**

```python
import requests

url = "https://api.vitablehealth.com/v1/enrollments/enrl_AAAAAAAAAAAAAAAAAAAAAQ/plans"

payload = { "covered_dependent_ids": ["string"] }
headers = {
    "Authorization": "Bearer <apiKey>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript
const url = 'https://api.vitablehealth.com/v1/enrollments/enrl_AAAAAAAAAAAAAAAAAAAAAQ/plans';
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <apiKey>', 'Content-Type': 'application/json'},
  body: '{"covered_dependent_ids":["string"]}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.vitablehealth.com/v1/enrollments/enrl_AAAAAAAAAAAAAAAAAAAAAQ/plans"

	payload := strings.NewReader("{\n  \"covered_dependent_ids\": [\n    \"string\"\n  ]\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Authorization", "Bearer <apiKey>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.vitablehealth.com/v1/enrollments/enrl_AAAAAAAAAAAAAAAAAAAAAQ/plans")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <apiKey>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"covered_dependent_ids\": [\n    \"string\"\n  ]\n}"

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.vitablehealth.com/v1/enrollments/enrl_AAAAAAAAAAAAAAAAAAAAAQ/plans")
  .header("Authorization", "Bearer <apiKey>")
  .header("Content-Type", "application/json")
  .body("{\n  \"covered_dependent_ids\": [\n    \"string\"\n  ]\n}")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.vitablehealth.com/v1/enrollments/enrl_AAAAAAAAAAAAAAAAAAAAAQ/plans', [
  'body' => '{
  "covered_dependent_ids": [
    "string"
  ]
}',
  'headers' => [
    'Authorization' => 'Bearer <apiKey>',
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.vitablehealth.com/v1/enrollments/enrl_AAAAAAAAAAAAAAAAAAAAAQ/plans");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <apiKey>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"covered_dependent_ids\": [\n    \"string\"\n  ]\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = [
  "Authorization": "Bearer <apiKey>",
  "Content-Type": "application/json"
]
let parameters = ["covered_dependent_ids": ["string"]] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.vitablehealth.com/v1/enrollments/enrl_AAAAAAAAAAAAAAAAAAAAAQ/plans")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```