# Integrating Custom API with Wix Studio Website

**URL:** <https://forum.wixstudio.com/t/integrating-custom-api-with-wix-studio-website/59639>\
**Category:** Ask the community\
**Tags:** api, wix-studio, code\
**Created:** [May 31, 2024, 4:49pm UTC](https://forum.wixstudio.com/t/integrating-custom-api-with-wix-studio-website/59639 "2024-05-31T16:49:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Reyyan\_Khan](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/reyyan_khan/32/86899_2.png) [@Reyyan\_Khan](https://forum.wixstudio.com/u/Reyyan_Khan)\
**Post date:** [May 31, 2024, 4:49pm UTC](https://forum.wixstudio.com/t/integrating-custom-api-with-wix-studio-website/59639/1 "2024-05-31T16:49:23Z")

</div>

I am currently developing a website using Wix Studio and I need to integrate a custom API for enhanced functionality. My website **[link is]**([https://picsartzone.com/](https://picsartzone.com/))

Could you please provide guidance on the following:

1. What is the best method to integrate a third-party API with a Wix Studio site?
2. Are there any specific limitations or considerations I should be aware of when making API calls from within Wix Studio?
3. How can I ensure that the API requests are secure and that any sensitive data is protected?
4. Can you provide any examples or documentation that detail the process of setting up API integrations within Wix Studio?

Thank you for your assistance.

---

<div class="post-metadata">

**Author:** ![anthony](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/anthony/32/79536_2.png) [@anthony](https://forum.wixstudio.com/u/anthony)\
**Post date:** [June 5, 2024, 7:38pm UTC](https://forum.wixstudio.com/t/integrating-custom-api-with-wix-studio-website/59639/2 "2024-06-05T19:38:23Z")

</div>

> [@Reyyan\_Khan](#):
>
> - What is the best method to integrate a third-party API with a Wix Studio site?

You can use [Calling Backend Code from the Frontend](https://dev.wix.com/docs/develop-websites/articles/coding-with-velo/backend-code/web-modules/calling-backend-code-from-the-frontend) and [About the Secrets Manager](https://dev.wix.com/docs/develop-websites/articles/workspace-tools/developer-tools/secrets-manager/about-the-secrets-manager) to call backend code (where your API calls would be) from frontend code. The Secrets Manager would securely store your API keys.

> [@Reyyan\_Khan](#):
>
> Are there any specific limitations or considerations I should be aware of when making API calls from within Wix Studio?

Not much. There is a 14 second timeout on backend functions but most API calls should complete well before then.

> [@Reyyan\_Khan](#):
>
> How can I ensure that the API requests are secure and that any sensitive data is protected?

Using this method all communication between backend/server and frontend/client is encrypted over HTTPS. Just make sure not to return sensitive data in your functions.

> [@Reyyan\_Khan](#):
>
> Can you provide any examples or documentation that detail the process of setting up API integrations within Wix Studio?

The first link above will cover this.
