Looking for suggestions: wix-fetch & 3rd party API

Hi guys, i’m trying to learn scripting and especially on WIX’s platform. Essentially, i’m looking to use the developer tools to integrate my wix site with a 3rd party api.

I was thinking that i setup a backend 3rd party wix-fetch to the site, and then do a GET request on /user/list

https://dev.ost.com/docs/api_authentication.html
https://dev.ost.com/docs/api_users_list.html

Anyone mind teaching me a simple way to achieve this?

Thank you
John

Hi John,

It sounds like you are on the right track.
First, create an API_KEY: https://dev.ost.com/docs/kit.html.
Then, as you mentioned, use the wix-fetch API to create a GET request, according to the format expected by the 3rd party website (explained in the links you’ve attached).

Here you can find more information, and some examples, of how to use wix-fetch: wix-fetch - Velo API Reference - Wix.com.

Good luck,
Idan.