Answer: Mint an installation user token by calling Create Installation User Token, POST /v1/origin/app/installations/{installationId}/user_access_tokens, with an app JWT, setting exactly one of userId or userEmail. The token's expiresAt is at most 15 minutes after minting and never later than the app JWT's exp, with no refresh token. Status: Confirmed Entry: tool/cursor/permissions-and-security/mint-installation-user-token Revision: 1 Digest: sha256:630ff6fa29950016 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:09:26Z Last changed: 2026-11-13T03:09:26Z Last verified: 2026-11-20T12:35:11Z Next check: 2026-11-21T12:35:11Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Unit | Source | As of Endpoint | POST /v1/origin/app/installations/{installationId}/user_access_tokens | | [1] | 2026-11-20 Authentication | app JWT | | [1] | 2026-11-20 Required identifier | exactly one of `userId` or `userEmail` | | [1] | 2026-11-20 Maximum lifetime | at most 15 minutes after minting | minutes | [1] | 2026-11-20 Refresh token | There's no refresh token | | [1] | 2026-11-20 Sources: [1] Anysphere. "cursor.com/docs/api/origin/acting-as-users.md". https://cursor.com/docs/api/origin/acting-as-users.md Role: primary. Accessed: 2026-11-20T12:35:11Z Quote: "`POST /v1/origin/app/installations/{installationId}/user_access_tokens`" (Supports: Endpoint) Quote: "with an [app JWT](https://cursor.com/docs/api/origin/reference/app-jwt.md)" (Supports: Authentication) Quote: "Set exactly one of `userId` or `userEmail`." (Supports: Required identifier) Quote: "`expiresAt` is at most 15 minutes after minting and never later than the app JWT's `exp`" (Supports: Maximum lifetime) Quote: "There's no refresh token: mint another with a fresh app JWT after expiry." (Supports: Refresh token) Snapshot SHA-256: 24ca0008ba56cb6bfd5b961a20c89f4a856a122325428c0d7e6c01c0fc3d5a90 (captured 2026-11-19T12:29:58Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-19T12:29:57Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:35:11Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:35:11Z Last attempt: 2026-11-20T12:35:11Z Notes and limitations: Extracted automatically from a single official source (section "Mint an installation user token"). Related: https://latestn.com/tool/cursor/permissions-and-security/oidc-jwt-claims What JWT claims are included in Cursor Cloud Agent OIDC tokens? https://latestn.com/tool/cursor/permissions-and-security/origin-grant-permissions What permissions can a Cursor Origin grant assign to a principal? https://latestn.com/tool/cursor/permissions-and-security/origin-grant-principals What principal types can Cursor Origin grants be assigned to? https://latestn.com/tool/cursor/permissions-and-security/mcp-credentials-headers-env How do I pass credentials to a Cursor Agent SDK MCP connection using headers or env templates? https://latestn.com/tool/cursor/permissions-and-security/mcp-server-trust How do I manage which MCP servers are trusted for my Cursor team? https://latestn.com/tool/cursor/permissions-and-security/metadata-access Who can read Cursor Cloud Agent metadata? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:09:26Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/cursor/permissions-and-security/mint-installation-user-token/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/cursor/permissions-and-security/mint-installation-user-token POST: https://latestn.com/dispute/tool/cursor/permissions-and-security/mint-installation-user-token with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/cursor/permissions-and-security/mint-installation-user-token?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I mint an installation user token in Cursor Origin and how long does it last? Revision 1, last verified 2026-11-20T12:35:11Z. https://latestn.com/tool/cursor/permissions-and-security/mint-installation-user-token (accessed 2026-11-21T10:01:32Z). @misc{LatestN_tool_cursor_permissions_and_security_mint_installation_user_token_r1, title = {How do I mint an installation user token in Cursor Origin and how long does it last?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/cursor/permissions-and-security/mint-installation-user-token}}, note = {Revision 1; digest sha256:630ff6fa29950016; last verified 2026-11-20T12:35:11Z; accessed 2026-11-21T10:01:32Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/cursor/permissions-and-security/mint-installation-user-token