v1

latestOpenAPI 3.0.02026-07-2457351270.1 KB
USER API

파일 업로드

문서 파일이나 요청자 첨부파일을 API로 요청하기 위한 사전 파일 업로드용 API입니다.

요청 형식:

  • Content-Type: multipart/form-data
  • Stream을 통해 업로드 후 API에서 활용 가능한 파일 정보를 반환합니다.

파일 크기 제한:

  • type=attachment: 최대 10MB
  • type=document: PDF 파일은 최대 10MB, 그 외 확장자는 최대 5MB

기타 정보:

  • 유효기간: 2시간
  • 문서 파일 업로드 시 PDF 파일을 권장합니다.
post/files

Query parameters

type'document' | 'attachment' required
Example:

파일 유형

Response

업로드 된 파일 정보

fileIdstring required

파일 ID

tokenstring required

파일 토큰(유효시간: 2시간)

urlstring required

파일 다운로드 URL