Create Short Link
Provide a URL and a shortened link will be returned.
Provide a URL and a shortened link will be returned. Analytics can then be gathered on the clicks, browser type, etc.
Submitting the same URL for shortening will always result in the same shortened link. To generate a unique shortened link for the same URL, you can add extra query parameters to it. For example, appending a unique identifier like https://ayrshare.com?uniqueId=123 will create a distinct shortened link.
You may also include UTM parameters, which will be embedded in the shortened URL link.
Header Parameters
Authorization: Bearer API_KEY
. See API overview for more information.Request Body
URL to be shortened. Must be a valid URL starting with https://
Used to identify which Google Analytics ads campaign this referral references.
Used to identify a search engine, newsletter name, or other source.
Used to identify a medium such as email or cost-per-click.
Used for keyword analysis. Used to identify a specific product promotion or strategic campaign.
Used for paid search. Used to note the keywords for this ad.
Used for A/B testing and content-targeted ads. Used to differentiate ads or links that point to the same URL.