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

---

[API](https://skmtc.net/mozilla-ai/apis/clawbolt.md) · [All operations](https://skmtc.net/mozilla-ai/apis/clawbolt/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mozilla-ai/clawbolt/versions/327e305858ac/schema)
