Create an app store link
create_app_linkPro only: create one short link for a mobile app. iPhones and iPads that open it go to the app's App Store page, Android devices to its Google Play page, and any other device (such as a desktop) sees a Gajo page with a QR code to scan with a phone. Use it for a link that should send people to the right app store; for an ordinary link use shorten_url.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| iosUrl | Yes | Where iPhones and iPads go: the app's App Store page (https://apps.apple.com/.../id...) or, for a beta, its TestFlight link (https://testflight.apple.com/join/...). | |
| appName | No | The app's name for the page. Optional: looked up from the App Store when omitted. | |
| otherwise | Yes | The page every other device (such as a desktop) sees, always with a QR code of the link to scan with a phone: mobile_only says the link must be opened in a mobile browser; store_links lists both store URLs; store_badges shows the official App Store and Google Play badges under "Click below to download {appName}" and is only for apps published in both stores (use store_links or mobile_only for TestFlight and Google Play test links). | |
| androidUrl | Yes | Where Android devices go: the app's Google Play page (https://play.google.com/store/apps/details?id=...) or a Google Play test link (https://play.google.com/apps/internaltest/... or /apps/testing/...). | |
| customCode | No | Optional custom code (3-50 letters, digits, or hyphens) for a gajo.io/c/{code} link. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| active | No | ||
| appLink | No | App links only: where iOS and Android go, and the page other devices see. | |
| shortUrl | Yes | Ready-to-share short link. | |
| shortCode | Yes | ||
| clickCount | No | ||
| createdDate | No | ISO-8601 instant. | |
| expiresDate | No | ISO-8601 instant; null when the link never expires. | |
| fallbackUrl | No | ||
| originalUrl | Yes | ||
| isCustomCode | No |