# API access for custom Plugin?

**URL:** <https://forum.lottiefiles.com/t/api-access-for-custom-plugin/2711>\
**Category:** Lottie Plugins\
**Created:** [April 29, 2022, 7:54am UTC](https://forum.lottiefiles.com/t/api-access-for-custom-plugin/2711 "2022-04-29T07:54:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![arne.spremberg](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.lottiefiles.com/arne.spremberg/32/1921_2.png) [@arne.spremberg](https://forum.lottiefiles.com/u/arne.spremberg)\
**Post date:** [April 29, 2022, 7:54am UTC](https://forum.lottiefiles.com/t/api-access-for-custom-plugin/2711/1 "2022-04-29T07:54:58Z")

</div>

Hi there,

I’m currently writing a plugin for the headless CMS Sanity ([sanity.io](http://sanity.io)) to use Lottie files similar to videos.  
So far so good - however I’d love to include LottieFiles as custom Asset source, similar to i.e. [Asset source for Unsplash | Sanity.io plugin](https://www.sanity.io/plugins/sanity-plugin-asset-source-unsplash)

To be able to do that, I’d need some kind of API access using OAuth2 or similar. I was successful in logging in by pretending to be the Figma Plugin - but obviously I can’t publish anything using that hack… 😉

Does anyone here have any idea about possible solution? Would there be a LottieFiles employee I could talk to about this?

Thanks,  
Arne
