Create a new legal request for a published workflow. The required fields and variables depend on the workflow — use the Get workflow schema endpoint first to discover them.
Some workflows generate an agreement from a template and require counterparty details, while others accept an uploaded document via the file field. The schema endpoint tells you exactly which fields and variables are needed.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"SimpleDocs","description":"API documentation for SimpleDocs — programmatic access to legal workflows, document management, and real-time event notifications.","colors":{"primary":"#7978FF","light":"#A198D3","dark":"#33326B"},"logo":{"light":"https://mintcdn.com/simpledocs/FmL-LdRE20eSPtUu/logo/light.svg?fit=max\u0026auto=format\u0026n=FmL-LdRE20eSPtUu\u0026q=85\u0026s=b8a7f29f562926307ebee2bd773dbb0d","dark":"https://mintcdn.com/simpledocs/FmL-LdRE20eSPtUu/logo/dark.svg?fit=max\u0026auto=format\u0026n=FmL-LdRE20eSPtUu\u0026q=85\u0026s=5d1b437f4a3ec3c71bc46aa45fe0e328","href":"https://simpledocs.com"},"favicon":"https://mintcdn.com/simpledocs/FmL-LdRE20eSPtUu/favicon.svg?fit=max\u0026auto=format\u0026n=FmL-LdRE20eSPtUu\u0026q=85\u0026s=dfcd06d8df245cfa88c73c369f3aedfc","api":{"openapi":"openapi.json","playground":{"display":"none"},"examples":{"languages":["bash","python","javascript"]}},"appearance":{"default":"system"},"background":{"color":{"light":"#FAFAFF","dark":"#1E1D26"}},"navbar":{"links":[{"href":"https://simpledocs.com","label":"SimpleDocs.com"},{"href":"mailto:[email protected]","label":"Support"}],"primary":{"type":"button","label":"Open App","href":"https://app.simpledocs.com"}},"footer":{"socials":{"website":"https://simpledocs.com","linkedin":"https://linkedin.com/company/simpledocs"},"links":[{"header":"Product","items":[{"label":"SimpleDocs","href":"https://simpledocs.com"},{"label":"Login","href":"https://app.simpledocs.com"}]},{"header":"Developers","items":[{"label":"API Reference","href":"/api-reference"},{"label":"Quickstart","href":"/quickstart"},{"label":"Authentication","href":"/authentication"}]}]},"search":{},"fonts":{"heading":{"family":"Inter","weight":600},"body":{"family":"Inter","weight":400}},"styling":{"codeblocks":{"theme":{"light":"github-light","dark":"github-dark-dimmed"}},"latex":false},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"simpledocs","hasAudioNarration":false,"actualSubdomain":"simpledocs","customDomains":["docs.simpledocs.com"],"gitSource":{"type":"github","owner":"simpledocs-com","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae94979ad71672b181f3864:success","clientVersion":"0.0.4111","searchFilterCounts":[{"language":"default","tag":"API Reference","count":14},{"language":"default","tag":"Guides","count":11},{"language":"default","tag":"Requests","count":4},{"language":"default","tag":"Repository Documents","count":3},{"language":"default","tag":"Webhooks","count":3},{"language":"default","tag":"Workflows","count":3},{"language":"default","tag":"Getting Started","count":3},{"language":"default","tag":"Authentication","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"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":"llms-txt-v2","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}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"#navbar{backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}#topbar-cta-button{border-radius:9999px;font-weight:600;letter-spacing:0.01em}.card{border-radius:12px;transition:border-color 0.2s ease, box-shadow 0.2s ease}.card:hover{box-shadow:0 2px 12px rgba(121, 120, 255, 0.08)}#sidebar-content a[data-active=\"true\"]{font-weight:600}.code-block{border-radius:10px}footer{border-top:1px solid rgba(121, 120, 255, 0.1)}"}],"page":{"pagePath":"api-reference/requests/create-request","slug":"/api-reference/requests/create-request","pageMetadata":{"openapi":"POST /v1/requests","title":"Create a request","description":"Create a new legal request for a published workflow. The required fields and variables depend on the workflow — use the [Get workflow schema](/api-reference/workflows/get-workflow-schema) endpoint first to discover them.\n\nSome workflows generate an agreement from a template and require counterparty details, while others accept an uploaded document via the `file` field. The schema endpoint tells you exactly which fields and variables are needed.\n\nRequires the `write` scope.","href":"/api-reference/requests/create-request"},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n a: \"a\",\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"Create a new legal request for a published workflow. The required fields and variables depend on the workflow — use the \", _jsx(_components.a, {\n href: \"/api-reference/workflows/get-workflow-schema\",\n children: \"Get workflow schema\"\n }), \" endpoint first to discover them.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Some workflows generate an agreement from a template and require counterparty details, while others accept an uploaded document via the \", _jsx(_components.code, {\n children: \"file\"\n }), \" field. The schema endpoint tells you exactly which fields and variables are needed.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Requires the \", _jsx(_components.code, {\n children: \"write\"\n }), \" scope.\"]\n })]\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"codeStyling":{"theme":{"light":"github-light","dark":"github-dark-dimmed"}},"config":{},"pageMetadata":{"openapi":"POST /v1/requests","title":"Create a request","description":"Create a new legal request for a published workflow. The required fields and variables depend on the workflow — use the [Get workflow schema](/api-reference/workflows/get-workflow-schema) endpoint first to discover them.\n\nSome workflows generate an agreement from a template and require counterparty details, while others accept an uploaded document via the `file` field. The schema endpoint tells you exactly which fields and variables are needed.\n\nRequires the `write` scope.","href":"/api-reference/requests/create-request"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"createRequest","summary":"Create a request","description":"Create a new legal request for a published workflow. The required fields and variables depend on the workflow — use the [Get workflow schema](/api-reference/workflows/get-workflow-schema) endpoint first to discover them.\n\nSome workflows generate an agreement from a template and require counterparty details, while others accept an uploaded document via the `file` field. The schema endpoint tells you exactly which fields and variables are needed.\n\nRequires the `write` scope.","tags":["Requests"],"security":["0d8fe904-3491-4f52-9159-25c723492a98"],"requestBody":"5f5ef131-5dbc-44ab-84f3-dac677ad143a","responses":{"201":"42911af5-b1a7-471a-9011-ba23c71cb18e","400":"51c1cf66-5eef-44a8-8978-47dd574a9158","401":"f1217b4b-fb39-4d8e-a4a7-cddd0f2186ca","403":"1f78afdb-7ca4-4538-a069-56dfb0241e65","404":"75c1b672-b6ea-4456-ae93-848594cb5b64","422":"210e5891-b941-43e8-91b5-06f8b8c7c4f0"},"method":"post","type":"path","servers":["2e6d5048-fe88-46e7-8051-0730d09d2638"],"path":"/v1/requests","baseUrlOptions":["https://app.simpledocs.com/api"],"title":"Create a request","codeSamples":[],"requestExampleLanguages":["bash","python","javascript"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["workflow_id","requester_email"],"properties":{"workflow_id":{"type":"string","description":"The hash ID of the published workflow to use.","isRequired":true,"uniqueKey":"workflow_id","typeLabel":"string"},"requester_email":{"type":"string","format":"email","description":"Email of an existing user in your company who is making the request.","isRequired":true,"uniqueKey":"requester_email","typeLabel":"string\u003cemail>"},"counterparty_name":{"type":"string","description":"Name of the counterparty signer. Required by some workflow types — check the workflow schema.","uniqueKey":"counterparty_name","typeLabel":"string"},"counterparty_email":{"type":"string","format":"email","description":"Email of the counterparty signer. Required by some workflow types — check the workflow schema.","uniqueKey":"counterparty_email","typeLabel":"string\u003cemail>"},"counterparty_organization_name":{"type":"string","description":"Name of the counterparty's organization. Required by some workflow types — check the workflow schema.","uniqueKey":"counterparty_organization_name","typeLabel":"string"},"file":{"type":"string","format":"binary","description":"The document file to use. Required by workflows that accept a third-party document — check the workflow schema.","uniqueKey":"file","typeLabel":"file"},"variables":{"type":"object","description":"A JSON object containing the workflow variable values. Use the workflow schema endpoint to discover required and optional variables.","example":{"purpose":"To agree on confidential","duration_unit":"year","duration":2},"uniqueKey":"variables","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"workflow_id":"\u003cstring>","requester_email":"[email protected]","counterparty_name":"\u003cstring>","counterparty_email":"[email protected]","counterparty_organization_name":"\u003cstring>","file":"\u003cstring>","variables":{"purpose":"To agree on confidential","duration_unit":"year","duration":2}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"42911af5-b1a7-471a-9011-ba23c71cb18e":{"description":"Request created successfully.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{"type":"string","description":"Hash ID of the request.","example":"mN3kYq","uniqueKey":"data.id","typeLabel":"string"},"type":{"type":"string","example":"legal_request","uniqueKey":"data.type","typeLabel":"string"},"attributes":{"type":"object","properties":{"name":{"type":"string","example":"Vendor Agreement — Acme Corp","uniqueKey":"data.attributes.name","typeLabel":"string"},"description":{"oneOf":[{"type":"string","uniqueKey":"data.attributes.description.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.attributes.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.attributes.description","typeLabel":"string | null"},"status":{"type":"string","enum":["draft","ready_for_send","business_review","initial_review","ongoing_review","sent_for_signature","changes_proposed","signed","archived","declined","canceled","expired"],"example":"initial_review","uniqueKey":"data.attributes.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"data.attributes","typeLabel":"object"}},"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":{"id":"mN3kYq","type":"legal_request","attributes":{"name":"Vendor Agreement — Acme Corp","description":"\u003cstring>","status":"initial_review"}}}}},"exampleType":"generated"}},"exampleType":"generated"},"51c1cf66-5eef-44a8-8978-47dd574a9158":{"description":"The request is malformed or missing required parameters.","content":{"application/json":{"schema":{"type":"object","description":"Error responses follow [RFC 9457](https://www.rfc-editor.org/rfc/rfc9457) Problem Details format.","properties":{"type":{"type":"string","description":"A machine-readable error type identifier.","example":"parameter_missing","uniqueKey":"type","typeLabel":"string"},"status":{"type":"integer","example":400,"uniqueKey":"status","typeLabel":"integer"},"title":{"type":"string","example":"Bad Request","uniqueKey":"title","typeLabel":"string"},"detail":{"type":"string","description":"A human-readable explanation of the error.","example":"File or URL is required","uniqueKey":"detail","typeLabel":"string"},"instance":{"type":"string","description":"The request path that generated the error.","example":"/api/v1/repository_documents","uniqueKey":"instance","typeLabel":"string"},"request_id":{"type":"string","description":"A unique identifier for the request, useful for support.","uniqueKey":"request_id","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"type":"parameter_missing","status":400,"title":"Bad Request","detail":"File or URL is required","instance":"/api/v1/repository_documents","request_id":"abc-123"},"examples":{"Example":{"title":"Example","value":{"type":"parameter_missing","status":400,"title":"Bad Request","detail":"File or URL is required","instance":"/api/v1/repository_documents","request_id":"abc-123"}}},"exampleType":"examples"}},"exampleType":"examples"},"f1217b4b-fb39-4d8e-a4a7-cddd0f2186ca":{"description":"The access token is missing, invalid, expired, or revoked.","content":{"application/json":{"schema":{"type":"object","description":"Error responses follow [RFC 9457](https://www.rfc-editor.org/rfc/rfc9457) Problem Details format.","properties":{"type":{"type":"string","description":"A machine-readable error type identifier.","example":"parameter_missing","uniqueKey":"type","typeLabel":"string"},"status":{"type":"integer","example":400,"uniqueKey":"status","typeLabel":"integer"},"title":{"type":"string","example":"Bad Request","uniqueKey":"title","typeLabel":"string"},"detail":{"type":"string","description":"A human-readable explanation of the error.","example":"File or URL is required","uniqueKey":"detail","typeLabel":"string"},"instance":{"type":"string","description":"The request path that generated the error.","example":"/api/v1/repository_documents","uniqueKey":"instance","typeLabel":"string"},"request_id":{"type":"string","description":"A unique identifier for the request, useful for support.","uniqueKey":"request_id","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"expired":{"title":"expired","value":{"type":"token_expired","status":401,"title":"Token Expired","detail":"The access token has expired.","instance":"/api/v1/workflows","request_id":"abc-123"}},"revoked":{"title":"revoked","value":{"type":"token_revoked","status":401,"title":"Token Revoked","detail":"The access token has been revoked.","instance":"/api/v1/workflows","request_id":"abc-123"}},"invalid":{"title":"invalid","value":{"type":"invalid_token","status":401,"title":"Invalid Token","detail":"The access token is invalid.","instance":"/api/v1/workflows","request_id":"abc-123"}}},"exampleType":"examples"}},"exampleType":"examples"},"1f78afdb-7ca4-4538-a069-56dfb0241e65":{"description":"The access token does not have the required scope.","content":{"application/json":{"schema":{"type":"object","description":"Error responses follow [RFC 9457](https://www.rfc-editor.org/rfc/rfc9457) Problem Details format.","properties":{"type":{"type":"string","description":"A machine-readable error type identifier.","example":"parameter_missing","uniqueKey":"type","typeLabel":"string"},"status":{"type":"integer","example":400,"uniqueKey":"status","typeLabel":"integer"},"title":{"type":"string","example":"Bad Request","uniqueKey":"title","typeLabel":"string"},"detail":{"type":"string","description":"A human-readable explanation of the error.","example":"File or URL is required","uniqueKey":"detail","typeLabel":"string"},"instance":{"type":"string","description":"The request path that generated the error.","example":"/api/v1/repository_documents","uniqueKey":"instance","typeLabel":"string"},"request_id":{"type":"string","description":"A unique identifier for the request, useful for support.","uniqueKey":"request_id","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"type":"insufficient_scope","status":403,"title":"Forbidden","detail":"The access token does not have the required scope.","instance":"/api/v1/repository_documents","request_id":"abc-123"},"examples":{"Example":{"title":"Example","value":{"type":"insufficient_scope","status":403,"title":"Forbidden","detail":"The access token does not have the required scope.","instance":"/api/v1/repository_documents","request_id":"abc-123"}}},"exampleType":"examples"}},"exampleType":"examples"},"75c1b672-b6ea-4456-ae93-848594cb5b64":{"description":"The requested resource was not found.","content":{"application/json":{"schema":{"type":"object","description":"Error responses follow [RFC 9457](https://www.rfc-editor.org/rfc/rfc9457) Problem Details format.","properties":{"type":{"type":"string","description":"A machine-readable error type identifier.","example":"parameter_missing","uniqueKey":"type","typeLabel":"string"},"status":{"type":"integer","example":400,"uniqueKey":"status","typeLabel":"integer"},"title":{"type":"string","example":"Bad Request","uniqueKey":"title","typeLabel":"string"},"detail":{"type":"string","description":"A human-readable explanation of the error.","example":"File or URL is required","uniqueKey":"detail","typeLabel":"string"},"instance":{"type":"string","description":"The request path that generated the error.","example":"/api/v1/repository_documents","uniqueKey":"instance","typeLabel":"string"},"request_id":{"type":"string","description":"A unique identifier for the request, useful for support.","uniqueKey":"request_id","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"type":"request_not_found","status":404,"title":"Request not found","detail":"The request you are trying to access does not exist.","instance":"/api/v1/requests/abc123","request_id":"abc-123"},"examples":{"Example":{"title":"Example","value":{"type":"request_not_found","status":404,"title":"Request not found","detail":"The request you are trying to access does not exist.","instance":"/api/v1/requests/abc123","request_id":"abc-123"}}},"exampleType":"examples"}},"exampleType":"examples"},"210e5891-b941-43e8-91b5-06f8b8c7c4f0":{"description":"The request was well-formed but could not be processed.","content":{"application/json":{"schema":{"type":"object","description":"Error responses follow [RFC 9457](https://www.rfc-editor.org/rfc/rfc9457) Problem Details format.","properties":{"type":{"type":"string","description":"A machine-readable error type identifier.","example":"parameter_missing","uniqueKey":"type","typeLabel":"string"},"status":{"type":"integer","example":400,"uniqueKey":"status","typeLabel":"integer"},"title":{"type":"string","example":"Bad Request","uniqueKey":"title","typeLabel":"string"},"detail":{"type":"string","description":"A human-readable explanation of the error.","example":"File or URL is required","uniqueKey":"detail","typeLabel":"string"},"instance":{"type":"string","description":"The request path that generated the error.","example":"/api/v1/repository_documents","uniqueKey":"instance","typeLabel":"string"},"request_id":{"type":"string","description":"A unique identifier for the request, useful for support.","uniqueKey":"request_id","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"type":"repository_document_creation_error","status":422,"title":"Repository document creation failed","detail":"File type is not supported","instance":"/api/v1/repository_documents","request_id":"abc-123"},"examples":{"Example":{"title":"Example","value":{"type":"repository_document_creation_error","status":422,"title":"Repository document creation failed","detail":"File type is not supported","instance":"/api/v1/repository_documents","request_id":"abc-123"}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"0d8fe904-3491-4f52-9159-25c723492a98":{"bearerAuth":{"type":"http","scheme":"bearer","description":"Obtain a Bearer token via the [Create access token](/api-reference/authentication/create-token) endpoint using the OAuth2 client credentials flow.","scopes":["write"]}}},"servers":{"2e6d5048-fe88-46e7-8051-0730d09d2638":{"url":"https://app.simpledocs.com/api","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Obtain a Bearer token via the [Create access token](/api-reference/authentication/create-token) endpoint using the OAuth2 client credentials flow.","scopes":["write"]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Obtain a Bearer token via the [Create access token](/api-reference/authentication/create-token) endpoint using the OAuth2 client credentials flow.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"openapi.json"},"subdomain":"simpledocs","siteName":"SimpleDocs","title":"Create a request - SimpleDocs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-03-09T20:28:31.402Z","originalFileLocation":"api-reference/requests/create-request.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=\"system\"}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 new legal request for a published workflow. The required fields and variables depend on the workflow — use the Get workflow schema endpoint first to discover them. Some workflows generate an agreement from a template and require counterparty details, while others accept an uploaded document via the file field. The schema endpoint tells you exactly which fields and variables are needed. Requires the write scope.\">\u003cmeta data-mint-head name=\"application-name\" content=\"SimpleDocs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/simpledocs/QqVe5QQlf5aJi36r/_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/simpledocs/QqVe5QQlf5aJi36r/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/simpledocs/QqVe5QQlf5aJi36r/_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/simpledocs/QqVe5QQlf5aJi36r/_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/simpledocs/QqVe5QQlf5aJi36r/_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/simpledocs/QqVe5QQlf5aJi36r/_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/simpledocs/QqVe5QQlf5aJi36r/_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/simpledocs/QqVe5QQlf5aJi36r/_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/simpledocs/QqVe5QQlf5aJi36r/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create a request - SimpleDocs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a new legal request for a published workflow. The required fields and variables depend on the workflow — use the Get workflow schema endpoint first to discover them. Some workflows generate an agreement from a template and require counterparty details, while others accept an uploaded document via the file field. The schema endpoint tells you exactly which fields and variables are needed. Requires the write scope.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"SimpleDocs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.simpledocs.com/api-reference/requests/create-request\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://simpledocs.mintlify.site/_mintlify/api/og/v2?division=Requests\u0026amp;title=Create+a+request\u0026amp;description=Create+a+new+legal+request+for+a+published+workflow.+The+required+fields+and+variables+depend+on+the+workflow+%E2%80%94+use+the+%5BGet+workflow+schema%5D%28%2Fapi-reference%2Fwor\u0026amp;theme=19ac19e86d446e6ed5479527\u0026amp;signature=5e897edc900f2bbcf652d614003c7d38540f2e01b510dec382cf7b66808ded2d\">\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 a request - SimpleDocs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a new legal request for a published workflow. The required fields and variables depend on the workflow — use the Get workflow schema endpoint first to discover them. Some workflows generate an agreement from a template and require counterparty details, while others accept an uploaded document via the file field. The schema endpoint tells you exactly which fields and variables are needed. Requires the write scope.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://simpledocs.mintlify.site/_mintlify/api/og/v2?division=Requests\u0026amp;title=Create+a+request\u0026amp;description=Create+a+new+legal+request+for+a+published+workflow.+The+required+fields+and+variables+depend+on+the+workflow+%E2%80%94+use+the+%5BGet+workflow+schema%5D%28%2Fapi-reference%2Fwor\u0026amp;theme=19ac19e86d446e6ed5479527\u0026amp;signature=5e897edc900f2bbcf652d614003c7d38540f2e01b510dec382cf7b66808ded2d\">\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/simpledocs/QqVe5QQlf5aJi36r/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"SimpleDocs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#7978FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.simpledocs.com/api-reference/requests/create-request\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/requests/create-request.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.simpledocs.com/#organization\",\"name\":\"SimpleDocs\",\"url\":\"https://docs.simpledocs.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/simpledocs/FmL-LdRE20eSPtUu/logo/light.svg?fit=max\u0026auto=format\u0026n=FmL-LdRE20eSPtUu\u0026q=85\u0026s=b8a7f29f562926307ebee2bd773dbb0d\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.simpledocs.com#website\",\"name\":\"SimpleDocs\",\"url\":\"https://docs.simpledocs.com\",\"publisher\":{\"@id\":\"https://docs.simpledocs.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.simpledocs.com/api-reference/requests/create-request#webpage\",\"url\":\"https://docs.simpledocs.com/api-reference/requests/create-request\",\"name\":\"Create a request\",\"description\":\"Create a new legal request for a published workflow. The required fields and variables depend on the workflow — use the Get workflow schema endpoint first to discover them. Some workflows generate an agreement from a template and require counterparty details, while others accept an uploaded document via the file field. The schema endpoint tells you exactly which fields and variables are needed. Requires the write scope.\",\"dateModified\":\"2026-03-09T20:28:31.402Z\",\"isPartOf\":{\"@id\":\"https://docs.simpledocs.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.simpledocs.com/api-reference/requests/create-request#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.simpledocs.com/api-reference/requests/create-request#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Requests\",\"item\":\"https://docs.simpledocs.com/api-reference/requests/list-requests\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create a request\",\"item\":\"https://docs.simpledocs.com/api-reference/requests/create-request\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.simpledocs.com/api-reference/requests/create-request#apireference\",\"headline\":\"Create a request\",\"name\":\"Create a request\",\"description\":\"Create a new legal request for a published workflow. The required fields and variables depend on the workflow — use the Get workflow schema endpoint first to discover them. Some workflows generate an agreement from a template and require counterparty details, while others accept an uploaded document via the file field. The schema endpoint tells you exactly which fields and variables are needed. Requires the write scope.\",\"url\":\"https://docs.simpledocs.com/api-reference/requests/create-request\",\"mainEntityOfPage\":{\"@id\":\"https://docs.simpledocs.com/api-reference/requests/create-request#webpage\"},\"dateModified\":\"2026-03-09T20:28:31.402Z\",\"publisher\":{\"@id\":\"https://docs.simpledocs.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.simpledocs.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"SimpleDocs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"SimpleDocs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/requests/create-request.md","siteName":"SimpleDocs","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"Authentication","pages":[{"openapi":"POST /oauth/token","title":"Create an access token","href":"/api-reference/authentication/create-token"}]},{"group":"Repository Documents","pages":[{"openapi":"GET /v1/repository_documents","title":"List repository documents","href":"/api-reference/repository-documents/list-repository-documents"},{"openapi":"GET /v1/repository_documents/{id}","title":"Get a repository document","href":"/api-reference/repository-documents/get-repository-document"},{"openapi":"POST /v1/repository_documents","title":"Create a repository document","href":"/api-reference/repository-documents/create-repository-document"}]},{"group":"Workflows","pages":[{"openapi":"GET /v1/workflows","title":"List workflows","href":"/api-reference/workflows/list-workflows"},{"openapi":"GET /v1/workflows/{id}","title":"Get a workflow","href":"/api-reference/workflows/get-workflow"},{"openapi":"GET /v1/workflows/{id}/schema","title":"Get a workflow schema","href":"/api-reference/workflows/get-workflow-schema"}]},{"group":"Requests","pages":[{"openapi":"GET /v1/requests","title":"List requests","href":"/api-reference/requests/list-requests"},{"openapi":"GET /v1/requests/{id}","title":"Get a request","href":"/api-reference/requests/get-request"},{"openapi":"GET /v1/requests/{id}/activity","title":"Get request activity","description":"Returns the activity log for a legal request, including status changes, comments, and other events.","href":"/api-reference/requests/get-request-activity"},{"openapi":"POST /v1/requests","title":"Create a request","href":"/api-reference/requests/create-request"}]},{"group":"Webhooks","pages":[{"openapi":"GET /v1/webhooks","title":"List webhooks","description":"Returns a paginated list of webhooks registered for your company.","href":"/api-reference/webhooks/list-webhooks"},{"openapi":"POST /v1/webhooks","title":"Create a webhook","href":"/api-reference/webhooks/create-webhook"},{"openapi":"DELETE /v1/webhooks/{id}","title":"Delete a webhook","href":"/api-reference/webhooks/delete-webhook"}]}]}]},"basePath":"","title":"Create a request - SimpleDocs","buildId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","deploymentId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CybtLBIt.js","utils-BMLj2fvV.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-B6In562Y.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Dr8Mfhp9.js","snippetPresets-2rmQvMVl.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-WMqJYdZj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CJ-MlPHu.js","shallow-dY3TMRCk.js","getApiPlaygroundDisplay-v-1B2bKm.js","CodeSnippet-BDhiTB7U.js","CodeSnippets-D9hnzQcS.js","Page-C4GwDT3_.js","getPastedJson-Th2V45jI.js","icon-BQXch1W9.js","MethodPill-BCqUneP3.js","DuplicateIcon-Q_-bhurZ.js","createIcon-DUjLHRqp.js","DynamicMarkdown-B-f2cqXQ.js","SectionHeading-Da5NsV4v.js","axios-vUo_bRtp.js","Markdown-D13FWkIM.js","clsx-D3Isdib3.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-C-XZBk9h.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink--qIqmmVG.js"]}