문서로 건너뛰기
API

파일 조회

파일 하나를 id로.

GETapi.openemail.uk/files/{id}

본인 키로 워크스페이스에 실제 호출을 실행합니다.

GET /files/{id}

파일 하나를 id로.

예제

threads:read가 필요합니다.

curl
curl "$OE/files/file_6bb640f5b99e47deb758f1f5" -H "$AUTH"
응답
{  "object": "file",  "id": "file_6bb640f5b99e47deb758f1f5",  "filename": "invoice-0912.pdf",  "mimeType": "application/pdf",  "sizeBytes": 184233,  "direction": "inbound",  "threadId": "thread_2f9b…",  "messageId": "<CAF7x…@mail.gmail.com>",  "deliveredTo": "[email protected]",  "createdAt": "2026-09-12T08:41:03.000Z"}

삭제된 파일, 제한된 키가 가진 주소 밖의 파일, 알 수 없는 id는 모두 404로 답합니다.