---
title: "Your consents"
method: GET
path: "/api/consent"
tags: ["Account"]
---

# Your consents

`GET /api/consent`

## Request

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

Whether this caregiver has agreed to the current health-data and Ask Luna (AI) wording, with version and time.

## Response `200`

Success

- ConsentStatus
  - `health` ConsentEntry, required
    - `granted` boolean, required
    - `granted_at` string, nullable: UTC ISO time of the active grant.
    - `version` string, required: Wording version currently shown.
    - `text` string, required: The exact consent wording.
  - `ai` ConsentEntry, required
    - `granted` boolean, required
    - `granted_at` string, nullable: UTC ISO time of the active grant.
    - `version` string, required: Wording version currently shown.
    - `text` string, required: The exact consent wording.
  - `privacy_url` string

## Other responses

- `401`: Missing or invalid credentials

---

[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)
