Upsert shortcut
Creates a shortcut at the given slug, or updates the existing one. Returns 201 when a new shortcut is created and 200 when an existing one is updated.
Documentation Index
Fetch the complete documentation index at: https://uselora.dev/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The shortcut's slug.
Body
The desired state of the shortcut at this slug. tagIds and similar associations aren't accepted here — use POST /v1/shortcuts or PATCH /v1/shortcuts/{slug} for those.
The destination URL. Accepts http(s), mailto:, tel:, sms:, and app deep-links (e.g. notion://, slack://). Unsafe schemes (javascript:, data:, file:, …) are rejected.
32000"https://google.com"
"mailto:hello@example.com"
"tel:+1234567890"
"notion://workspace/page"
Optional title for the shortcut
Optional description for the shortcut
Visibility level of the shortcut
PRIVATE, WORKSPACE, UNLISTED Whether to mask the destination URL
Optional shortcut password. Plaintext is accepted only on write; responses expose passwordProtected instead.
1 - 256Optional expiration timestamp (ISO 8601, e.g. 2026-05-08T12:34:56Z). Must be in the future on create; updates accept past values.
Optional iOS-only destination. iOS visitors fall back to destination when omitted. Same URL scheme rules as destination.
32000Optional Android-only destination. Android visitors fall back to destination when omitted. Same URL scheme rules as destination.
32000Geo-targeting map of country code to destination URL. Keys must be supported ISO-3166-1 alpha-2 country codes.
Folder ID to place this shortcut in (defaults to workspace default folder)
"550e8400-e29b-41d4-a716-446655440001"
Response
The existing shortcut at this slug was updated.
A shortcut.
Unique shortcut ID.
PRIVATE, WORKSPACE, UNLISTED, PUBLIC Whether this shortcut requires a password before redirecting. The password hash is never returned.
Country-specific destination overrides keyed by ISO-3166-1 alpha-2 country code.
Dynamic placeholders parsed from the destination URL. Empty for static destinations. See docs/dynamic-placeholders.md.
ID of the folder this shortcut is filed in. Defaults to the workspace's default folder when omitted on create.
IDs of the tags applied to this shortcut. Tags are for categorization; folderId is the shortcut's location.
^[0-9abcdefghjkmnpqrstvwxyz]{8}$["a1b2c3d4"]ID of the workspace the shortcut belongs to.
ID of the user who created the shortcut.
ISO 8601 creation timestamp.
ISO 8601 timestamp of the last update.