Core
  1. Letters
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
    • Retrieve an Existing Staff
    • Create a Staff
    • Delete an Existing Staff
    • Update an Existing Staff
  • 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
      GET
    • Retrieve an Existing Letter
      GET
    • Create a Letter
      POST
    • List User Letter
      GET
    • List Current User Letter
      GET
    • List Recipients
      GET
  • 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. Letters

Retrieve an Existing Letter

Developing
GET
/letters/{letter_id}
To show information about an individual Letter.

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 -g --request GET 'https://sims.sman1samarinda.sch.id/api/letters/{{$database.mongodbObjectId}}'

Responses

🟢200OK
application/json
Body

Example
{
    "success": true,
    "message": "OK.",
    "meta": {},
    "errors": [],
    "result": {
        "id": "68f44fb8040041adaee70c93",
        "applicant": {
            "id": "78fbc13d26c4aa9afe26bc6b",
            "name": "Tri Zulkarnain",
            "email": "Dadi65@yahoo.co.id",
            "image": "https://avatars.githubusercontent.com/u/31648802"
        },
        "reviewer": null,
        "subject": "Judul Dispensasi",
        "letterType": "DISPENSATION",
        "status": "PENDING",
        "beginDate": "2026-01-10T08:32:14.963Z",
        "endDate": "2026-01-10T08:32:14.963Z",
        "attachment": "https://via.placeholder.com/885x1727/ae90bd/adec20.jpeg",
        "reason": "Lomba",
        "recipients": [
            {
                "id": "afbe46deaca4dddffffed8d5",
                "name": "Widiastuti Karimah",
                "email": "Maryadi9@yahoo.co.id",
                "image": "https://avatars.githubusercontent.com/u/33604737"
            },
            {
                "id": "29ff186bb62efbdd6ac6e5fc",
                "name": "Najam Najam Siregar",
                "email": "Artanto.Marbun2@yahoo.com",
                "image": "https://avatars.githubusercontent.com/u/3564032"
            }
        ],
        "isPrinted": false,
        "letterNumber": "6550228727412240",
        "letterDate": "2026-01-10T08:32:14.964Z",
        "letterResult": "https://via.placeholder.com/1788x1976/1aedce/aefcdb.gif",
        "createdAt": "2026-01-10T08:32:14.964Z",
        "updatedAt": "2026-01-10T08:32:14.964Z",
        "history": [
            {
                "status": "nostrud magna ut nisi pariatur",
                "actor": {
                    "id": "7c17d9da0a13c28dc79a3b2a",
                    "name": "Tomi Suwarno",
                    "email": "Adikara_Utama72@yahoo.com",
                    "image": "https://avatars.githubusercontent.com/u/85652828"
                },
                "note": "adipisicing dolore ullamco labore",
                "attachment": null,
                "timestamp": "1768033934"
            },
            {
                "status": "Ut nostrud",
                "actor": {
                    "id": "9aa1dabe707634ce3ddc72bc",
                    "name": "Azzahra Zulfa",
                    "email": "Gatot_Nanda@gmail.com",
                    "image": "https://avatars.githubusercontent.com/u/96416477"
                },
                "note": null,
                "attachment": "cillum ad Ut est consectetur",
                "timestamp": "1768033934"
            },
            {
                "status": "qui Lorem",
                "actor": {
                    "id": "d1ca3fc9304465e0c27a28db",
                    "name": "Nilam Nilam Aryanti",
                    "email": "Zakir_Mardhiyah48@gmail.co.id",
                    "image": "https://avatars.githubusercontent.com/u/30390245"
                },
                "note": "non",
                "attachment": null,
                "timestamp": "1768033934"
            }
        ]
    }
}
🟠401Unauthorized
🟠403Forbidden
🟠404Record Not Found
🔴500Server Error
Modified at 2026-01-09 05:09:23
Previous
Get All Letters
Next
Create a Letter
Built with