Professional REST API
http://www.api.kayparts.co/api
2.1 (Latest)
Sanctum / Bearer Token
| Method | Endpoint | Description | Security |
|---|---|---|---|
| POST | /api/login | Authenticates user and returns access token. | PUBLIC |
| GET | /api/user | Retrieves the current authenticated user profile. | TOKEN REQ |
| POST | /api/logout | Revokes the current access token. | TOKEN REQ |
| GET | /api/categories | List all existing categories. | TOKEN REQ |