---
updatedAt: 2026-04-22T09:48:12.000Z
agentTools:
  projectIndex: https://developers.modusign.co.kr/llms.txt
---

# 첨부 파일 조회

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "paths": {
    "/documents/{documentId}/attachments": {
      "get": {
        "operationId": "DocumentController_getAllAttachments",
        "parameters": [
          {
            "name": "documentId",
            "required": true,
            "in": "path",
            "description": "문서 ID",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAllAttachmentsResponseDto"
                }
              }
            }
          }
        },
        "security": [
          {
            "Basic": []
          },
          {
            "Bearer": []
          }
        ],
        "summary": "첨부 파일 조회",
        "tags": [
          "USER API"
        ]
      }
    }
  },
  "info": {
    "title": "MODUSIGN API",
    "description": "",
    "version": "1.0.0",
    "contact": {}
  },
  "servers": [
    {
      "url": "https://api.modusign.co.kr",
      "description": "production"
    }
  ],
  "components": {
    "securitySchemes": {
      "Bearer": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      },
      "Basic": {
        "type": "http",
        "scheme": "basic"
      }
    },
    "schemas": {
      "AttachmentFileResponseDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "참여자가 첨부한 파일의 이름"
          },
          "extension": {
            "type": "string",
            "description": "참여자가 첨부한 파일의 확장자",
            "nullable": true
          },
          "size": {
            "type": "number",
            "description": "참여자가 첨부한 파일의 크기"
          },
          "downloadUrl": {
            "type": "string",
            "description": "다운로드 링크(유효시간: 10분)"
          }
        },
        "required": [
          "name",
          "extension",
          "size",
          "downloadUrl"
        ]
      },
      "AttachmentResponseDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "첨부파일 ID"
          },
          "name": {
            "type": "string",
            "description": "첨부파일의 종류"
          },
          "message": {
            "type": "string",
            "description": "첨부파일 설명",
            "nullable": true
          },
          "required": {
            "type": "boolean",
            "description": "파일 첨부가 필수인 지 여부",
            "nullable": true
          },
          "participantId": {
            "type": "string",
            "description": "첨부파일 첨부를 요청받은 참여자 ID. 요청자 첨부파일의 경우 null",
            "nullable": true
          },
          "attachedBy": {
            "type": "string",
            "description": "첨부한 참여자 유형",
            "enum": [
              "REQUESTER",
              "SIGNER",
              "HOST",
              "VIEWER"
            ]
          },
          "file": {
            "description": "첨부된 파일",
            "nullable": true,
            "example": {
              "name": "첨부파일_1",
              "extension": ".pdf",
              "size": 10240,
              "downloadUrl": "https://app.modusign.co.kr"
            },
            "oneOf": [
              {
                "$ref": "#/components/schemas/AttachmentFileResponseDto"
              }
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/AttachmentFileResponseDto"
              }
            ]
          }
        },
        "required": [
          "id",
          "name",
          "message",
          "required",
          "participantId",
          "attachedBy",
          "file"
        ]
      },
      "GetAllAttachmentsResponseDto": {
        "type": "object",
        "properties": {
          "attachments": {
            "description": "첨부파일 리스트",
            "nullable": true,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AttachmentResponseDto"
            }
          }
        },
        "required": [
          "attachments"
        ]
      }
    }
  }
}
```