Update short link
Update an existing short link’s configuration.
Updatable: Domain, slug, destination, folder, tags, routing rules, QR code, password, max clicks, expiration, cloaking, meta tags Automatic: URL threat recheck, QR code template sync if domain changed, tag/folder count updates Note: All fields optional - only send fields to update
Authorizations
API Key authentication for programmatic access.
How to use:
- Create an API key from your dashboard settings
- Include the key in the
x-api-keyheader with each request - API keys have granular permissions (domains, shortLinks, files, stats, apiKeys)
Example:
Types of API keys:
- User keys: Linked to your user account (one per organization)
- Bot keys: Autonomous machine users (one per organization)
Security notes:
- Keep your API keys secure and never commit them to version control
- API keys cannot access authentication endpoints (/auth/*)
- Keys can be revoked at any time from the dashboard
Path Parameters
Unique identifier in UUID v7 format
"01933eb8-541f-7000-a9f4-e4eee80ff04e"
Body
Fields to update (partial update supported)
Short link creation/update request
Main destination URL/email/phone
UUID of the domain to use
"01933eb8-541f-7000-a9f4-e4eee80ff04e"
Domain name to use (alternative to domainId)
"links.example.com"
UUID of folder to organize link
"01933eb8-541f-7000-a9f4-e4eee80ff04e"
Array of tag names to associate
101 - 30Custom slug for the short link
1 - 50^(?![-_])[A-Za-z0-9-_]{1,50}(?<![-_])$"summer-sale"
Maximum number of clicks before link expires
x > 11000
Link expiration date/time
"2024-12-31T23:59:59Z"
Password to protect link access
5 - 25"secretpass123"
Hide destination URL in browser
false
Enable automatic deep linking to mobile apps
true
Smart routing rules array
Custom QR code configuration for this link
Custom Open Graph meta tags
Response
Short link updated successfully
Complete short link with all nested objects
Domain details
Smart routing rules with IDs
QR code configuration
Main destination configuration
Meta tags configuration
Associated tags
Short link UUID
"01933eb8-541f-7000-a9f4-e4eee80ff04e"
Organization UUID
"01933eb8-541f-7000-a9f4-e4eee80ff04e"
Whether link is active
true
QR code configuration UUID
"01933eb8-541f-7000-a9f4-e4eee80ff04e"
Domain UUID
"01933eb8-541f-7000-a9f4-e4eee80ff04e"
Folder UUID
"01933eb8-541f-7000-a9f4-e4eee80ff04e"
Short link slug
"summer-sale"
Complete short URL
"https://links.example.com/summer-sale"
Expiration timestamp
"2024-12-31T23:59:59Z"
Maximum click limit
1000
Current click count
x >= 0247
Whether link is password protected
false
Whether destination is hidden
false
Destination configuration UUID
"01933eb8-541f-7000-a9f4-e4eee80ff04e"
Creation timestamp
"2024-01-15T10:30:00Z"
Last update timestamp
"2024-01-16T14:20:00Z"