Update domain URLs (index/fallback), deep linking (AASA/Android), and QR code template. Partial updates supported.
API Key authentication for programmatic access.
How to use:
x-api-key header with each requestExample:
curl -H "x-api-key: your-api-key-here" https://api.h0p.co/short-link/listTypes of API keys:
Security notes:
Unique identifier in UUID v7 format
"01933eb8-541f-7000-a9f4-e4eee80ff04e"
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
{
"applinks": {
"apps": [],
"details": [
{
"appID": "TEAMID.com.example.app",
"paths": ["*"]
}
]
}
}Android Asset Links JSON for deep linking
[
{
"relation": [
"delegate_permission/common.handle_all_urls"
],
"target": {
"namespace": "android_app",
"package_name": "com.example.app",
"sha256_cert_fingerprints": [
"AA:BB:CC:DD:EE:FF:00:11:22:33:44:55:66:77:88:99:AA:BB:CC:DD:EE:FF"
]
}
}
]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