Core
  1. Users
Core
  • Introduction
    • What is Core
    • HTTP Statuses
    • Request
    • Responses
    • Meta
    • Limit & Pagination
    • Query Parameters
  • Quick Start
    • Letters
  • Auth
    • Sign In with Email and Password
      POST
    • Get the Current Session
      GET
    • Sign Out the Current User
      POST
  • Users
    • Get All Users
      GET
    • Create a User
      POST
    • Retrieve an Existing User
      GET
    • Delete an Existing User
      DELETE
    • Update an Existing User
      PATCH
    • Get Current User
      GET
    • Update Current User
      PATCH
    • Get Current User Devices
      GET
    • Retrieve User Devices by User ID
      GET
    • Update Own Profile Image
      POST
    • Update User Image
      POST
    • Reset User Password
      PATCH
    • Get User Login History
      GET
  • Staff
    • Get All Staff
      GET
    • Retrieve an Existing Staff
      GET
    • Create a Staff
      POST
    • Delete an Existing Staff
      DELETE
    • Update an Existing Staff
      PATCH
  • Teachers
    • Get All Teachers
    • Retrieve an Existing Teacher
    • Create a Teacher
    • Delete an Existing Teacher
    • Update an Existing Teacher
  • Students
    • Get All Students
    • Retrieve an Existing Student
    • Create a Student
    • Delete an Existing Student
    • Update an Existing Student
    • Import Bulk Students
  • Roles
    • Get All Roles
    • Create a Role
    • Retrieve an Existing Role
    • Update an Existing Role
    • Delete an Existing Role
    • Get All Eligible Users for Role
    • Get All Members of Role
    • Add Bulk Member to Role
    • Remove Bulk Members from Role
  • Classes
    • Get All Classes
    • Create a Class
    • Delete an Existing Student Copy
    • Create a Class Copy
  • Statistics
    • Teachers
      • Get Teacher Gender Stats
      • Get Teacher Religion Distribution
      • Get Teacher Employment Stats
      • Get Teacher Age Stats
    • Students
      • Get Student Gender Stats
      • Get Student Religion Distribution
      • Get Student Weight Stats
      • Get Student Height Stats
      • Get Student Age Stats
      • Get Student Transportation Stats
      • Get Student Class Stats
    • Staffs
      • Get Staffs Gender Stats
      • Get Staffs Religion Distribution
      • Get Staffs Age Stats
      • Get Staffs Employment Stats
    • Users
      • Retrieve User Summary
    • Get All Stats
  • Letters
    • Get All Letters
    • Retrieve an Existing Letter
    • Create a Letter
    • List User Letter
    • List Current User Letter
    • List Recipients
  • Letter Actions
    • Initiate a Letter Action
  • Files
    • Create a Presigned URL
  • Schemas
    • Schemas
      • Letter
        • LetterHistory
        • LetterStatus
        • LetterType
      • User
        • UserProfile
      • Address
      • Meta
      • Base
      • bloodType
      • Religion
      • Gender
      • ParentInfo
      • Error
      • GenderStats
      • ReligionDistribution
      • WeightStats
      • HeightStats
      • AgeStats
      • TransportationStats
      • ClassStats
      • EducationHistoryObject
      • EmploymentStats
      • Location
      • EconomyStats
      • Actor
    • Model
      • User
      • Teacher
      • Staff
      • Student
      • Letter
      • Class
      • Roles
    • LoginHistory
  1. Users

Retrieve an Existing User

GET
/users/{user_id}
To show details about an individual User.

Request

Path Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://sims.sman1samarinda.sch.id/api/users/67c939b3bc5a7e0ea5f5f79e'

Responses

🟢200OK
application/json
Body

Example
{
    "success": true,
    "message": "OK.",
    "meta": {},
    "errors": [],
    "result": {
        "id": "6939240c9e6b6fc73f8c86a8",
        "name": "Novan",
        "email": "staff8@sekolah.sch.id",
        "emailVerified": false,
        "secondaryEmail": "Burley_Bahringer87@gmail.com",
        "image": "988x1264/b79f5c/71dccb.jpg",
        "active": true,
        "createdAt": "2025-12-10T07:41:00.187Z",
        "updatedAt": "2026-01-08T14:09:35.417Z",
        "type": "STAFF",
        "profile": {
            "address": {
                "street": "8844 Chapel Close",
                "rt": "874",
                "rw": "397",
                "subDistrict": "Montgomery County",
                "district": "Logan County",
                "city": "Semarang",
                "province": "Jawa Tengah",
                "country": "Indonesia",
                "postalCode": "55348",
                "location": {
                    "type": "POINT",
                    "coordinates": [
                        110.4806517653099,
                        -6.870002009742914
                    ]
                }
            },
            "father": {
                "name": "Steve McCullough",
                "nik": "5786284698376725",
                "birthPlace": "Maximetown",
                "birthDate": "1954-09-04T01:04:42.657Z",
                "education": "SMP",
                "phone": "+628149578914",
                "occupation": "Pedagang",
                "income": "4000000",
                "specialNeeds": []
            },
            "mother": {
                "name": "Delores Muller IV",
                "nik": "9743570907640208",
                "birthPlace": "New Clementineberg",
                "birthDate": "1989-05-03T05:51:15.523Z",
                "education": "S1",
                "phone": "+628786774811",
                "occupation": "Buruh",
                "income": "15000000",
                "specialNeeds": []
            },
            "id": "6939240c9e6b6fc73f8c86d5",
            "userId": "6939240c9e6b6fc73f8c86a8",
            "nik": "2415442010144776",
            "nip": "050121775402059311",
            "taxNumber": "35.252.851.2-422.289",
            "taxName": "Peggy Hoeger",
            "familyCardNumber": "5079656649149837",
            "religion": "CHRISTIAN",
            "birthDate": "1974-10-24T07:30:06.545Z",
            "birthPlace": "West Karelle",
            "phone": "+628835810939",
            "gender": "MALE",
            "employmentStatus": "SCHOOL_TEACHER_HONOR",
            "nationality": "Indonesia",
            "maritalStatus": "Cerai Hidup",
            "spouseName": null,
            "spouseNip": "663362768401556204",
            "spouseOccupation": null,
            "specialNeeds": []
        },
        "roles": []
    }
}
🟠401Unauthorized
🟠403Forbidden
🟠404Record Not Found
🔴500Server Error
Modified at 2026-01-12 05:23:14
Previous
Create a User
Next
Delete an Existing User
Built with