# Ping

Ping is a health check endpoint.
It verifies the service is currently reachable.
This also checks that an API token is still valid.
This is a simple endpoint call.
It takes no parameters.
A successful call returns a 200 OK and a small response body.
That response reports which account and environment the token resolves to, such as a merchant or a partner account, and whether it is sandbox or production.
It is typically called frequently and automatically rather than as part of actual business logic.
This endpoint is useful as:
* an application startup check when an integration boots.
* a periodic keep-alive in a monitoring dashboard,
* a quick manual test after rotating an API key, to confirm the new key and its account.

A partner API token, or a merchant API token managed by a partner, also needs ping access enabled on the partner's account.
A direct merchant API token never needs this extra permission.
It shares the same error-handling shape as every other endpoint, such as response codes for 400, 401, 403, 429, or 500.
These error response codes are also diagnostically useful.
For example, a response code of 401 indicates the API token is invalid or expired.
A response code of 403 indicates the account lacks permission to use this endpoint, or the token resolves to neither a merchant nor a partner.
See Also:
To ping a webhook endpoint, see POST /v2/webhooks/endpoints/{{webhookId}}/ping

 - [GET /v2/ping](https://developer.flute.com/api-reference/v2/ping/flute-v2-get-ping.md): GET {{baseURL}}/v2/ping This endpoint pings an endpoint to validate the API token is active and valid. This endpoint returns 200 OK if the service is reachable and the token is valid. The response rep
