Letters

편지 상세 조회 (수신자용)

링크를 통해 편지 상세 내용을 조회합니다. 비밀번호 설정 여부는 /api/letters/{letter_id}/check-password API를 통해 먼저 확인하세요.

get/api/letters/{letter_id}

Request

  • Base URL: http://54.180.159.211:8080
  • URL: http://54.180.159.211:8080/api/letters/{letter_id}
  • Auth: cookieAuth (a scheme the document does not define)

Path parameters

letter_idstring required

조회할 편지의 고유 ID (nanoid)

Response

편지 조회 성공

successboolean
metaobject nullable
errorobject nullable

Example response

{
  "success": true,
  "data": {
    "id": "e9BAYFSMDiB7X1-Sg0Ozy",
    "senderName": "정화",
    "receiverName": "지수",
    "category": "생일",
    "content": "지수야, 생일 축하해. 오늘 하루 즐겁게 보내고 맛있는 것도 많이 먹었으면 좋겠다. 좋은 하루 보내!",
    "theme": 1,
    "publishedAt": "2026-04-28T13:08:29.405Z"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.