Repository navigation
Commit 93dffbb
committed
Update to version 4.4.0 on 2026-11-01
- New: list_email_actions, create_email_action, get_email_action, update_email_action and delete_email_action manage a
template's email actions (`EmailAction`), which email each processed submission's files as attachments or a download
link. `to`, `cc` and `bcc` take addresses, and tags for an address in the submission's fields
(`{{ data.client_email }}`) or metadata (`{{ metadata.agent_email }}`). `send_when` sends only for the submissions
that meet its conditions. `file_name` names the attached files, and `file_formats` chooses them: a Word template's
Word document (`docx`), OpenDocument file (`odt`) or PDF (`pdf`), or every file the submission made (`all`). Attached
files over `max_attachment_mb` together (7 MB unless you raise it, up to 25) go as a link instead.
send_email_action_test_email sends one to you to check how it looks (`EmailActionTestEmail`). Without a paid plan
(Starter or higher), email actions only email your team: test emails, and test submissions' emails.
- New: list_account_email_actions, create_account_email_action, get_account_email_action, update_account_email_action
and delete_account_email_action manage your account's email actions, which send for every template, or for the
templates and folders they list (`template_ids`, `folder_ids`). send_account_email_action_test_email sends one to you
for one of its templates.
- New: list_email_actions also lists your account's email actions that send for the template, with the template's
changes in `customization` (`EmailActionCustomization`). update_email_action_customization changes one for that
template only, or turns it off there (`enabled`), and delete_email_action_customization removes the template's
changes.
- New: list_email_domains, create_email_domain, get_email_domain, verify_email_domain and delete_email_domain manage the
domains your email actions send from (`EmailDomain`), with the DNS records to add to each one (`EmailDomainDnsRecord`).
- A submission's `actions` include the emails its email actions sent (its template's and your account's), with each
recipient and what happened to their email, and a new `email_action_id`.
- New: a field's `string_condition_type` can be `not_equals`, `not_contains`, `not_starts_with`, `not_ends_with`,
`not_regex`, `blank` or `not_blank`, and a `regex` condition uses RE2 syntax (no lookarounds or backreferences).
- create_submission: DocSpring now emails the signers of a submission's `signature_requests` a link to sign, any
reminders, and the signed PDF once everyone has signed. Set `send_email` to false, for the submission or for one
signature request, when you send the links yourself or show the signing form in your app. A signature request that
DocSpring emails needs an `email`, and its `auth_type` is optional (`email_link`). Before anyone is emailed, the
request can be refused with a 402 (`insufficient_credits_to_send`), a 403 or a 429 (`daily_email_limit_reached`), and
nothing is saved.
- New create_submission properties for these emails: `signing_order` (`SigningOrder`) with each signature request's
`signing_step`, `email_subject`, `email_message`, `cc`, `reply_to`, `notification_emails`, `notify_when_signed` and
`reminders` (`SignatureRequestReminders`).
- A signature request has `send_email`, `signing_step`, `sent_at` and `email_status` (`SignatureRequestEmailStatus`),
and a submission has `signing_order`.
- Templates have new settings for these emails: `signature_request_from_name`, `signature_request_from_address`,
`signature_request_signing_url`, `signature_request_include_signing_token`, `signature_request_reply_to`,
`signature_request_notification_emails` and `signature_request_email_attachments`
(`SignatureRequestEmailAttachments`).
- New webhook event types: `signature_request.sent` and `signature_request.email_bounced`.
- New: page designs (`template_type` `page_designer`), PDFs designed in the Page Designer from a JSON layout, with no
document to start from. create_template makes one from its `layout`, or with an empty page when `layout` is left
out, and update_template replaces its layout. DocSpring adds a field for each value the layout reads. A template's
`layout` is in the [Page Designer layout format](https://docspring.com/docs/page-designer/layout-format/) (its
[JSON Schema](https://docspring.com/schemas/page-designer/layout.v1.json)), and is null for other templates.
- New: every method that creates, changes or deletes something takes an `Idempotency-Key` header, as the
`idempotencyKey` option. Send the same key when you send a request again after a timeout or a network error: within 24
hours, DocSpring returns the first response instead of running the request twice. Arguments you already pass keep
their places.
- Changed: the request validator checks what API v2 now refuses: an ID, a query value or a template name that's blank or
only whitespace, an update with nothing to change, a version with a leading zero (`01`), a `filename` with a slash, a
signer `email` that isn't an email address, and an HTML template's `scale` outside 0.1 to 2.
- New: get_template_model_code takes `rust` as its `lang`, for Rust structs that serde reads and writes.1 parent 4e82fdf commit 93dffbb
242 files changed
Lines changed: 13919 additions & 1161 deletions
File tree
- .github/workflows
- .openapi-generator
- docs
- src
- api
- model
- test
- api
- model
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
| 24 | + | |
| 25 | + | |
23 | 26 | | |
24 | 27 | | |
25 | 28 | | |
| |||
31 | 34 | | |
32 | 35 | | |
33 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
34 | 54 | | |
35 | 55 | | |
36 | 56 | | |
| |||
83 | 103 | | |
84 | 104 | | |
85 | 105 | | |
| 106 | + | |
86 | 107 | | |
87 | 108 | | |
88 | 109 | | |
89 | 110 | | |
| 111 | + | |
| 112 | + | |
90 | 113 | | |
91 | 114 | | |
92 | 115 | | |
93 | 116 | | |
| 117 | + | |
94 | 118 | | |
95 | 119 | | |
96 | 120 | | |
| 121 | + | |
97 | 122 | | |
98 | 123 | | |
99 | 124 | | |
| |||
151 | 176 | | |
152 | 177 | | |
153 | 178 | | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
154 | 182 | | |
155 | 183 | | |
156 | 184 | | |
| |||
185 | 213 | | |
186 | 214 | | |
187 | 215 | | |
| 216 | + | |
188 | 217 | | |
189 | 218 | | |
| 219 | + | |
| 220 | + | |
190 | 221 | | |
191 | 222 | | |
192 | 223 | | |
| |||
198 | 229 | | |
199 | 230 | | |
200 | 231 | | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
201 | 249 | | |
202 | 250 | | |
203 | 251 | | |
| |||
250 | 298 | | |
251 | 299 | | |
252 | 300 | | |
| 301 | + | |
253 | 302 | | |
254 | 303 | | |
255 | 304 | | |
256 | 305 | | |
| 306 | + | |
| 307 | + | |
257 | 308 | | |
258 | 309 | | |
259 | 310 | | |
260 | 311 | | |
| 312 | + | |
261 | 313 | | |
262 | 314 | | |
263 | 315 | | |
| 316 | + | |
264 | 317 | | |
265 | 318 | | |
266 | 319 | | |
| |||
318 | 371 | | |
319 | 372 | | |
320 | 373 | | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
321 | 377 | | |
322 | 378 | | |
323 | 379 | | |
| |||
347 | 403 | | |
348 | 404 | | |
349 | 405 | | |
| 406 | + | |
350 | 407 | | |
351 | 408 | | |
| 409 | + | |
| 410 | + | |
352 | 411 | | |
353 | 412 | | |
354 | 413 | | |
| |||
360 | 419 | | |
361 | 420 | | |
362 | 421 | | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
363 | 439 | | |
364 | 440 | | |
365 | 441 | | |
| |||
412 | 488 | | |
413 | 489 | | |
414 | 490 | | |
| 491 | + | |
415 | 492 | | |
416 | 493 | | |
417 | 494 | | |
418 | 495 | | |
| 496 | + | |
| 497 | + | |
419 | 498 | | |
420 | 499 | | |
421 | 500 | | |
422 | 501 | | |
| 502 | + | |
423 | 503 | | |
424 | 504 | | |
425 | 505 | | |
| 506 | + | |
426 | 507 | | |
427 | 508 | | |
428 | 509 | | |
| |||
480 | 561 | | |
481 | 562 | | |
482 | 563 | | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
483 | 567 | | |
484 | 568 | | |
485 | 569 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
1 | 56 | | |
2 | 57 | | |
3 | 58 | | |
| |||
0 commit comments