Domains
List all domains available for creating short links. This includes default, premium, subdomain, and custom domains.
Domain Types
| Type | Example | Access |
|---|---|---|
| default | u2l.ai | All plans |
| premium | u2.pe | Pro+ only |
| subdomain | myname.u2l.ai | Owner only |
| custom | links.mysite.com | Owner only (must be verified) |
Subdomains and custom domains must be set up via the dashboard first. The API does not support adding or verifying new domains — only using existing ones when creating links.
GET
/api/v1/domainsList all domains available for creating short links. Aggregates default, premium, subdomain, and verified custom domains.
List domains
curl "https://u2l.ai/api/v1/domains" \
-H "Authorization: Bearer u2l_live_your_api_key"200 OK
{
"domains": [
{
"domain": "u2l.ai",
"type": "default",
"verified": true
},
{
"domain": "u2.pe",
"type": "premium",
"verified": true
},
{
"domain": "myname.u2l.ai",
"type": "subdomain",
"verified": true
},
{
"domain": "links.mysite.com",
"type": "custom",
"verified": true
}
]
}