System Operational

KAYPARTS Professional REST API

Base URL

https://api.kayparts.co/api

Version

1.0.0 (Latest)

Authentication

Sanctum / Bearer Token

Main Core Endpoints

Format: JSON
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
POST /api/categories Create a new category (supports multipart image). Token Req
POST / PUT /api/categories/{id} Update category (Use POST with _method=PUT). Token Req
DELETE /api/categories/{id} Delete an existing category. Token Req