Integrating Custom API with Wix Studio Website

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/)

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.

You can use Calling Backend Code from the Frontend and 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.

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

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.

The first link above will cover this.