action shorten_create_alias { label: "Create alias" description: "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 \n\n **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." provider: shorten method: POST path: "/aliases" encoding: json input: { type: "object" properties: { aliasName: { type: "string" } destinations: { type: "array" items: { type: "object" required: ["url"] properties: { country: { type: "string" description: "ISO alpha-2 [country code](//en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements)" } os: { type: "string" description: "Please check the [supported OS list](#tag/OperatingSystems)" } url: { type: "string" } } } } domainName: { type: "string" } metatags: { type: "array" items: { type: "object" required: ["name", "content"] properties: { content: { type: "string" } name: { type: "string" } } } } snippets: { type: "array" items: { type: "object" required: ["id"] properties: { id: { type: "string" description: "Please check the [supported snippets list](#tag/Snippets)" } parameters: { type: "object" } } } } } additionalProperties: false } output: { type: "object" properties: { aliasName: { type: "string" } domainName: { type: "string" } shortUrl: { type: "string" } } } }