दस्तावेज़ पर जाएँ
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 लौटाते हैं।