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

List categories

GET
/categories
Get a paginated list of active investment categories.
Only categories marked as active are returned.

Request

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

Header Params

Responses

🟢200
application/json
List of categories
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"
        }
    ],
    "links": {
        "first": "http://localhost:8000/api/v1/categories?page=1",
        "last": "http://localhost:8000/api/v1/categories?page=3",
        "prev": null,
        "next": "http://localhost:8000/api/v1/categories?page=2"
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 3,
        "links": [
            {
                "url": "string",
                "label": "string",
                "active": true
            }
        ],
        "path": "http://localhost:8000/api/v1/categories",
        "per_page": 15,
        "to": 15,
        "total": 42
    }
}
🟠401
Modified at 2026-01-31 12:19:01
Previous
Logout
Next
Get category
Built with