Shorten a URL
shorten_urlCreate a gajo.io short link for a URL and return it as shortUrl. Links follow your plan's code length and lifetime and count against its monthly quota. Pro plans can pass customCode for a branded gajo.io/c/{code} link, or shorten app deep links (myapp://...) with a web fallbackUrl.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The long URL to shorten (http, https, mailto, tel, ftp, sftp; Pro: app deep links). | |
| customCode | No | Pro only: custom code (3-50 letters, digits, or hyphens). Can't be combined with lifetimeDays. | |
| fallbackUrl | No | Pro, deep links only: web URL used when the app isn't installed. | |
| lifetimeDays | No | Days until the link expires; capped at your plan maximum. |