Update domain settings
Update domain URLs (index/fallback), deep linking (AASA/Android), and QR code template. Partial updates supported.
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
Domain settings to update (partial update supported)
Domain update request
Fallback URL for invalid/deleted short links
"https://example.com/404"
Default QR code template for all links on this domain
URL to redirect to when accessing domain root
"https://example.com"
Apple App Site Association JSON for deep linking
Android Asset Links JSON for deep linking
Response
Domain settings updated successfully
Complete domain object with all fields
Domain UUID
"01933eb8-541f-7000-a9f4-e4eee80ff04e"
Creation timestamp
"2024-01-15T10:30:00Z"
Last update timestamp
"2024-01-16T14:20:00Z"
Organization UUID
"01933eb8-541f-7000-a9f4-e4eee80ff04e"
Domain name
"links.example.com"
Whether domain is active
true
Last DNS check timestamp
"2024-01-15T10:35:00Z"
Complete verification status
true
TXT record value for DNS verification
"_vercel=1234567890abcdef"
Primary domain status
true
QR code template UUID
"01933eb8-541f-7000-a9f4-e4eee80ff04e"
Fallback URL for 404s
"https://example.com/404"
Apple Universal Links config
Android App Links config
Default QR code template