---
title: "Redirect Asset"
method: GET
path: "/api/assets/redirect"
tags: ["assets"]
---

# Redirect Asset

`GET /api/assets/redirect`

## Request

- Base URL: `https://api.tintin-x.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.tintin-x.com/api/assets/redirect`
- Auth: none declared

Generate a fresh presigned URL and redirect to it.

No auth required — the S3 key is the secret (UUID-based, non-guessable).
Used by Excel export: hyperlink cells point here so clicking them
always gets a fresh, working URL regardless of when the file was
generated or how long the original presigned URL would have lasted.
Also used as a forced-download hook (``download=1``) by product UIs.

## Query parameters

- `key` string, required: S3 object key
- `download` boolean: When true, presign with Content-Disposition: attachment so the browser saves the file instead of displaying it inline. Lets a plain <a href> download cross-origin without a fetch/CORS hop.
- `filename` string, nullable: Suggested download filename (only used when download=true).

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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