---
title: "The baby has arrived"
method: POST
path: "/api/vega/arrived"
tags: ["Profile"]
---

# The baby has arrived

`POST /api/vega/arrived`

## Request

- Base URL: `https://getmyluna.app`
- URL: `https://getmyluna.app/api/vega/arrived`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `luna_session`

Any caregiver. Only while expecting: sets the date of birth, clears the due date and starts the daily log. Returns `409` if a date of birth is already set.

## Request body

- ArrivedRequest
  - `dob` string, required: YYYY-MM-DD, not in the future.

## Response `200`

Success

- ProfileUpdateResponse
  - `ok` boolean, required
  - `profile` object, required

## Other responses

- `400`: Bad Request
- `401`: Missing or invalid credentials
- `403`: `insufficient_scope`: the bearer token lacks the `write` scope
- `409`: Conflict

---

[API](https://skmtc.dev/getmyluna/apis/luna-api.md) · [All operations](https://skmtc.dev/getmyluna/apis/luna-api/llms.txt) · [OpenAPI document](https://skmtc.dev/getmyluna/apis/luna-api/revisions/ef7b359c9648?raw)
