---
title: "Redeem an export token and download the bundle"
method: GET
path: "/export/download/{token}"
tags: ["Export"]
---

# Redeem an export token and download the bundle

`GET /export/download/{token}`

## Request

- Base URL: `https://api.percher.run`
- URL: `https://api.percher.run/export/download/{token}`
- Auth: none declared

Public route — the token IS the credential. Single-use: the first GET wins, concurrent or subsequent reads return 410. Streams a `.tar.gz` archive containing source code, `percher.toml`, env keys, custom domains, deploy history, and a per-framework migration README. Env values are included only when the mint request set `includeSecrets: true`.

## Path parameters

- `token` string, required

## Response `200`

Bundle stream

## Other responses

- `404`: Token or app not found
- `410`: Token expired, revoked, or already redeemed

---

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