# Get a download URL for one file in the collection (EAS-114)

Companion to GET /v1/documents/{id}/file, which only ever serves "file #1" (the legacy single-file columns) — this works for any file in the ordered collection, including the first. Returns a 15-minute presigned URL.

Canonical: https://easerix.com/docs/developers/api/sign/documents/downloadDocumentFileById

{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}

export default function Layout(props) {
  const { APIPage, OpenAPIPage } = props.components ?? {};
  // "APIPage" is the old name from v10, this allows both for backward compatibility
  const Comp = OpenAPIPage ?? APIPage;
  return (
    <>
      {props.children}
      <Comp document="sign" operations={[{"path":"/v1/documents/{id}/files/{fileId}","method":"get"}]} />
    </>
  );
}
