inboxes > files
Get File
Changed onGets a file. A ready file comes with a fresh download_url, valid for up to an hour.
A get reads the region that serves the request, so for about a second after a delete it can still return the deleted file. A file that has expired returns 404 at once.
Requires the file_read permission.
get/v0/inboxes/{inbox_id}/files/{file_id}
Request
- Base URLhttps://api.agentmail.to
- URLhttps://api.agentmail.to/v0/inboxes/{inbox_id}/files/{file_id}
- AuthHTTP bearer
Path parameters
inbox_idstring required
The ID of the inbox.
file_idstring required
ID of the file. A UUID.
Response
Response with status 200
Changes
- info
endpoint added
- info