Check access to API to handle fallback solution

Hello,

I’m using Unity with ConvAI. On the beginning of my application, I want to check if I’ve access to the convai api, and if not, to handle a custom fallback solution that don’t use AI.

Do you know if there is a method I can use or something like that ? Without using my quota of interaction by preference.

A few weeks ago, I simply checked if I had access to the convai website with a UnityWebRequest, but I’ve already encountered the case where the api was accessible but it was not the case with the website.

Thanks