---
title: "Generate Token From Access Link"
method: GET
path: "/thread-access-links/{link_id}/generate-token"
tags: ["Thread Access"]
---

# Generate Token From Access Link

`GET /thread-access-links/{link_id}/generate-token`

## Request

- Base URL: `https://api.puppeteerai.com`
- URL: `https://api.puppeteerai.com/thread-access-links/{link_id}/generate-token`
- Auth: none declared

Validate a thread access link and generate a JWT token if valid.

Validates:
- Link exists
- Link is not expired
- Link is not revoked
- Link is not used (if single-use)

Returns:
    JSON with access_token and thread_id

## Path parameters

- `link_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/getpuppeteer/apis/puppeteer-core-api.md) - [All operations](https://skmtc.dev/getpuppeteer/apis/puppeteer-core-api/llms.txt) - [OpenAPI document](https://skmtc.dev/getpuppeteer/apis/puppeteer-core-api/revisions/94b4e928b42f?raw)
