Getting Started
From API key to your first result.
Create an API key, upload a document from your server, process it and download the result.
Getting Started
Create an API key, upload a document from your server, process it and download the result.
Overview
Start on your server. Create a test key in the dashboard, keep it out of source control, and use a sample file you know well.
Processing requests return 202 Accepted straight away and finish in the background. Save the document, version and job IDs, then check the job's status or receive a signed webhook when it completes.
Step by step
Choose only the scopes your service needs and store the key in a secret manager. It is shown once.
Send the file to POST /api/v2/documents with your key, its name, type and an idempotency key.
Run a tool on the returned version and handle each job status your app may see.
Download the output with the same key, check it, and keep the IDs for support.
Built in
Never put an API key in a browser, a mobile app or a log.
Reuse an idempotency key only when you retry the same request. Use a new one for new work.
Try good and bad files before you launch, and check the output each time.
Packages
wellfriend-document-sdknpm install wellfriend-document-sdk@latestwellfriend-document-sdkpip install -U wellfriend-document-sdkwellfriend.dev/go/wellfriendgo get wellfriend.dev/go/wellfriend@latestwellfriend-document-sdkcargo add wellfriend-document-sdkwellfriend (in wellfriend-document-sdk)npm install -g wellfriend-document-sdk@latest