---
title: "Life Events Upsert"
method: POST
path: "/life-events/upsert"
---

# Life Events Upsert

`POST /life-events/upsert`

## Request

- Base URL: `https://jyotish-api.bda.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://jyotish-api.bda.ai/life-events/upsert`
- Auth: none declared

## Request body

- LifeEventUpsertRequest
  - `session_id` string, nullable
  - `member_id` string, nullable
  - `email` string, nullable
  - `event` LifeEventRecord, required
    - `subject` string
    - `category` string, required
    - `event_label` string, required
    - `event_date` string, date, required
    - `notes` string, nullable
    - `source` string
    - `consented` boolean

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/bda/apis/bda-jyotish-panchang-service.md) · [All operations](https://skmtc.dev/bda/apis/bda-jyotish-panchang-service/llms.txt) · [OpenAPI document](https://skmtc.dev/bda/apis/bda-jyotish-panchang-service/revisions/90f241bf4009?raw)
