The best way to fill in contracts is to prepare a template that already contains all the necessary
placeholders in the text. This way, you can populate the necessary data in the right placeholders within
the contracts with a single API call.
Body parameters
object
required
Show child attribute
string
required
Action type.
string
required
Key of the client.
string
ID of the user who create the contract. If not specified, the default user credentials will be used.
object
required
Contract structure.
Show child attribute
string
Name of the contract.
string
Template from which you are creating a contract.
array
Array of placeholders, optional.
Show child attribute
string
A placeholder key corresponds to a specific placeholder in the template from which you create a contract.
Use this parameter if you need to populate any value into this specific placeholder.
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Sendforsign documentation","colors":{"primary":"#9563FF","light":"#AE87FF","dark":"#0D001D"},"favicon":"https://mintcdn.com/sendforsign/bDeZDTsZ_41-V2Bk/favicon.png?fit=max\u0026auto=format\u0026n=bDeZDTsZ_41-V2Bk\u0026q=85\u0026s=6f1820390f91591a0b39203b557d002d","logo":{"light":"https://mintcdn.com/sendforsign/bDeZDTsZ_41-V2Bk/logo/light.svg?fit=max\u0026auto=format\u0026n=bDeZDTsZ_41-V2Bk\u0026q=85\u0026s=8164bbc8e8ee371f6818856b17826f6c","dark":"https://mintcdn.com/sendforsign/bDeZDTsZ_41-V2Bk/logo/dark.svg?fit=max\u0026auto=format\u0026n=bDeZDTsZ_41-V2Bk\u0026q=85\u0026s=9ab81cd69fe1e1af8ee9afed9312a54e"},"api":{"mdx":{"server":"https://api.sendforsign.com/api","auth":{"method":"key","name":"X-Sendforsign-Key"}}},"appearance":{"default":"light","strict":false},"background":{"decoration":null,"color":{"light":null,"dark":"#090014"}},"navbar":{"links":[{"label":"Feedback","href":"https://airtable.com/app8jiZb9qU4pNdYb/pag9rl2atRJUkFjpS/form"}],"primary":{"type":"button","label":"sendforsign.com","href":"https://sendforsign.com"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/sendforsign/about/","youtube":"https://www.youtube.com/@Sendforsign/videos"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"sendforsign","hasAudioNarration":false,"actualSubdomain":"sendforsign","customDomains":["about.sendforsign.com"],"gitSource":{"type":"github","owner":"kaleido-so","repo":"sendforsign-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae0b2a7cdcf99f97c317e62","clientVersion":"0.0.4143","searchFilterCounts":[{"language":"default","tag":"API Reference","count":55},{"language":"default","tag":"Blog","count":16},{"language":"default","tag":"Contract","count":10},{"language":"default","tag":"About","count":8},{"language":"default","tag":"Template","count":8},{"language":"default","tag":"Documentation","count":8},{"language":"default","tag":"Placeholder","count":7},{"language":"default","tag":"Use cases","count":7},{"language":"default","tag":"Webhook","count":6},{"language":"default","tag":"React Components","count":6}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/contract/create-fill","slug":"/api-reference/contract/create-fill","pageMetadata":{"title":"Create and fill in contract","api":"POST https://api.sendforsign.com/api/contract","description":"Create a contract and fill in its placeholders with your data in a single Sendforsign API request.","href":"/api-reference/contract/create-fill"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Create a contract and fill in its placeholders with your data in a single Sendforsign API request.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={p:`p`,..._provideComponents(),...props.components},{Expandable,Heading,ParamField,ResponseField}=_components;if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`The best way to fill in contracts is to prepare a template that already contains all the necessary\nplaceholders in the text. This way, you can populate the necessary data in the right placeholders within\nthe contracts with a single API call.`}),`\n`,_jsx(Heading,{level:`3`,id:`body-parameters`,children:`Body parameters`}),`\n`,_jsx(ParamField,{body:`data`,type:`object`,required:true,id:`param-data`,children:_jsxs(Expandable,{title:`child attribute`,children:[_jsx(ParamField,{body:`action`,type:`string`,required:true,id:`param-action`,children:_jsx(_components.p,{children:`Action type.`})}),_jsx(ParamField,{body:`clientKey`,type:`string`,required:true,id:`param-client-key`,children:_jsx(_components.p,{children:`Key of the client.`})}),_jsx(ParamField,{body:`userKey`,type:`string`,id:`param-user-key`,children:_jsx(_components.p,{children:`ID of the user who create the contract. If not specified, the default user credentials will be used.`})}),_jsxs(ParamField,{body:`contract`,type:`object`,required:true,id:`param-contract`,children:[_jsx(_components.p,{children:`Contract structure.`}),_jsxs(Expandable,{title:`child attribute`,children:[_jsx(ParamField,{body:`name`,type:`string`,id:`param-name`,children:_jsx(_components.p,{children:`Name of the contract.`})}),_jsx(ParamField,{body:`templateKey`,type:`string`,id:`param-template-key`,children:_jsx(_components.p,{children:`Template from which you are creating a contract.`})})]})]}),_jsxs(ParamField,{body:`placeholders`,type:`array`,id:`param-placeholders`,children:[_jsx(_components.p,{children:`Array of placeholders, optional.`}),_jsxs(Expandable,{title:`child attribute`,children:[_jsx(ParamField,{body:`placeholderKey`,type:`string`,id:`param-placeholder-key`,children:_jsx(_components.p,{children:`A placeholder key corresponds to a specific placeholder in the template from which you create a contract.\nUse this parameter if you need to populate any value into this specific placeholder.`})}),_jsx(ParamField,{body:`name`,type:`string`,id:`param-name-1`,children:_jsx(_components.p,{children:`Name of the placeholder.`})}),_jsx(ParamField,{body:`value`,type:`string`,id:`param-value`,children:_jsx(_components.p,{children:`Value of the placeholder.`})})]})]})]})}),`\n`,_jsx(Heading,{level:`3`,id:`response`,children:`Response`}),`\n`,_jsxs(ResponseField,{name:`contract`,type:`string`,id:`param-contract-1`,children:[_jsx(_components.p,{children:`Contract structure.`}),_jsxs(Expandable,{title:`child attribute`,children:[_jsx(ResponseField,{name:`createTime`,type:`string`,id:`param-create-time`,children:_jsx(_components.p,{children:`Create time.`})}),_jsx(ResponseField,{name:`contractKey`,type:`string`,id:`param-contract-key`,children:_jsx(_components.p,{children:`ID of the contract.`})})]})]}),`\n`,_jsx(ResponseField,{name:`code`,type:`string`,id:`param-code`,children:_jsx(_components.p,{children:`The code of the answer.`})}),`\n`,_jsx(ResponseField,{name:`message`,type:`string`,id:`param-message`,children:_jsx(_components.p,{children:`The message of the answer.`})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create and fill in contract","api":"POST https://api.sendforsign.com/api/contract","description":"Create a contract and fill in its placeholders with your data in a single Sendforsign API request.","href":"/api-reference/contract/create-fill"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,ParamField,RequestExample,ResponseExample,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`The best way to fill in contracts is to prepare a template that already contains all the necessary\nplaceholders in the text. This way, you can populate the necessary data in the right placeholders within\nthe contracts with a single API call.`}),`\n`,_jsx(Heading,{level:`3`,id:`body-parameters`,children:`Body parameters`}),`\n`,_jsx(ParamField,{body:`data`,type:`object`,required:true,id:`param-data`,children:_jsxs(Expandable,{title:`child attribute`,children:[_jsx(ParamField,{body:`action`,type:`string`,required:true,id:`param-action`,children:_jsx(_components.p,{children:`Action type.`})}),_jsx(ParamField,{body:`clientKey`,type:`string`,required:true,id:`param-client-key`,children:_jsx(_components.p,{children:`Key of the client.`})}),_jsx(ParamField,{body:`userKey`,type:`string`,id:`param-user-key`,children:_jsx(_components.p,{children:`ID of the user who create the contract. If not specified, the default user credentials will be used.`})}),_jsxs(ParamField,{body:`contract`,type:`object`,required:true,id:`param-contract`,children:[_jsx(_components.p,{children:`Contract structure.`}),_jsxs(Expandable,{title:`child attribute`,children:[_jsx(ParamField,{body:`name`,type:`string`,id:`param-name`,children:_jsx(_components.p,{children:`Name of the contract.`})}),_jsx(ParamField,{body:`templateKey`,type:`string`,id:`param-template-key`,children:_jsx(_components.p,{children:`Template from which you are creating a contract.`})})]})]}),_jsxs(ParamField,{body:`placeholders`,type:`array`,id:`param-placeholders`,children:[_jsx(_components.p,{children:`Array of placeholders, optional.`}),_jsxs(Expandable,{title:`child attribute`,children:[_jsx(ParamField,{body:`placeholderKey`,type:`string`,id:`param-placeholder-key`,children:_jsx(_components.p,{children:`A placeholder key corresponds to a specific placeholder in the template from which you create a contract.\nUse this parameter if you need to populate any value into this specific placeholder.`})}),_jsx(ParamField,{body:`name`,type:`string`,id:`param-name-1`,children:_jsx(_components.p,{children:`Name of the placeholder.`})}),_jsx(ParamField,{body:`value`,type:`string`,id:`param-value`,children:_jsx(_components.p,{children:`Value of the placeholder.`})})]})]})]})}),`\n`,_jsx(Heading,{level:`3`,id:`response`,children:`Response`}),`\n`,_jsxs(ResponseField,{name:`contract`,type:`string`,id:`param-contract-1`,children:[_jsx(_components.p,{children:`Contract structure.`}),_jsxs(Expandable,{title:`child attribute`,children:[_jsx(ResponseField,{name:`createTime`,type:`string`,id:`param-create-time`,children:_jsx(_components.p,{children:`Create time.`})}),_jsx(ResponseField,{name:`contractKey`,type:`string`,id:`param-contract-key`,children:_jsx(_components.p,{children:`ID of the contract.`})})]})]}),`\n`,_jsx(ResponseField,{name:`code`,type:`string`,id:`param-code`,children:_jsx(_components.p,{children:`The code of the answer.`})}),`\n`,_jsx(ResponseField,{name:`message`,type:`string`,id:`param-message`,children:_jsx(_components.p,{children:`The message of the answer.`})}),`\n`,_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`24`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`24`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://api.sendforsign.com/api/contract'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'X-Sendforsign-Key: YOUR_API_KEY'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"data\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"action\": \"create\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"clientKey\": \"YOUR_CLIENT_KEY\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"userKey\": \"USER_KEY\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"contract\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"name\": \"New contract\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"templateKey\": \"TEMPLATE_KEY\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"placeholders\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"placeholderKey\": \"PLACEHOLDER_KEY\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"value\": \"Placeholder value\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"name\": \"Placeholder name\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"value\": \"Placeholder value\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`}'`})}),`\n`]})})})}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`Response`,numberOfLines:`8`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"contract\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"createTime\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2023-12-01 12:18:55\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"contractKey\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"CONTRACT_KEY\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"201\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Contract created\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`]})})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create and fill in contract","api":"POST https://api.sendforsign.com/api/contract","description":"Create a contract and fill in its placeholders with your data in a single Sendforsign API request.","href":"/api-reference/contract/create-fill"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Body parameters","slug":"body-parameters","depth":3,"children":[]},{"title":"Response","slug":"response","depth":3,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"24\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -X\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> POST\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'https://api.sendforsign.com/api/contract'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'X-Sendforsign-Key: YOUR_API_KEY'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Content-Type: application/json'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -d\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"data\": {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"action\": \"create\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"clientKey\": \"YOUR_CLIENT_KEY\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"userKey\": \"USER_KEY\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"contract\": {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"name\": \"New contract\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"templateKey\": \"TEMPLATE_KEY\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"placeholders\": [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"placeholderKey\": \"PLACEHOLDER_KEY\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"value\": \"Placeholder value\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"name\": \"Placeholder name\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"value\": \"Placeholder value\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> ]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">}'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"Response","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"8\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"contract\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"createTime\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2023-12-01 12:18:55\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"contractKey\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"CONTRACT_KEY\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"code\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"201\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Contract created\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Create and fill in contract","path":"/api/contract","servers":[{"url":"https://api.sendforsign.com"}],"method":"post","request":{"security":[{"title":"API Key Auth","parameters":{"header":{"X-Sendforsign-Key":{"type":"apiKey"}},"query":{},"cookie":{}}}],"parameters":{"query":{},"header":{},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"data":[{"type":"object","properties":{"action":[{"type":"string","description":"Action type.","required":true}],"clientKey":[{"type":"string","description":"Key of the client.","required":true}],"userKey":[{"type":"string","description":"ID of the user who create the contract. If not specified, the default user credentials will be used."}],"contract":[{"type":"object","properties":{"name":[{"type":"string","description":"Name of the contract."}],"templateKey":[{"type":"string","description":"Template from which you are creating a contract."}]},"description":"Contract structure.","required":true}],"placeholders":[{"type":"array","items":[{"type":"object","properties":{"placeholderKey":[{"type":"string","description":"A placeholder key corresponds to a specific placeholder in the template from which you create a contract. Use this parameter if you need to populate any value into this specific placeholder."}],"name":[{"type":"string","description":"Name of the placeholder."}],"value":[{"type":"string","description":"Value of the placeholder."}]}}],"description":"Array of placeholders, optional."}]},"required":true}]}}],"examples":{"example":{"value":{"data":{"action":"\u003cstring>","clientKey":"\u003cstring>","userKey":"\u003cstring>","contract":{"name":"\u003cstring>","templateKey":"\u003cstring>"},"placeholders":[{"placeholderKey":"\u003cstring>","name":"\u003cstring>","value":"\u003cstring>"}]}}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"contract":[{"type":"string","description":"Contract structure."}],"code":[{"type":"string","description":"The code of the answer."}],"message":[{"type":"string","description":"The message of the answer."}]}}],"examples":{"example":{"value":{"contract":"\u003cstring>","code":"\u003cstring>","message":"\u003cstring>"}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"sendforsign","siteName":"Sendforsign documentation","title":"Create and fill in contract - Sendforsign documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-27T14:18:21.909Z","originalFileLocation":"api-reference/contract/create-fill.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Create a contract and fill in its placeholders with your data in a single Sendforsign API request.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Sendforsign documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/sendforsign/ZRijGtN2932N6-gY/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/sendforsign/ZRijGtN2932N6-gY/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/sendforsign/ZRijGtN2932N6-gY/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/sendforsign/ZRijGtN2932N6-gY/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/sendforsign/ZRijGtN2932N6-gY/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/sendforsign/ZRijGtN2932N6-gY/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/sendforsign/ZRijGtN2932N6-gY/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/sendforsign/ZRijGtN2932N6-gY/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/sendforsign/ZRijGtN2932N6-gY/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create and fill in contract - Sendforsign documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a contract and fill in its placeholders with your data in a single Sendforsign API request.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Sendforsign documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://about.sendforsign.com/api-reference/contract/create-fill\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://sendforsign.mintlify.site/_mintlify/api/og/v2?division=Contract\u0026amp;title=Create+and+fill+in+contract\u0026amp;description=Create+a+contract+and+fill+in+its+placeholders+with+your+data+in+a+single+Sendforsign+API+request.\u0026amp;theme=dc911e1386ddeabcf1258e9f\u0026amp;signature=b3dfe08cb4e68c5225429b34c907435c5a74a6aa9311e18bb3d41c1c7a26a598\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create and fill in contract - Sendforsign documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a contract and fill in its placeholders with your data in a single Sendforsign API request.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://sendforsign.mintlify.site/_mintlify/api/og/v2?division=Contract\u0026amp;title=Create+and+fill+in+contract\u0026amp;description=Create+a+contract+and+fill+in+its+placeholders+with+your+data+in+a+single+Sendforsign+API+request.\u0026amp;theme=dc911e1386ddeabcf1258e9f\u0026amp;signature=b3dfe08cb4e68c5225429b34c907435c5a74a6aa9311e18bb3d41c1c7a26a598\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/sendforsign/ZRijGtN2932N6-gY/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Sendforsign documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#9563FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://about.sendforsign.com/api-reference/contract/create-fill\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/contract/create-fill.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://about.sendforsign.com/#organization\",\"name\":\"Sendforsign documentation\",\"url\":\"https://about.sendforsign.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/sendforsign/bDeZDTsZ_41-V2Bk/logo/light.svg?fit=max\u0026auto=format\u0026n=bDeZDTsZ_41-V2Bk\u0026q=85\u0026s=8164bbc8e8ee371f6818856b17826f6c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://about.sendforsign.com#website\",\"name\":\"Sendforsign documentation\",\"url\":\"https://about.sendforsign.com\",\"publisher\":{\"@id\":\"https://about.sendforsign.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://about.sendforsign.com/api-reference/contract/create-fill#webpage\",\"url\":\"https://about.sendforsign.com/api-reference/contract/create-fill\",\"name\":\"Create and fill in contract\",\"description\":\"Create a contract and fill in its placeholders with your data in a single Sendforsign API request.\",\"dateModified\":\"2026-10-27T14:18:21.909Z\",\"isPartOf\":{\"@id\":\"https://about.sendforsign.com#website\"},\"breadcrumb\":{\"@id\":\"https://about.sendforsign.com/api-reference/contract/create-fill#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://about.sendforsign.com/api-reference/contract/create-fill#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Contract\",\"item\":\"https://about.sendforsign.com/api-reference/contract/create\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create and fill in contract\",\"item\":\"https://about.sendforsign.com/api-reference/contract/create-fill\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://about.sendforsign.com/api-reference/contract/create-fill#apireference\",\"headline\":\"Create and fill in contract\",\"name\":\"Create and fill in contract\",\"description\":\"Create a contract and fill in its placeholders with your data in a single Sendforsign API request.\",\"url\":\"https://about.sendforsign.com/api-reference/contract/create-fill\",\"mainEntityOfPage\":{\"@id\":\"https://about.sendforsign.com/api-reference/contract/create-fill#webpage\"},\"dateModified\":\"2026-10-27T14:18:21.909Z\",\"publisher\":{\"@id\":\"https://about.sendforsign.com/#organization\"},\"isPartOf\":{\"@id\":\"https://about.sendforsign.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Sendforsign documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Sendforsign documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/contract/create-fill.md","siteName":"Sendforsign documentation","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"API Documentation","pages":[{"title":"Sendforsign API introduction","sidebarTitle":"Introduction","href":"/api-reference/introapi"},{"title":"Account structure","href":"/api-reference/structure"},{"title":"Authentication","href":"/api-reference/authentication"},{"title":"Implement server side","href":"/api-reference/implementation_server"},{"title":"Implement client side","href":"/api-reference/implementation_client"}]},{"group":"MCP","pages":[{"title":"AI+API","api":"POST https://aiapi.sendforsign.com/webhook/aiapi","href":"/api-reference/mcp/aiapi"}]},{"group":"Client","pages":[{"title":"Create client","api":"POST https://api.sendforsign.com/api/client","href":"/api-reference/client/create"},{"title":"Update client","api":"POST https://api.sendforsign.com/api/client","href":"/api-reference/client/update"},{"title":"Read client","api":"POST https://api.sendforsign.com/api/client","href":"/api-reference/client/read"},{"title":"List of clients","api":"POST https://api.sendforsign.com/api/client","href":"/api-reference/client/list"}]},{"group":"User","pages":[{"title":"Create user","api":"POST https://api.sendforsign.com/api/user","href":"/api-reference/user/create"},{"title":"Update user","api":"POST https://api.sendforsign.com/api/user","href":"/api-reference/user/update"},{"title":"Read user","api":"POST https://api.sendforsign.com/api/user","href":"/api-reference/user/read"},{"title":"List of users","api":"POST https://api.sendforsign.com/api/user","href":"/api-reference/user/list"}]},{"group":"Contract","pages":[{"title":"Create contract","api":"POST https://api.sendforsign.com/api/contract","href":"/api-reference/contract/create"},{"title":"Create from template","api":"POST https://api.sendforsign.com/api/contract","href":"/api-reference/contract/create-from-template"},{"title":"Create and send contract","api":"POST https://api.sendforsign.com/api/contract","description":"Create a contract and send it to recipients for signing or approval in a single Sendforsign API request.","href":"/api-reference/contract/create-send"},{"title":"Create and fill in contract","api":"POST https://api.sendforsign.com/api/contract","href":"/api-reference/contract/create-fill"},{"title":"Update contract","api":"POST https://api.sendforsign.com/api/contract","description":"Update the name or text of an existing contract via the Sendforsign API.","href":"/api-reference/contract/update"},{"title":"Read contract","api":"POST https://api.sendforsign.com/api/contract","href":"/api-reference/contract/read"},{"title":"Duplicate contract","api":"POST https://api.sendforsign.com/api/contract","href":"/api-reference/contract/duplicate"},{"title":"List of contracts","api":"POST https://api.sendforsign.com/api/contract","href":"/api-reference/contract/list"},{"title":"Archive contract","api":"POST https://api.sendforsign.com/api/contract","href":"/api-reference/contract/archive"},{"title":"Get Timeline","api":"GET https://api.sendforsign.com/api/contract_event","href":"/api-reference/contract/get_timeline"}]},{"group":"PDF and Word","pages":[{"title":"Download PDF","api":"GET https://api.sendforsign.com/api/download_pdf","href":"/api-reference/pdf/download"},{"title":"Upload PDF","api":"POST https://api.sendforsign.com/api/upload_pdf","href":"/api-reference/pdf/upload"},{"title":"Download Word","api":"GET https://api.sendforsign.com/api/download_docx","href":"/api-reference/pdf/downloadword"}]},{"group":"Placeholder","pages":[{"title":"Create placeholder","api":"POST https://api.sendforsign.com/api/placeholder","href":"/api-reference/placeholder/create"},{"title":"Update placeholder","api":"POST https://api.sendforsign.com/api/placeholder","href":"/api-reference/placeholder/update"},{"title":"Table placeholder","api":"POST https://api.sendforsign.com/api/placeholder","href":"/api-reference/placeholder/update-table"},{"title":"Place basic placeholder","api":"POST https://api.sendforsign.com/api/placeholder","href":"/api-reference/placeholder/pdfbasic"},{"title":"Place special placeholder","api":"POST https://api.sendforsign.com/api/placeholder","href":"/api-reference/placeholder/pdfspecial"},{"title":"List of placeholders","api":"POST https://api.sendforsign.com/api/placeholder","href":"/api-reference/placeholder/list"},{"title":"Delete placeholder","api":"POST https://api.sendforsign.com/api/placeholder","href":"/api-reference/placeholder/delete"}]},{"group":"Recipient","pages":[{"title":"Create recipient","api":"POST https://api.sendforsign.com/api/recipient","href":"/api-reference/recipient/create"},{"title":"Update recipient","api":"POST https://api.sendforsign.com/api/recipient","href":"/api-reference/recipient/update"},{"title":"Send to recipients","api":"POST https://api.sendforsign.com/api/recipient","href":"/api-reference/recipient/send"},{"title":"List of recipients","api":"POST https://api.sendforsign.com/api/recipient","href":"/api-reference/recipient/list"},{"title":"Delete recipient","api":"POST https://api.sendforsign.com/api/recipient","href":"/api-reference/recipient/delete"}]},{"group":"Template","pages":[{"title":"Create template","api":"POST https://api.sendforsign.com/api/template","href":"/api-reference/template/create"},{"title":"Create and fill in template","api":"POST https://api.sendforsign.com/api/template","href":"/api-reference/template/create-fill"},{"title":"Update template","api":"POST https://api.sendforsign.com/api/template","href":"/api-reference/template/update"},{"title":"Convert into template","api":"POST https://api.sendforsign.com/api/template","href":"/api-reference/template/convert"},{"title":"Read template","api":"POST https://api.sendforsign.com/api/template","href":"/api-reference/template/read"},{"title":"Duplicate template","api":"POST https://api.sendforsign.com/api/template","href":"/api-reference/template/duplicate"},{"title":"List of templates","api":"POST https://api.sendforsign.com/api/template","href":"/api-reference/template/list"},{"title":"Delete template","api":"POST https://api.sendforsign.com/api/template","href":"/api-reference/template/delete"}]},{"group":"Webhook","pages":[{"title":"Webhooks concept","href":"/api-reference/webhook/concept"},{"title":"Create webhook","api":"POST https://api.sendforsign.com/api/webhook","href":"/api-reference/webhook/create"},{"title":"Update webhook","api":"POST https://api.sendforsign.com/api/webhook","href":"/api-reference/webhook/update"},{"title":"Read webhook","api":"POST https://api.sendforsign.com/api/webhook","href":"/api-reference/webhook/read"},{"title":"List of webhooks","api":"POST https://api.sendforsign.com/api/webhook","href":"/api-reference/webhook/list"},{"title":"Delete webhook","api":"POST https://api.sendforsign.com/api/webhook","href":"/api-reference/webhook/delete"}]},{"group":"Settings","pages":[{"title":"Email notifications","api":"POST https://api.sendforsign.com/api/settings","href":"/api-reference/settings/email_notifications"},{"title":"Custom branding","api":"POST https://api.sendforsign.com/api/settings","href":"/api-reference/settings/branding"}]}]},{"tab":"React Components","pages":[{"title":"React Components","href":"/sdk/introsdk"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog/2025"}]},{"tab":"Blog","pages":[{"title":"Blog","href":"/blog/2025"}]},{"tab":"About","pages":[{"title":"About","href":"/about/vision"}]}]},"basePath":"","title":"Create and fill in contract - Sendforsign documentation","buildId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","deploymentId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-DdEMm2kG.js","utils-BMo572L7.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C-4m9KAx.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DPLK2Oq9.js","snippetPresets-BKjfJMC9.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-DTsgtCEj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C8vmhyQM.js","shallow-r9w8LQGS.js","getApiPlaygroundDisplay-DjPI64HQ.js","CodeSnippet-C8Bvhl16.js","CodeSnippets-BtWUwcMy.js","Page-BIYvYBgk.js","getPastedJson-Dcm_3Pgl.js","icon-BXwrTpjc.js","MethodPill-CcjfVmmy.js","DuplicateIcon-BuKIbXAQ.js","createIcon-DaL9yXsO.js","DynamicMarkdown-Co5nikxh.js","SectionHeading-P4UNTsMZ.js","axios-vUo_bRtp.js"]}