mint_link
Create a new access link for an existing qURL resource by providing its resource ID. Customize with expiration, one-time use, session limits, and access policies to control access.
Instructions
Mint a new access link for an existing qURL resource. Accepts either a resource ID (r_ prefix) or qURL display ID (q_ prefix). Use this to generate additional access links without creating a new resource. Do not provide both expires_in and expires_at.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resource_id | Yes | The resource ID (r_ prefix) or qURL display ID (q_ prefix) to mint a new access link for. If a q_ ID is passed, the API resolves it to the parent resource automatically. | |
| label | No | Human-readable label identifying who this link is for (max 500 chars) | |
| expires_in | No | Relative duration until expiration (e.g., "5m", "24h", "7d"). Mutually exclusive with expires_at | |
| expires_at | No | Absolute expiration timestamp (RFC 3339). Mutually exclusive with expires_in | |
| one_time_use | No | Whether this link can only be used once | |
| max_sessions | No | Maximum concurrent sessions (0 = unlimited, max 1000) | |
| session_duration | No | How long access lasts after clicking (e.g., "1h") | |
| access_policy | No | Access control policy for this link |