Once a user has completed the installation process and given your app permission to access their data, use the authorization code we sent you, together with your secret key, to request an access token and a refresh token. (The access token is only valid for 5 minutes.) You can find your secret key in the Wix Developers Center.
Request a new access token each time you call our APIs. Use the refresh token together with your secret key, to request a new access and refresh tokens.