---
title: "Export contact memory as downloadable JSON"
method: GET
path: "/api/v1/contacts/{id}/export"
---

# Export contact memory as downloadable JSON

`GET /api/v1/contacts/{id}/export`

## Request

- Base URL: `https://memchats.com`
- URL: `https://memchats.com/api/v1/contacts/{id}/export`
- Auth: HTTP bearer

## Path parameters

- `id` integer, required

## Response `200`

Structured JSON export with contact info, memory, and recent messages. Intended for therapist or personal review.

- object
  - `export_info` object
    - `generated_at` string, date-time
    - `generated_by` string
    - `disclaimer` string
    - `contact_name` string
  - `contact` object
  - `memory` object, nullable
  - `memory_version` integer
  - `recent_messages_sample` object[]

## Other responses

- `401`: Unauthorized
- `404`: Contact not found

---

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