Skip to main content

Endpoint

GET /memos/{id}

Description

Retrieve detailed information about a specific memo by its ID.

Authentication

Requires Bearer token authentication. Accessible by:
  • Employee
  • Manager
  • HR Manager
  • Super Admin

Path Parameters

id
string
required
UUID of the memo to retrieve

Response

success
boolean
Indicates if the request was successful
data
object
The memo object

Example Request

GET /memos/123e4567-e89b-12d3-a456-426614174000

Example Response

{
  "success": true,
  "data": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "companyId": "550e8400-e29b-41d4-a716-446655440000",
    "employeeId": "660e8400-e29b-41d4-a716-446655440000",
    "memoType": "request",
    "title": "Request for Additional Resources",
    "content": "We require additional development resources for the Q2 project to meet the deadline. This includes 2 senior developers and 1 project coordinator.",
    "referenceNumber": "REQ-2024-001",
    "status": "pending",
    "currentStep": 1,
    "priority": "high",
    "createdAt": "2024-03-03T10:30:00Z",
    "updatedAt": "2024-03-03T10:30:00Z"
  }
}

Status Codes

200
OK
Memo retrieved successfully
400
Bad Request
Invalid memo ID format
401
Unauthorized
Missing or invalid authentication token
404
Not Found
Memo not found
500
Internal Server Error
Server error occurred
After retrieving a memo, you can:

Mark as Read

Mark the memo as read if you’re a recipient

Approve Memo

Approve the memo if you’re an authorized approver

Reject Memo

Reject the memo if you’re an authorized approver
Use this endpoint to retrieve full memo details before performing approval or rejection actions.

Build docs developers (and LLMs) love