콘텐츠로 이동
한국어

첨부파일 다운로드

GET/v1/mailboxes/{mailbox_id}/messages/{uid}/attachments/{index}

DOC, XLS, XLSX, PPT, PPTX, ODT 파일이나 첨부파일의 내용 요청에 preview=pdf를 추가하세요. 메일함당 분당 최대 10회 변환할 수 있습니다.

승인 및 접근 영역 · 오류와 반복

요구

터미널 창
curl -X GET 'https://adapt-mail.com/v1/mailboxes/<mailbox_id>/messages/<uid>/attachments/<index>?uidvalidity=<uidvalidity>' \
-H 'Authorization: Bearer <access_token>'

옵션

mailbox_idpath반드시

integer

uidpath반드시

integer

indexpath반드시

integer

uidvalidityquery반드시

integer

folderquery

string

기본: "INBOX"

X-Customer-IDheader
옵션 1

string

옵션 2

null

previewquery

string

유효한 값: "pdf"

응답

200 성공적인 응답

application/octet-stream

string · binary

application/pdf

string · binary

401 로그인이 필요합니다

application/json

object

detail
옵션 1

string

옵션 2

object

code

string

message

string

옵션 3

array

배열 요소

object

403 접근 불가

application/json

object

detail
옵션 1

string

옵션 2

object

code

string

message

string

옵션 3

array

배열 요소

object

404 리소스를 찾을 수 없습니다.

application/json

object

detail
옵션 1

string

옵션 2

object

code

string

message

string

옵션 3

array

배열 요소

object

409 국가 갈등

application/json

object

detail
옵션 1

string

옵션 2

object

code

string

message

string

옵션 3

array

배열 요소

object

422 유효성 검사 오류

application/json

object

detail

array

배열 요소

object

loc반드시

array

배열 요소
옵션 1

string

옵션 2

integer

msg반드시

string

type반드시

string

503 일시적인 이용 불가

application/json

object

detail
옵션 1

string

옵션 2

object

code

string

message

string

옵션 3

array

배열 요소

object