# Get category by ID Retrieve detailed information about a specific category. Endpoint: GET /partner/v2/account/{accountId}/category/{categoryId} Version: 2.0 Security: PartnerOAuth ## Path parameters: - `categoryId` (integer, required) Category ID - `accountId` (integer, required) Account identifier ## Response 200 fields (application/json): - `active` (boolean) Whether this category is active Example: true - `color` (string) Display color (hex code) Example: "#4CAF50" - `createdAt` (string) Creation timestamp Example: "2024-01-01T10:00:00Z" - `description` (string) Category description Example: "Patients with appointments in the last 12 months" - `id` (integer) Unique category identifier Example: 12345 - `isDefault` (boolean) Whether this is the default category for new patients Example: true - `name` (string) Category name Example: "Active Patient" - `patientCount` (integer) Number of patients in this category Example: 150 - `sortOrder` (integer) Sort order for display Example: 1 - `updatedAt` (string) Last update timestamp Example: "2025-01-10T14:30:00Z" ## Response 401 fields ## Response 403 fields ## Response 404 fields