You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ce06025
Browse filesBrowse the repository at this point in the historyBrowse files
- New: the PDF tools, which run on files you send, with no template. `split_pdf`, `extract_pages`,
`rotate_pages`, `encrypt_pdf`, `decrypt_pdf`, `watermark_pdf`, `add_page_numbers`, `compress_pdf`, `flatten_pdf`,
`pdf_to_images`, `images_to_pdf` and `pdf_to_text` each start a job on a PDF (or images) you give as a URL, an upload,
base64 or a file already in DocSpring. `html_to_pdf` and `markdown_to_pdf` convert HTML or Markdown you send to a PDF.
Each returns a job with links to the files it made: `get_job` reads it again, `list_jobs` lists your jobs and
`delete_job` deletes one and its files. See [PDF Tools API](https://docspring.com/docs/api-guide/pdf-tools/).
- New: `Template` has `page_list`, a PDF template's pages in the order its generated PDFs have them (`TemplatePageList`: `source_pages`, the `pages` in order, and the `blank_pages` added), which update_template takes too. Null puts the PDF's pages back in order. Fields' `page` numbers and get_template_page_images follow it, and a blank page's `PageImage` has a null `download_url`.
`pdf_to_images`, `images_to_pdf` and `pdf_to_text` each start a job on a PDF (or images) you give as a URL, an upload,
6
+
base64 or a file already in DocSpring. `html_to_pdf` and `markdown_to_pdf` convert HTML or Markdown you send to a PDF.
7
+
Each returns a job with links to the files it made: `get_job` reads it again, `list_jobs` lists your jobs and
8
+
`delete_job` deletes one and its files. See [PDF Tools API](https://docspring.com/docs/api-guide/pdf-tools/).
9
+
- New: `Template` has `page_list`, a PDF template's pages in the order its generated PDFs have them (`TemplatePageList`: `source_pages`, the `pages` in order, and the `blank_pages` added), which update_template takes too. Null puts the PDF's pages back in order. Fields' `page` numbers and get_template_page_images follow it, and a blank page's `PageImage` has a null `download_url`.
10
+
1
11
### 4.7.0 [November 18, 2026]
2
12
3
13
- New: support for AI agents that use DocSpring. `ask_support_help` puts a question to DocSpring's AI help, which
@@ -24,6 +34,11 @@
24
34
- New: `SubmissionFiles` has `signing_manifest`, the audit data behind a signed submission's audit trail, as JSON.
25
35
- Changed: without `expires_in`, a submission follows its template's expiry, or your account's data retention settings
26
36
when the template doesn't override them, and a combined PDF follows your account's settings.
37
+
- New: `Template` has `markdown`, whether an HTML template's body is written in Markdown (GitHub Flavored Markdown,
38
+
which can also hold HTML), which create_template and update_template take too.
39
+
- New: `Template` has `html_engine`, what renders an HTML template's PDFs: `standard` (DocSpring's own renderer, much
40
+
faster) or `chromium` (headless Chrome, which runs JavaScript), which create_template and update_template take too.
41
+
Other values are refused.
27
42
- New: `Template` has `form_sections_in_order`, whether a web form with sections makes people fill them out in order, which create_template and update_template take too.
28
43
- New: `Template` has `continue_before_optional_fields`, whether visual forms and signature requests show Continue
29
44
next to Next as soon as the required fields are filled in (on by default), which create_template and update_template take too.
|[`create_template`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#create_template)| Create a template |
107
109
|[`create_template_preview`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#create_template_preview)| Preview a template with data |
108
110
|[`create_webhook`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#create_webhook)| Create a webhook |
111
+
|[`decrypt_pdf`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#decrypt_pdf)| Decrypt a PDF |
109
112
|[`delete_account_email_action`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#delete_account_email_action)| Delete an account email action |
110
113
|[`delete_custom_file`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#delete_custom_file)| Delete a custom file |
111
114
|[`delete_email_action`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#delete_email_action)| Delete an email action |
112
115
|[`delete_email_action_customization`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#delete_email_action_customization)| Reset an account email action's customization |
113
116
|[`delete_email_domain`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#delete_email_domain)| Remove an email domain |
114
117
|[`delete_folder`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#delete_folder)| Delete a folder |
118
+
|[`delete_job`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#delete_job)| Delete a job |
115
119
|[`delete_template`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#delete_template)| Delete a template |
116
120
|[`delete_webhook`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#delete_webhook)| Delete a webhook |
121
+
|[`encrypt_pdf`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#encrypt_pdf)| Encrypt a PDF |
117
122
|[`expire_combined_pdf`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#expire_combined_pdf)| Expire a combined PDF |
118
123
|[`expire_submission`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#expire_submission)| Expire a submission |
124
+
|[`extract_pages`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#extract_pages)| Extract pages from a PDF |
125
+
|[`flatten_pdf`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#flatten_pdf)| Flatten a PDF |
119
126
|[`generate_submission_files`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#generate_submission_files)| Generate more files |
120
127
|[`generate_submission_preview`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#generate_submission_preview)| Generate a preview PDF |
121
128
|[`get_account_email_action`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#get_account_email_action)| Get an account email action |
@@ -124,6 +131,7 @@ Ruby code for every method.
124
131
|[`get_email_action`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#get_email_action)| Get an email action |
125
132
|[`get_email_domain`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#get_email_domain)| Get an email domain |
126
133
|[`get_folder`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#get_folder)| Get a folder |
134
+
|[`get_job`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#get_job)| Get a job |
127
135
|[`get_presign_url`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#get_presign_url)| Get a presigned URL to upload a file |
128
136
|[`get_signature_request`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#get_signature_request)| Get a signature request |
129
137
|[`get_submission`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#get_submission)| Get a submission |
@@ -137,30 +145,38 @@ Ruby code for every method.
137
145
|[`get_template_preview`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#get_template_preview)| Get a template preview |
138
146
|[`get_template_schema`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#get_template_schema)| Get the JSON Schema of a template's submission data |
139
147
|[`get_webhook`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#get_webhook)| Get a webhook |
148
+
|[`html_to_pdf`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#html_to_pdf)| Convert HTML to a PDF |
149
+
|[`images_to_pdf`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#images_to_pdf)| Convert images to a PDF |
140
150
|[`list_account_email_actions`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#list_account_email_actions)| List account email actions |
141
151
|[`list_combined_pdfs`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#list_combined_pdfs)| List combined PDFs |
142
152
|[`list_custom_files`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#list_custom_files)| List custom files |
143
153
|[`list_email_actions`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#list_email_actions)| List email actions |
144
154
|[`list_email_domains`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#list_email_domains)| List email domains |
145
155
|[`list_folders`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#list_folders)| List folders |
156
+
|[`list_jobs`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#list_jobs)| List jobs |
146
157
|[`list_submissions`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#list_submissions)| List submissions |
147
158
|[`list_support_tickets`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#list_support_tickets)| List support tickets |
148
159
|[`list_template_fields`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#list_template_fields)| List a template's fields |
149
160
|[`list_template_submissions`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#list_template_submissions)| List a template's submissions |
150
161
|[`list_templates`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#list_templates)| List templates |
151
162
|[`list_webhooks`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#list_webhooks)| List webhooks |
163
+
|[`markdown_to_pdf`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#markdown_to_pdf)| Convert Markdown to a PDF |
152
164
|[`move_folder`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#move_folder)| Move a folder |
153
165
|[`move_template`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#move_template)| Move a template to a folder |
154
166
|[`open_support_ticket`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#open_support_ticket)| Open a support ticket |
167
+
|[`pdf_to_images`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#pdf_to_images)| Render PDF pages as images |
168
+
|[`pdf_to_text`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#pdf_to_text)| Extract text from a PDF |
155
169
|[`publish_template_version`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#publish_template_version)| Publish a template version |
156
170
|[`remove_template_fields`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#remove_template_fields)| Remove fields from a template |
157
171
|[`rename_folder`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#rename_folder)| Rename a folder |
158
172
|[`reorder_template_fields`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#reorder_template_fields)| Reorder a template's fields |
159
173
|[`reply_to_support_ticket`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#reply_to_support_ticket)| Reply to a support ticket |
160
174
|[`restore_template_version`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#restore_template_version)| Restore a template version |
|[`send_account_email_action_test_email`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#send_account_email_action_test_email)| Send a test email for an account email action |
162
177
|[`send_email_action_test_email`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#send_email_action_test_email)| Send a test email |
|[`split_pdf`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#split_pdf)| Split a PDF |
164
180
|[`test_authentication`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#test_authentication)| Test authentication |
165
181
|[`update_account_email_action`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#update_account_email_action)| Update an account email action |
166
182
|[`update_email_action`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#update_email_action)| Update an email action |
@@ -174,6 +190,7 @@ Ruby code for every method.
174
190
|[`upload_template_document`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#upload_template_document)| Replace a template's document with an uploaded file |
175
191
|[`validate_submission`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#validate_submission)| Check a submission without creating it |
176
192
|[`verify_email_domain`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#verify_email_domain)| Verify an email domain |
193
+
|[`watermark_pdf`](https://github.com/DocSpring/docspring-ruby/blob/main/docs/Client.md#watermark_pdf)| Watermark a PDF |
|**input**|[**JobSourceInput**](JobSourceInput.md)| The file the job reads. The job shows it as `inputs[0]`. ||
8
+
|**metadata**|**Hash<String, Object>**| Your own data about the job, such as an ID from your app. Up to 50 keys. |[optional]|
9
+
|**expires_in**|**Integer**| Seconds after the job finishes until its files are deleted, up to 10 years (315360000), sooner or later than the account's expiry setting. Defaults to the account's expiry setting for the PDF tools, which keeps them until you delete the job when it's off. A job that fails is kept for at least 48 hours. |[optional]|
10
+
|**text**|**String**| The label, where `{page}` is the page's number and `{total}` the last number. Default `Page {page} of {total}`. Latin letters, numbers and punctuation (the Windows-1252 characters). |[optional]|
11
+
|**position**|[**PageNumberPosition**](PageNumberPosition.md)| Where the number goes. Default `bottom_center`. |[optional]|
12
+
|**font_size**|**Float**| The text's size in points. Default 10. |[optional]|
13
+
|**start_at**|**Integer**| The first numbered page's number. Default 1. |[optional]|
14
+
|**pages**|**String**| The pages to number, such as `2-z` to skip a cover page. Default every page. |[optional]|
Copy file name to clipboardExpand all lines: docs/AskSupportHelpRequest.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
5
5
| Name | Type | Description | Notes |
6
6
| ---- | ---- | ----------- | ----- |
7
-
|**question**|**String**| What you want to know, in a sentence or two. For a follow-up question, include what was asked and answered before that matters to it: each request is answered by itself. ||
7
+
|**question**|**String**| What you want to know, in a sentence or two. For a follow-up, send the questions and answers so far as `conversation`. ||
8
8
|**tool**|**String**| The API operation, MCP tool or CLI command involved, if any. |[optional]|
9
9
|**error**|**String**| The exact error text, if any. |[optional]|
10
10
|**conversation**|[**Array<SupportHelpTurn>**](SupportHelpTurn.md)| For a chat: the questions and answers so far, oldest first, when `question` follows on from them. At most 40 turns: start a new conversation after that. |[optional]|
|**type**|**String**| Must be `base64`. |[default to 'base64']|
8
+
|**data**|**String**| For a `base64` input, the file's bytes in base64. Up to 7 MB once decoded: upload bigger files (GET /uploads/presign). A job never returns it. ||
9
+
|**filename**|**String**| The file's name. The job names the files it makes after it (contract.pdf makes contract-1.pdf). Default the name of the custom file, job file or URL path. |[optional]|
0 commit comments