---
title: "mint a read-only share token for a job"
method: GET
path: "/w/{workspace}/jobs/job_view_token/{id}"
tags: ["job"]
---

# mint a read-only share token for a job

`GET /w/{workspace}/jobs/job_view_token/{id}`

Returns a stateless `{job_id}.{hmac}` token that grants an authenticated workspace member read access to this job (and its flow subtree) via a `view_token` query param or `X-View-Token` header. Only callable by a user who can already read the job.

## Path parameters

- `workspace` string, required
- `id` string, uuid, required

## Response `200`

the share read token

---

[API](https://skmtc.dev/windmill/apis/windmill-api.md) · [All operations](https://skmtc.dev/windmill/apis/windmill-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/windmill/windmill-api/revisions/4ca37a00d296/schema)
