This API checks the operational status of the application to ensure it is running and accessible. It is particularly useful for debugging connectivity and server health issues.
GET /api/v1/status
Bearer <Access-Token>
(Optional, depending on your implementation. For example, if you require authentication for all endpoints.)When the API is operational and the request is successful, it will return a JSON object indicating its status:
{
"status": "success",
"message": "API is up and running",
"timestamp": "3/29/2024 11:08:43 AM"
}
Invalid token
{ "status": "error", "message": "Unauthorized", "errors": { "authorization": "Token is invalid or expired" } }