Skip to main content
GET
/
v1
/
api
/
categories
/
id
/
{id}
Get a category by ID
curl --request GET \
  --url http://localhost:3091/v1/api/categories/id/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": 123,
  "code": "<string>",
  "name": "<string>"
}

Authorizations

Authorization
string
header
required

JWT access token from POST /v1/api/auth/login

Path Parameters

id
integer<int32>
required

Response

Category found

id
integer<int32>
code
string
name
string