Shorten a link
shorten_linkTurn a long web address into a short snip.link link, free, and get a QR code for it. Use this when the user wants a short link, a link they can change after printing, or click and scan counts. When the user is not signed in to Snip the link works at once and the answer includes a claim link the user can open to keep it in a free Snip account and see its clicks. When they are signed in (the account endpoint or an API key) the link is saved to their account, and a custom ending (snip.link/your-ending) is allowed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The http or https address to shorten. | |
| title | No | A name for the link in the user's dashboard. Needs the user signed in to Snip. | |
| domain | No | One of the user's own live domains (go.yourbrand.com, see list_domains) to put the link on instead of snip.link. Needs the user signed in on a plan with own domains. | |
| ending | No | Custom ending for snip.link/<ending>: letters, digits, dashes, underscores. Needs the user signed in to Snip. |