cURL
curl --request POST \ --url https://app.demand-iq.com/api/contracts/import \ --header 'Content-Type: multipart/form-data' \ --cookie session= \ --form file='@example-file'
{ "detectedVariables": [ "<string>" ] }
Uploads a contract document (PDF or Word), extracts text, and uses AI to analyze it for template conversion. Returns detected variables that can be used in contract templates.
Session cookie obtained from POST /api/auth/login.
POST /api/auth/login
Contract file (PDF or DOCX, max 10 MB)
Analyzed contract