--- title: "Download file by ID" slug: "download-file-by-id" updated: 2026-04-01T03:43:19Z published: 2026-04-01T03:43:19Z canonical: "docs.xendit.co/download-file-by-id" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.xendit.co/llms.txt > Use this file to discover all available pages before exploring further. # Download file by ID Get/files/{file_id}/download Retrieves file details SecurityHTTPType Basic Path parametersfile_idstringRequired Unique ID generated by Xendit for the particular file Responses200 Successful operation string (binary) 404 The provided `id` does not exist. Please review the `id` and try again object error_codestring Valid values[ "RATE_LIMIT_EXCEEDED" ] messagestring errors Array OneOfstringstring objectobject