> 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.

# Create an approved member qualifying life event

POST https://api.vitablehealth.com/v1/members/{member_id}/qualifying-life-events
Content-Type: application/json

Creates an immediately approved qualifying life event. The caller must have write access to the target member, and API access tokens cannot create events. A member not visible to the caller returns a 404 before the body is validated. Describing the event is required when event_type is 'other'.

Reference: https://developer.vitablehealth.com/api/members/create-qualifying-life-event

## 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

- `member_id` (string, required) — Unique member identifier (mbr_*)

### 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 CreateMemberQualifyingLifeEventRequest.

- `event_type` (enum, required) — The qualifying life event reason. `new_child` is a historical value and is not accepted when creating a new event. * `lost_job_based_coverage` - lost_job_based_coverage * `aged_off_parent_plan` - aged_off_parent_plan * `lost_medicaid_chip_medicare` - lost_medicaid_chip_medicare * `lost_decertified_individual_plan` - lost_decertified_individual_plan * `married` - married * `divorced` - divorced * `had_baby` - had_baby * `adopted_child` - adopted_child * `foster_care_placement` - foster_care_placement * `death_of_spouse_or_dependent` - death_of_spouse_or_dependent * `court_ordered` - court_ordered * `moved_to_new_coverage_area` - moved_to_new_coverage_area * `moved_to_us` - moved_to_us * `moved_to_or_from_school_housing` - moved_to_or_from_school_housing * `moved_to_or_from_seasonal_work_housing` - moved_to_or_from_seasonal_work_housing * `became_us_citizen` - became_us_citizen * `left_incarceration` - left_incarceration * `gained_tribal_status` - gained_tribal_status * `started_or_ended_americorps_service` - started_or_ended_americorps_service * `new_child` - new_child * `other` - other
  - Allowed values: `lost_job_based_coverage`, `aged_off_parent_plan`, `lost_medicaid_chip_medicare`, `lost_decertified_individual_plan`, `married`, `divorced`, `had_baby`, `adopted_child`, `foster_care_placement`, `death_of_spouse_or_dependent`, `court_ordered`, `moved_to_new_coverage_area`, `moved_to_us`, `moved_to_or_from_school_housing`, `moved_to_or_from_seasonal_work_housing`, `became_us_citizen`, `left_incarceration`, `gained_tribal_status`, `started_or_ended_americorps_service`, `new_child`, `other`
- `other_event` (string, optional, nullable) — Free-text description of the event; required when event_type is 'other'

## Response

### 201

