get category
Endpoint
GET /api/categories/{identifier}
{identifier} - id or slug
Request Headers
{
"Accept": "application/json",
"Content-Type": "application/json",
for now bearer token not used
"Bearer Token": "17|YROk6eOAMh8596SAONJr8KwQGzmqLXPaTBx5QdBn09989ab0"
}
Request Body
{
}
Response Body (200)
[
{
"id": 1,
"name": "Luxury Travel",
"description": "Luxury Travel description",
"intro": "Intro test",
"short_description": "Luxury Travel description",
"picture": "http://0.0.0.0:8035/storage/service-categories/01K3GV79PPE3JN86DAGR4GFFFE.png",
"created_at": "2025-08-22T14:28:26.000000Z",
"updated_at": "2025-09-04T09:35:57.000000Z",
"slug": "luxury-travel",
"services": [
{
"id": 4,
"name": "dfw",
"description": "ewfg",
"intro": null,
"short_description": "ewfg",
"picture": "http://0.0.0.0:8035/storage/services/01K396Z21Q2SA6KWZ58B3XH6ZM.png",
"slug": "dfw",
"created_at": "2025-08-22T15:39:41.000000Z",
"updated_at": "2025-09-01T09:51:50.000000Z"
},
{
"id": 2,
"name": "Serv 2",
"description": "argsethsrtgn",
"intro": "Serv 2 Intro",
"short_description": "argsethsrtgn",
"picture": "http://0.0.0.0:8035/storage/services/01K392ZA7N2YRDNTZ2V09PS7DP.png",
"slug": "serv-2",
"created_at": "2025-08-22T14:29:55.000000Z",
"updated_at": "2025-09-04T14:57:11.000000Z"
}
]
}
]
Response Body (401)
{
"message": "Unauthenticated."
}
06 September 2025