I need some service to see if my api is working

Hello,

I’m developing a system for my company where I need to show if some services are online and I cant see on Auth0 any route that I can just call and give me this. I want something that I dont need to pay or spend a lot of money because of that.

Anyone can help me please?

Hi @g.felippe5965,

To check if your API is working, you should request an access token for that API and use it with the API.

Alternatively, you could validate the access token.

Thanks,
Rueben

With this solution, I will have to request a M2M token many time. This will be expensive, right?

Hi @g.felippe5965,

Each time you need to check whether your API is working, you will have to request a token. This will only be expensive if you are making too many requests to get an M2M access token.

Keep in mind that you could cache the access token for the duration of its lifetime, to avoid repeated M2M auth calls. Additionally, you can check your monthly M2M auth usage on support.auth0.com.

Thanks,
Rueben

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.