Check Token
Verify if the current authentication token is valid.
Endpoint
Authentication
Required
Request Body
No body required. The token is extracted from the Authorization header.
Response
Success (204 No Content)
Empty response body indicates the token is valid.
Error Responses
Unauthorized (401)
or
Example Request
curl -X POST "https://api.luxmart.site/v1/accounts/check/token/" \
-H "Authorization: Token your_access_token"
Notes
- This endpoint is useful for checking token validity before making other API calls
- Returns 204 (No Content) if token is valid
- Returns 401 if token is invalid or expired