v1

latestSwagger 2.02026-07-1361018.9 KB
Alias

Create alias

This POST method creates a new alias under a specified domain. If no domain is specified in the request the alias will be attached to the default domain Short.fyi

NOTE: You can override the domain level Meta Tags and Tracking Snippets by specifying them for each URL. Any variables you add to a specific URL will always override domain level settings.

post/aliases

Query parameters

domainNamestring

domain which alias will belong to (string without http/https or /)

aliasNamestring

alias (without / at the beginning)

Request body

Response

Response contains aliasName, domainName and full generated short link

aliasNamestring
domainNamestring
shortUrlstring

Example response

{
  "aliasName": "aBcDe012",
  "domainName": "your.domain.com",
  "shortUrl": "https://your.domain.com/aBcDe012"
}