Create custom domain
Add custom domain for short links. DNS verification required. First domain becomes primary. QR code template auto-created.
Documentation Index
Fetch the complete documentation index at: https://docs.h0p.co/llms.txt
Use this file to discover all available pages before exploring further.
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:
curl -H "x-api-key: your-api-key-here" https://api.h0p.co/short-link/listTypes 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
Body
Domain name to add (e.g., links.example.com)
Domain creation request
Custom domain name for short links
1"links.example.com"
Response
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