# Link shortening

**URL:** <https://community.hubspot.com/t/link-shortening/99314>\
**Category:** APIs & Integrations\
**Tags:** php, developer-tools, timeline-and-extensions-apis\
**Created:** [February 2, 2024, 2:48pm UTC](https://community.hubspot.com/t/link-shortening/99314 "2024-02-02T14:48:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AntreasPapadopo](https://avatars.discourse-cdn.com/v4/letter/a/53a042/32.png) [@AntreasPapadopo](https://community.hubspot.com/u/AntreasPapadopo)\
**Post date:** [February 2, 2024, 2:48pm UTC](https://community.hubspot.com/t/link-shortening/99314/1 "2024-02-02T14:48:14Z")

</div>

Is there an API endpoint that does just this? Say you provide it with a full/normal link ([google.com](http://google.com)) and it returns the shortened version (hubs.ly/abc123). Or should I be looking into bitly API? Below is what I am referring to.  
[Link shortening in social posts](https://knowledge.hubspot.com/social/link-shortening-in-social-posts)

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [February 2, 2024, 9:28pm UTC](https://community.hubspot.com/t/link-shortening/99314/2 "2024-02-02T21:28:04Z")

</div>

Hi, @AntreasPapadopo 👋 Welcome to our community!

You are not missing an option. While we can access this in-app from the Social Media tool, there is not a HubSpot public endpoint to do this programmatically.

Have fun building! Jaycee
