# How to get share link programmatically

**URL:** <https://community.fibery.io/t/how-to-get-share-link-programmatically/4030>\
**Category:** Ideas & Features\
**Tags:** automations\
**Created:** [February 21, 2023, 8:54pm UTC](https://community.fibery.io/t/how-to-get-share-link-programmatically/4030 "2023-02-21T20:54:11Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![dagyu](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/dagyu/32/6269_2.png) [@dagyu](https://community.fibery.io/u/dagyu)\
**Post date:** [February 21, 2023, 8:54pm UTC](https://community.fibery.io/t/how-to-get-share-link-programmatically/4030/1 "2023-02-21T20:54:11Z")

</div>

I would to create a rule that when an action happen do the following things:

1. get a public link or generate one if is not already present
2. send this link via email

Someone could help me? How can I obtain this behaviour?

---

<div class="post-metadata">

**Author:** ![Chr1sG](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/chr1sg/32/3941_2.png) [@Chr1sG](https://community.fibery.io/u/Chr1sG)\
**Post date:** [February 21, 2023, 9:28pm UTC](https://community.fibery.io/t/how-to-get-share-link-programmatically/4030/2 "2023-02-21T21:28:07Z")

</div>

It is not currently possible to generate/access a sharing link programmatically, sorry.

---

<div class="post-metadata">

**Author:** ![dagyu](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/dagyu/32/6269_2.png) [@dagyu](https://community.fibery.io/u/dagyu)\
**Post date:** [February 21, 2023, 10:34pm UTC](https://community.fibery.io/t/how-to-get-share-link-programmatically/4030/3 "2023-02-21T22:34:06Z")

</div>

This kind of feature is on the roadmap?

---

<div class="post-metadata">

**Author:** ![Chr1sG](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/chr1sg/32/3941_2.png) [@Chr1sG](https://community.fibery.io/u/Chr1sG)\
**Post date:** [February 22, 2023, 6:34am UTC](https://community.fibery.io/t/how-to-get-share-link-programmatically/4030/4 "2023-02-22T06:34:10Z")

</div>

It’s not the first time a user has enquired about this, so the idea is in our backlog, but there are currently no plans for when it might get implemented.  
I have converted this topic to a feature request so that other community members can vote on it.

---

<div class="post-metadata">

**Author:** ![HereBeBeasties](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/herebebeasties/32/5429_2.png) [@HereBeBeasties](https://community.fibery.io/u/HereBeBeasties)\
**Post date:** [February 23, 2023, 9:10am UTC](https://community.fibery.io/t/how-to-get-share-link-programmatically/4030/5 "2023-02-23T09:10:23Z")

</div>

Note that you don’t need the title in the URL for it to work, so you can just use the space, database name and external ID to generate a normal link:

https://\<YOUR\_WORKSPACE\>.fibery.io/fibery/space/\<YOUR\_SPACE\>/database/\<YOUR\_DATABASE\_NAME\>/{{PublicId}}

A public share link isn’t possible though.

---

<div class="post-metadata">

**Author:** ![Chr1sG](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/chr1sg/32/3941_2.png) [@Chr1sG](https://community.fibery.io/u/Chr1sG)\
**Post date:** [February 23, 2023, 9:20am UTC](https://community.fibery.io/t/how-to-get-share-link-programmatically/4030/6 "2023-02-23T09:20:25Z")

</div>

> [@HereBeBeasties](#):
>
> https://\<YOUR\_WORKSPACE\>.fibery.io/fibery/space/\<YOUR\_SPACE\>/database/\<YOUR\_DATABASE\_NAME\>/{{Public}}

FYI, in this construction {{Public}} means the Public ID (which is available in formulas)

---

<div class="post-metadata">

**Author:** ![dagyu](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/dagyu/32/6269_2.png) [@dagyu](https://community.fibery.io/u/dagyu)\
**Post date:** [February 23, 2023, 8:06pm UTC](https://community.fibery.io/t/how-to-get-share-link-programmatically/4030/7 "2023-02-23T20:06:46Z")

</div>

Sorry, but I would to share the public link no the internal one
