Retrieve detailed profile information for a specific student including user details, department, institute, and cohort information
GET
/api/v1/student/{studentId}
curl \
--request GET 'https://api.echoplain.social/api/v1/student/uuid-string'
Response examples (200)
{
"message": "string",
"success": true,
"student": {
"id": "uuid-string",
"Registration_number": "CS/2023/001",
"user": {
"id": "uuid-string",
"email": "student@example.com",
"role": "STUDENT",
"status": "ACTIVE",
"profile": {
"id": "uuid-string",
"fullName": "John Doe",
"phone": "+1234567890",
"createdAt": "2025-09-25T10:30:00.000Z",
"updatedAt": "2025-09-25T10:30:00.000Z"
},
"createdAt": "2025-09-25T10:30:00.000Z",
"updatedAt": "2025-09-25T10:30:00.000Z"
},
"department": {
"id": "uuid-string",
"name": "Computer Science",
"instituteId": "uuid-string"
},
"institute": {
"id": "uuid-string",
"name": "University of Technology",
"code": "UOT",
"type": "University"
},
"cohort": {
"id": "uuid-string",
"name": "CS 2023 Batch",
"departmentId": "uuid-string",
"currentSemesterId": "uuid-string"
},
"createdAt": "2025-09-25T10:30:00.000Z",
"updatedAt": "2025-09-25T10:30:00.000Z"
}
}
Response examples (400)
{
"message": "string",
"error": "string",
"statusCode": 42.0
}