---
title: "Create a signed download URL"
method: POST
path: "/api/public/v1/downloads/create-token"
tags: ["Public API v1 — Downloads", "Public API v1 — Downloads"]
---

# Create a signed download URL

`POST /api/public/v1/downloads/create-token`

## Request

- Base URL: `https://api.thebetterhire.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.thebetterhire.ai/api/public/v1/downloads/create-token`
- Auth: HTTP bearer

Generates a temporary token-based URL for downloading PDFs. The URL works without authentication (token = auth). Expires in 10 minutes.

## Request body

- CreateTokenRequest
  - `resource_type` string, required: Type: interview_report, debrief_report
  - `resource_id` string, required: Interview ID or candidate ID

## Response `201`

Successful Response

- CreateTokenResponse
  - `download_url` string, required
  - `expires_in_minutes` integer, required

## Other responses

- `422`: Validation Error

---

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