Hi all,
I’m calling a trustpilot endpoint (https://invitations-api.trustpilot.com/v1/private/business-units/60520db4bc25b30001dadc3a/email-invitations) with an access token in the header.
This all works fine, but the accesstoken is only valid for 4 days.
I can request a new access token before every call, but requesting an access token too often results in an error:
https://developers.trustpilot.com/authentication#auth-code
It’s also possible to refresh the access token using the refresh token, but the refresh is also only valid for one time.
Does anyone have any pointers on how to go around these issues?