DocSpring

Productivity Token id and secret

Fill PDF templates and generate documents with DocSpring from any Windmill script, flow or app.

Set up in 3 steps

1

Create an API token

In DocSpring, open your account settings then API Tokens, and create one. It gives a token id and a secret — copy both.

2

Add the resource in Windmill

Open Resources, add a resource of type docspring, and fill tokenId and tokenSecret.

3

Run your first script

Fork any script below and read before writing anything.

Scripts

Building blocks, if none of the projects above fit. Fork one, run it, or call it as a step inside your own flow.

Update a submission data request

Script docspring Verified

Update a Template

Script docspring Verified

Test Authentication

Script docspring Verified

Rename a folder

Script docspring Verified

Move a folder

Script docspring Verified

Move Template to folder

Script docspring Verified

Merge submission PDFs, template PDFs, or custom files

Script docspring Verified

Merge generated PDFs together

Script docspring Verified

Look up a submission data request

Script docspring Verified

List all submissions for a given template

Script docspring Verified

List all submissions

Script docspring Verified

Get a presigned URL so that you can upload a file to our AWS S3 bucket

Script docspring Verified

Get a list of all templates

Script docspring Verified

Get a list of all folders

Script docspring Verified

Get a list of all combined submissions

Script docspring Verified

Generates multiple PDFs

Script docspring Verified

Generates a new PDF

Script docspring Verified

Generated a preview PDF for partially completed data requests

Script docspring Verified

Fetch the full template attributes

Script docspring Verified

Fetch the JSON schema for a template

Script docspring Verified

Expire a combined submission

Script docspring Verified

Expire a PDF submission

Script docspring Verified

Delete a template

Script docspring Verified

Delete a folder

Script docspring Verified

Creates a new data request token for form authentication

Script docspring Verified

Create a new custom file from a cached presign upload

Script docspring Verified

Create a new PDF template with a form POST file upload

Script docspring Verified

Create a new PDF template from a cached presign upload

Script docspring Verified

Create a new HTML template

Script docspring Verified

Create a folder

Script docspring Verified

Resource type

docspring — the shape of the credential every script on this page expects.

View raw schema →
FieldTypeRequiredWhat it is
tokenIdstringYes
tokenSecretstringYes

Questions

Why two fields?

DocSpring authenticates over HTTP Basic with the id as the username and the secret as the password. Neither works alone.

Test or live?

DocSpring issues separate tokens per environment, and test documents carry a watermark. Keep a resource for each.

Are my credentials stored on the hub?

Never. They live only in your own Windmill workspace, encrypted at rest.