ProfitFlow
  1. Categories
ProfitFlow
  • Authentication
    • Login
      POST
    • Logout
      POST
  • Categories
    • List categories
      GET
    • Get category
      GET
  • Units
    • List available units
      GET
    • Get unit details
      GET
  • Investors
    • List investors
      GET
    • Get investor details
      GET
    • Get investor portfolio
      GET
  • Schemas
    • User
    • Category
    • Error
    • Unit
    • Investor
    • ValidationError
    • Portfolio
    • PaginationLinks
    • PaginationMeta
  1. Categories

Get category

GET
/categories/{id}
Get details of a specific category by ID.
Only active categories can be retrieved.

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Path Params

Header Params

Responses

🟢200
application/json
Category details
Body

Example
{
    "data": {
        "id": 1,
        "slug": "commercial-real-estate",
        "name": "Commercial Real Estate",
        "description": "Investment opportunities in commercial properties",
        "icon": "building",
        "color": "#3B82F6",
        "is_active": true,
        "units_count": 5,
        "created_at": "2024-01-15T10:30:00+00:00",
        "updated_at": "2024-01-20T14:45:00+00:00"
    }
}
🟠401
🟠404
Modified at 2026-01-31 12:19:01
Previous
List categories
Next
List available units
Built with