Add custom domain for short links. DNS verification required. First domain becomes primary. QR code template auto-created.
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:
Domain name to add (e.g., links.example.com)
Domain creation request
Custom domain name for short links
1"links.example.com"
Domain created successfully. Use DNS check endpoint to verify ownership.
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