- `data` (MemberQualifyingLifeEvent, 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

The caller is an access token; access tokens cannot create qualifying life events.

- `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 - Resource already exists or conflicts with current 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

### MemberQualifyingLifeEvent

- `id` (string, required) — Opaque qualifying life event identifier
- `event_type` (enum, required) — The member-submitted qualifying life event type * `lost_job_based_coverage` - Losing job-based health insurance * `aged_off_parent_plan` - Aging off a parent's plan at age 26 * `lost_medicaid_chip_medicare` - Losing Medicaid, CHIP, or Medicare eligibility * `lost_decertified_individual_plan` - Losing individual coverage because a plan was decertified * `married` - Getting married * `divorced` - Getting divorced or legally separated * `had_baby` - Having a baby * `adopted_child` - Adopting a child * `foster_care_placement` - Foster-care placement * `death_of_spouse_or_dependent` - Death of a covered spouse or dependent * `court_ordered` - Court order to add a dependent * `moved_to_new_coverage_area` - Moving to a new ZIP code, county, or state where different plans are available * `moved_to_us` - Moving to the U.S. from another country * `moved_to_or_from_school_housing` - Moving to or from school housing * `moved_to_or_from_seasonal_work_housing` - Moving to or from housing for seasonal work * `became_us_citizen` - Becoming a U.S. citizen * `left_incarceration` - Leaving incarceration * `gained_tribal_status` - Gaining status as a member of a federally recognized tribe or Alaska Native corporation * `started_or_ended_americorps_service` - Starting or ending AmeriCorps service * `new_child` - New child * `other` - Other
  - Allowed values: `lost_job_based_coverage`, `aged_off_parent_plan`, `lost_medicaid_chip_medicare`, `lost_decertified_individual_plan`, `married`, `divorced`, `had_baby`, `adopted_child`, `foster_care_placement`, `death_of_spouse_or_dependent`, `court_ordered`, `moved_to_new_coverage_area`, `moved_to_us`, `moved_to_or_from_school_housing`, `moved_to_or_from_seasonal_work_housing`, `became_us_citizen`, `left_incarceration`, `gained_tribal_status`, `started_or_ended_americorps_service`, `new_child`, `other`
- `event_type_label` (string, required) — Human-readable label for event_type
- `other_event` (string, required, nullable) — Custom event description when event_type is Other; otherwise normally null
- `status` (enum, required) — Review status of the qualifying life event * `pending` - Pending * `approved` - Approved * `denied` - Denied
  - Allowed values: `pending`, `approved`, `denied`
- `submitted_at` (datetime, required) — When the member submitted the event

## Examples

**Request**

```json
{
  "event_type": "lost_job_based_coverage"
}
```

**Response**

```json
{
  "data": {
    "id": "qle_AAAAAAAAAAAAAAAAAAAAAQ",
    "event_type": "had_baby",
    "event_type_label": "Having a baby",
    "other_event": null,
    "status": "approved",
    "submitted_at": "2026-07-01T14:30:00Z"
  }
}
```

**SDK Code**

```python Created Qualifying Life Event
import requests

url = "https://api.vitablehealth.com/v1/members/mbr_abc123def456/qualifying-life-events"

payload = { "event_type": "lost_job_based_coverage" }
headers = {
    "Authorization": "Bearer <apiKey>",
    "Content-Type": "application/json"
}

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

print(response.json())
```

```javascript Created Qualifying Life Event
const url = 'https://api.vitablehealth.com/v1/members/mbr_abc123def456/qualifying-life-events';
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <apiKey>', 'Content-Type': 'application/json'},
  body: '{"event_type":"lost_job_based_coverage"}'
};

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

```go Created Qualifying Life Event
package main

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

func main() {

	url := "https://api.vitablehealth.com/v1/members/mbr_abc123def456/qualifying-life-events"

	payload := strings.NewReader("{\n  \"event_type\": \"lost_job_based_coverage\"\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 Created Qualifying Life Event
require 'uri'
require 'net/http'

url = URI("https://api.vitablehealth.com/v1/members/mbr_abc123def456/qualifying-life-events")

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  \"event_type\": \"lost_job_based_coverage\"\n}"

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

```java Created Qualifying Life Event
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.vitablehealth.com/v1/members/mbr_abc123def456/qualifying-life-events")
  .header("Authorization", "Bearer <apiKey>")
  .header("Content-Type", "application/json")
  .body("{\n  \"event_type\": \"lost_job_based_coverage\"\n}")
  .asString();
```

```php Created Qualifying Life Event
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.vitablehealth.com/v1/members/mbr_abc123def456/qualifying-life-events', [
  'body' => '{
  "event_type": "lost_job_based_coverage"
}',
  'headers' => [
    'Authorization' => 'Bearer <apiKey>',
    'Content-Type' => 'application/json',
  ],
]);

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

```csharp Created Qualifying Life Event
using RestSharp;

var client = new RestClient("https://api.vitablehealth.com/v1/members/mbr_abc123def456/qualifying-life-events");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <apiKey>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"event_type\": \"lost_job_based_coverage\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Created Qualifying Life Event
import Foundation

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

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

let request = NSMutableURLRequest(url: NSURL(string: "https://api.vitablehealth.com/v1/members/mbr_abc123def456/qualifying-life-events")! 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()
```