---
title: "Get Data Sharing Consent"
method: GET
path: "/api/user/data-sharing-consent"
---

# Get Data Sharing Consent

`GET /api/user/data-sharing-consent`

Return the current user's data sharing consent state.

## Response `200`

Successful Response

- DataSharingConsentResponse — Returned by the consent setter and getter. ``data_sharing_consent_at`` is the timestamp of the last toggle, not "first opted in." If a user opts in, then opts out, this column holds the opt-out time.
  - `data_sharing_consent` boolean, required
  - `data_sharing_consent_at` string, nullable, required

## Changes

- **2026-05-01** `beaacd674ec8` — 1 info
  - endpoint added
- **2026-03-20** `4c528359213d` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/mozilla-ai/apis/clawbolt/changes/api/user/data-sharing-consent/get.md)

---

[API](https://skmtc.dev/mozilla-ai/apis/clawbolt.md) · [All operations](https://skmtc.dev/mozilla-ai/apis/clawbolt/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/mozilla-ai/clawbolt/revisions/579c110de1b8/schema)
