Create a domain
Request
- Base URL: https://api.short.io
- URL: https://api.short.io/domains
- Auth: API key in header Authorization
Request body
Domain hostname
Strip referer header on redirect
Default link type for the domain
Team to create the domain in. Required for non-admin organization members; optional for organization admins.
Example request
{
"hostname": "😀.link",
"hideReferer": true,
"teamId": 12345
}Response
Default Response
Domain ID
Enable cloaking for all links on the domain
Don't store visitor IPs in our database
Enable AI for all links on the domain
When the registration of a domain bought through us expires, null for external domains
Whether the registration renews itself before it expires, null for external domains. When true, an upcoming expiry needs no action from the customer
"all" requires every visitor to pass a proof-of-work check before the link resolves. That blocks scrapers, and also link previews, crawlers and any other client that does not run JavaScript.
Example response
{
"id": 12345
}Changes
No recorded changes to this operation across all 1 revision of this API.