# your whole site in one file

One click gives you everything Spookat holds for your site as a JSON file: every conversation, every message, the settings and the activity log. No secrets in it, no waiting.

2026-11-09 · Kuba

Your conversations are yours. That sentence is on a lot of websites, usually right above a support article that explains how to request an export, which arrives by email in "up to 72 hours" as a zip of CSV files that don't quite line up.

In Spookat it's a button. The site owner clicks it, and the download starts right away: one JSON file with everything we hold for the site. This post is what's in that file, what isn't, and why we built it this way before launch instead of after the first angry email.

## one click, one file

In the dashboard, the owner of a site has an export button. It downloads a file named like this:

```
spookat-yoursite.com-2026-11-09.json
```

There's no queue, no "we'll email you a link" and no limit on how often you press it. The file is written as it downloads, conversation by conversation, so a site with a year of history starts downloading as fast as a site with a week of it, and nothing has to be prepared first.

It's plain JSON. Any language reads it, `jq` reads it, and a person can open it in an editor and search it.

## what's in it

The file has three parts: the site, the conversations, and visitors whose conversations are gone.

**The site.** Everything you set up, so you could rebuild it somewhere else:

- the domain, the name, the plan and when the site was created,
- how many days of history it keeps,
- the look, both the one that's live and the draft you're working on,
- the assistant's settings, if you use one,
- your Slack channels by name, and your routing rules if you have them,
- your webhook: the address it posts to, which events it sends and whether it carries full text or ids only,
- the activity log: every change to the site, who made it, and which agent key if it was an agent.

**Every conversation**, oldest first, each with:

- its ref, like `SP-00A1`, the one your team sees in Slack and the dashboard,
- whether it's open or closed, who it's assigned to, whether the assistant was answering, and why it was flagged, if it was,
- its intent tags, once those arrive (they're coming soon),
- when it started and when the last message came in,
- the visitor: the email they left, if they left one, your user id if your site sent one, when they first wrote, and whether they're blocked,
- **every message**: who wrote it (the visitor, a person on your team, or the assistant) and under which name, whether it's a message or a team note, the text, the time, which door it came through (the widget, Slack, the dashboard or an agent), and for visitor messages, the small context snapshot from the moment they sent it: the page, where they came from, their language, time zone and local time, the kind of browser, the country and the widget's language.

Edited messages are marked with when they were edited, and the owner's export includes the text from before the edit. Deleted messages are in it too, marked as deleted, because the owner can still see them in the dashboard and an export that hid them would be lying.

**Visitors without a conversation.** When a conversation is deleted or ages out, the visitor it belonged to is removed shortly after. Until then they're still data we hold, so they're in the file.

## what's not in it

- **No secrets.** No API keys, no webhook signing secret, no Slack tokens, no identity secret. The file is safe to hand to someone who helps you with a migration or an audit without also handing them the keys to your account.
- **No IP addresses**, because we never store them anywhere. [Everything we store about a visitor](/blog/what-we-store-about-a-visitor/) has the full list, and this file is how you can check it.
- **Nothing we don't hold.** There's no second, bigger dataset behind this one. What's in the file is what Spookat has for your site.

## a small example

Trimmed to one conversation and one message, it looks like this:

```json
{
  "exportedAt": 1794211200000,
  "site": { "domain": "yoursite.com", "plan": "pro", "historyDays": 90 },
  "convos": [
    {
      "ref": "SP-00A1",
      "status": "closed",
      "assignee": "marta",
      "visitor": { "email": "ola@example.com", "userId": null },
      "messages": [
        {
          "author": "visitor",
          "kind": "msg",
          "text": "do you ship to austria?",
          "via": "widget",
          "ctx": { "url": "https://yoursite.com/pricing", "lang": "de-AT", "country": "AT" }
        }
      ]
    }
  ]
}
```

The real file has every field listed above.

## for agents, too

An agent with an admin key can ask for the same export through the API. It gets the same file with two differences: deleted messages and pre-edit text are left out, because agents never see those anywhere else either. Every export through the API shows up in the site's activity log, with the name of the key that asked, so an owner can always see when an agent took a copy.

## what it's for

We built the export for a few very ordinary reasons.

- **A visitor asks what you hold about them.** Search the file for their email and you have their conversations, with every field, in a minute.
- **You want your own backup.** Download it on the first of every month and keep it wherever you keep things.
- **You want to analyse your chats.** What people ask about most, on which pages, in which languages. It's JSON, so a spreadsheet or a short script gets you there.
- **You want to leave.** We'd rather you didn't, but if you do, you take everything with you, in a format you can read without us.

## the other half: deleting

Taking a copy is half of owning your data. The other half is making it go away.

When an admin deletes a conversation, it's gone for good: the messages, the copies of any webhook deliveries that carried its text, and the visitor too if it was their only conversation, email included. Your webhook gets a `convo.purged` event with the conversation's ref, so your CRM or your automation can delete its own copy in the same minute. Conversations that age out of your plan's history go the same way, with the same event.

So if a visitor asks you to delete what you hold about them, it's two steps: find their conversations in the export by email, delete each one in the dashboard. Nothing is left behind in Spookat, and our backups age out 30 days later. The thread in your Slack is your own workspace's copy, so that one you delete there.

## why before launch

Exports tend to get built after a customer asks for one, in a hurry, and then never touched again. We wanted it in from day one, for the same reason our widget has a size budget that fails the build: it's a promise, and a promise is easier to keep when the code holds you to it.

It also keeps us honest about what we store. Every field Spookat keeps about a conversation has to show up in this file. If we ever added something and didn't want it in the export, that would be a good sign we shouldn't be keeping it.

[See the plans](/pricing/). The export is on every one of them, and so is a 14-day trial with no card.

---
source: https://spookat.com/blog/export-everything/
