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 6bdb778
Browse filesBrowse the repository at this point in the historyBrowse files
@@ -308,9 +319,10 @@ Name | Type | Description | Notes
308
319
309
320
| Status code | Description | Response headers |
310
321
|-------------|-------------|------------------|
322
+
**402** | insufficient credits | - |
323
+
**403** | test API token used to delete custom files | - |
311
324
**201** | combined submission created | - |
312
325
**422** | invalid request | - |
313
-
**403** | test API token used to delete custom files | - |
314
326
**400** | invalid JSON | - |
315
327
**401** | authentication failed | - |
316
328
@@ -398,6 +410,7 @@ Name | Type | Description | Notes
398
410
| Status code | Description | Response headers |
399
411
|-------------|-------------|------------------|
400
412
**200** | copy template success | - |
413
+
**403** | the plan's template limit is reached | - |
401
414
**404** | folder not found | - |
402
415
403
416
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
@@ -830,6 +843,7 @@ Name | Type | Description | Notes
830
843
| Status code | Description | Response headers |
831
844
|-------------|-------------|------------------|
832
845
**201** | returns a created template | - |
846
+
**403** | the plan's template limit is reached | - |
833
847
**401** | authentication failed | - |
834
848
835
849
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
@@ -921,6 +935,7 @@ Name | Type | Description | Notes
921
935
| Status code | Description | Response headers |
922
936
|-------------|-------------|------------------|
923
937
**201** | returns a pending template | - |
938
+
**403** | the plan's template limit is reached | - |
924
939
**401** | authentication failed | - |
925
940
926
941
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
@@ -1006,6 +1021,7 @@ Name | Type | Description | Notes
1006
1021
|-------------|-------------|------------------|
1007
1022
**201** | returns a pending template | - |
1008
1023
**401** | authentication failed | - |
1024
+
**403** | the plan's template limit is reached | - |
1009
1025
1010
1026
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
1011
1027
@@ -1522,6 +1538,10 @@ Generate a PDF
1522
1538
Creates a PDF submission by filling in a template with data. Supports both synchronous (default) and
1523
1539
asynchronous processing. Add the `wait=false` query parameter to return immediately.
1524
1540
1541
+
Live PDFs use credits; test PDFs (`test: true`) are free and watermarked. If your balance can't cover a
1542
+
live PDF, the API returns 402 and the submission waits in the `insufficient_credits` state until you add
1543
+
credits. See [Credits & Rate Limits](https://docspring.com/docs/api-guide/credits-and-rate-limits/).
1544
+
1525
1545
See also:
1526
1546
-[Customize the PDF Title and Filename](https://docspring.com/docs/api-guide/generate-pdfs/customize-pdf-title-and-filename/) - Set custom metadata
1527
1547
-[Handling Truncated Text](https://docspring.com/docs/api-guide/generate-pdfs/handle-truncated-text/) - Handle text that doesn't fit in fields
@@ -1600,8 +1620,10 @@ Name | Type | Description | Notes
1600
1620
1601
1621
| Status code | Description | Response headers |
1602
1622
|-------------|-------------|------------------|
1623
+
**402** | insufficient credits | - |
1603
1624
**201** | submission created | - |
1604
1625
**422** | invalid request | - |
1626
+
**403** | live data requests need Starter or higher | - |
1605
1627
**401** | authentication failed | - |
1606
1628
1607
1629
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
@@ -1699,6 +1721,9 @@ Retrieves the details and status of a combined submission. Returns processing st
1699
1721
download URL (if processed), metadata, and information about any integrated actions
1700
1722
(e.g., S3 uploads).
1701
1723
1724
+
`insufficient_credits` means the combined submission is waiting for credits and is processed once you
1725
+
add them. If it's still waiting after 30 days, it moves to `error`.
1726
+
1702
1727
1703
1728
### Example
1704
1729
@@ -2038,6 +2063,9 @@ Retrieves the details and status of a PDF submission. Returns processing state,
2038
2063
URL (if processed), metadata, submission data (optional), and information about any
2039
2064
integrated actions. Use this to poll for completion when using asynchronous processing.
2040
2065
2066
+
`insufficient_credits` means the submission is waiting for credits and is processed once you add them.
2067
+
If it's still waiting after 30 days, it moves to `error`.
2068
+
2041
2069
2042
2070
### Example
2043
2071
@@ -2124,6 +2152,9 @@ Retrieves the status and results of a batch PDF generation job. Returns processi
2124
2152
completion statistics, and optionally includes all individual submission details. Use this
2125
2153
to poll for completion when using asynchronous batch processing.
2126
2154
2155
+
Submissions waiting for credits are in the `insufficient_credits` state and count as pending, so the
2156
+
batch stays `pending` until you add credits or they stop waiting after 30 days.
Copy file name to clipboardExpand all lines: docs/CombinePdfsData.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
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
10
10
**metadata** | **object** | | [optional]
11
11
**password** | **str** | | [optional]
12
12
**source_pdfs** | **List[object]** | |
13
-
**test** | **bool** | Deprecated, and has no effect. A combined PDF is a test or live document because of its source PDFs. | [optional]
13
+
**test** | **bool** | Deprecated, and has no effect. Combining always uses credits, even with a test API token or watermarked source PDFs. | [optional]
0 commit comments