---
title: "Mint Job Token"
method: POST
path: "/api/jobs/{job_id}/token"
tags: ["Jobs and downloads"]
---

# Mint Job Token

`POST /api/jobs/{job_id}/token`

## Request

- Base URL: `https://epw.tools`
- URL: `https://epw.tools/api/jobs/{job_id}/token`
- Auth: API key in header `X-API-Key`

Mint a short-lived URL token for this job (roadmap 4.2).

Header-authenticated; the returned token goes into SSE/download URLs in
place of the API key so keys stop leaking into access logs, browser
history, and Referer headers.

## Path parameters

- `job_id` string, required

## Query parameters

- `key` string, nullable
- `token` string, nullable

## Headers

- `X-API-Key` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `402`: Insufficient credits for this operation.
- `422`: Validation Error
- `429`: Rate limit exceeded — retry after a short delay.

---

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