# Render customized content into a ready draft

Template Studio's create step: takes the template's content (or the caller's edited version), substitutes {{placeholder}} values (unfilled ones render as visible blanks), renders a fresh PDF, and creates a draft with the file attached, recipients from the template's slots (optionally addressed), and signature/date fields placed from the rendered layout and bound per slot. Public templates render with the SAMPLE banner.

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

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