# Attach the template's PDF

Multipart upload (field "file", PDF only, 25 MB max) — the document a template's fields sit on. Owner-only. "Use template" copies this file into the new draft, making it ready to send.

Canonical: https://easerix.com/docs/developers/api/sign/templates/uploadTemplateFile

{/* 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/templates/{id}/file","method":"post"}]} />
    </>
  );
}
