---
title: "Export account data (data rights)"
method: GET
path: "/account/export"
tags: ["Account & Privacy"]
---

# Export account data (data rights)

`GET /account/export`

## Request

- Base URL: `https://api.envoisms.ma/v1`
- URL: `https://api.envoisms.ma/v1/account/export`
- Auth: HTTP bearer

Self-service data export (Law 09-08 / GDPR): returns the account's personal data — profile, ledger, message logs, contacts, webhooks, verification sessions, support cases, opt-outs — as one JSON artefact. Dashboard session only; API keys are refused. Tables over the export cap are truncated and named in `truncated_tables` inside the file itself.

## Response `200`

JSON export bundle (Content-Disposition attachment)

## Other responses

- `403`: Only available from a dashboard session

---

[API](https://skmtc.dev/envoisms/apis/envoisms-ma-api.md) · [All operations](https://skmtc.dev/envoisms/apis/envoisms-ma-api/llms.txt) · [OpenAPI document](https://skmtc.dev/envoisms/apis/envoisms-ma-api/revisions/662db074bd86?raw)
