# Ping the server

Source: https://developer.avalara.com/invoice_services_en/authentication/ping_the_server/

# Ping the server

After you set up your authentication method, use "ping" once to verify that the service is up. These API's have the purpose of active monitoring.

A **2xx** status code is expected and it means that the request was successful and the browser has received the expected information. 

-   Run the [Health API](https://api-gateway.sandbox.avalarabrasil.com.br/portal/health) to verify the portal status: 

       https://api-gateway.sandbox.avalarabrasil.com.br/portal/health

-   Run the [OAuth API](https://api-gateway.sandbox.avalarabrasil.com.br/oauth/health) to verify the OAuth status: 

       https://api-gateway.sandbox.avalarabrasil.com.br/oauth/health

-   Run [Avatax Brazil API](https://avataxbr.sandbox.avalarabrasil.com.br/v3/ping) to verify Avatax Brazil status: 

       https://avataxbr.sandbox.avalarabrasil.com.br/v3/ping

**Advice:** We recommend that pings jobs run at least 5 minutes apart. If you do it in shorter periods, you may receive an error such as: "Hit Limit".

[Previous](/invoice_services_en/authentication/how_to_authenticate)

[Next](/invoice_services_en/errors/api_error_handling)