Python Client SDK Generated by Speakeasy.
Project description
Documenso Python SDK
A SDK for seamless integration with Documenso v2 API.
The full Documenso API can be viewed here, which includes examples.
⚠️ Warning
Documenso v2 API and SDKs are currently in beta. There may be to breaking changes.
To keep updated, please follow the discussions here:
Table of Contents
SDK Installation
[!NOTE] Python version upgrade policy
Once a Python version reaches its official end of life date, a 3-month grace period is provided for users to upgrade. Following this grace period, the minimum python version supported in the SDK will be updated.
The SDK can be installed with uv, pip, or poetry package managers.
uv
uv is a fast Python package installer and resolver, designed as a drop-in replacement for pip and pip-tools. It's recommended for its speed and modern Python tooling capabilities.
uv add documenso_sdk
PIP
PIP is the default package installer for Python, enabling easy installation and management of packages from PyPI via the command line.
pip install documenso_sdk
Poetry
Poetry is a modern tool that simplifies dependency management and package publishing by using a single pyproject.toml file to handle project metadata and dependencies.
poetry add documenso_sdk
Shell and script usage with uv
You can use this SDK in a Python shell with uv and the uvx command that comes with it like so:
uvx --from documenso_sdk python
It's also possible to write a standalone Python script without needing to set up a whole project like so:
#!/usr/bin/env -S uv run --script
# /// script
# requires-python = ">=3.10"
# dependencies = [
# "documenso_sdk",
# ]
# ///
from documenso_sdk import Documenso
sdk = Documenso(
# SDK arguments
)
# Rest of script here...
Once that is saved to a file, you can run it with uv run script.py where
script.py can be replaced with the actual file name.
IDE Support
PyCharm
Generally, the SDK will work well with most IDEs out of the box. However, when using PyCharm, you can enjoy much better integration with Pydantic by installing an additional plugin.
Authentication
To use the SDK, you will need a Documenso API key which can be created here.
import documenso_sdk
from documenso_sdk import Documenso
import os
with Documenso(
api_key=os.getenv("DOCUMENSO_API_KEY", ""),
) as documenso:
Document creation example
Currently creating a document involves two steps:
- Create the document
- Upload the PDF
This is a temporary measure, in the near future prior to the full release we will merge these two tasks into one request.
Here is a full example of the document creation process which you can copy and run.
Note that the function is temporarily called create_v0, which will be replaced by create once we resolve the 2 step workaround.
from documenso_sdk import Documenso
import os
import requests
def upload_file_to_presigned_url(file_path: str, upload_url: str):
"""Upload a file to a pre-signed URL."""
with open(file_path, 'rb') as file:
file_content = file.read()
response = requests.put(
upload_url,
data=file_content,
headers={"Content-Type": "application/octet-stream"}
)
if not response.ok:
raise Exception(f"Upload failed with status: {response.status_code}")
async def main():
with Documenso(
api_key=os.getenv("DOCUMENSO_API_KEY", ""),
) as documenso:
# Create document with recipients and fields
create_document_response = documenso.documents.create_v0(
title="Document title",
recipients=[
{
"email": "example@documenso.com",
"name": "Example Doe",
"role": "SIGNER",
"fields": [
{
"type": "SIGNATURE",
"pageNumber": 1,
"pageX": 10,
"pageY": 10,
"width": 10,
"height": 10
},
{
"type": "INITIALS",
"pageNumber": 1,
"pageX": 20,
"pageY": 20,
"width": 10,
"height": 10
}
]
},
{
"email": "admin@documenso.com",
"name": "Admin Doe",
"role": "APPROVER",
"fields": [
{
"type": "SIGNATURE",
"pageNumber": 1,
"pageX": 10,
"pageY": 50,
"width": 10,
"height": 10
}
]
}
],
meta={
"timezone": "Australia/Melbourne",
"dateFormat": "MM/dd/yyyy hh:mm a",
"language": "de",
"subject": "Email subject",
"message": "Email message",
"emailSettings": {
"recipientRemoved": False
}
}
)
# Upload the PDF file
upload_file_to_presigned_url("./demo.pdf", create_document_response.upload_url)
if __name__ == "__main__":
import asyncio
asyncio.run(main())
Available Resources and Operations
Available methods
Document
- document_get_many - Get multiple documents
- document_download - Download document (beta)
Documents
- get - Get document
- find - Find documents
- create - Create document
- update - Update document
- delete - Delete document
- duplicate - Duplicate document
- distribute - Distribute document
- redistribute - Redistribute document
- download - Download document
create_v0- Create document :warning: Deprecated
Documents.Attachments
- create - Create attachment
- update - Update attachment
- delete - Delete attachment
- find - Find attachments
Documents.Fields
- get - Get document field
- create - Create document field
- create_many - Create document fields
- update - Update document field
- update_many - Update document fields
- delete - Delete document field
Documents.Recipients
- get - Get document recipient
- create - Create document recipient
- create_many - Create document recipients
- update - Update document recipient
- update_many - Update document recipients
- delete - Delete document recipient
Embedding
- embedding_presign_create_embedding_presign_token - Create embedding presign token
- embedding_presign_verify_embedding_presign_token - Verify embedding presign token
Envelope
- envelope_find - Find envelopes
- envelope_audit_log_find - Get envelope audit logs
- envelope_get_many - Get multiple envelopes
Envelopes
- get - Get envelope
- create - Create envelope
- use - Use envelope
- update - Update envelope
- delete - Delete envelope
- duplicate - Duplicate envelope
- distribute - Distribute envelope
- redistribute - Redistribute envelope
Envelopes.Attachments
- find - Find attachments
- create - Create attachment
- update - Update attachment
- delete - Delete attachment
Envelopes.Fields
- get - Get envelope field
- create_many - Create envelope fields
- update_many - Update envelope fields
- delete - Delete envelope field
Envelopes.Items
- create_many - Create envelope items
- update_many - Update envelope items
- delete - Delete envelope item
- download - Download an envelope item
Envelopes.Recipients
- get - Get envelope recipient
- create_many - Create envelope recipients
- update_many - Update envelope recipients
- delete - Delete envelope recipient
Folders
Template
- template_get_many - Get multiple templates
- template_create_template_temporary - Create template
Templates
- find - Find templates
- get - Get template
- create - Create template
- update - Update template
- duplicate - Duplicate template
- delete - Delete template
- use - Use template
Templates.DirectLink
Templates.Fields
- create - Create template field
- get - Get template field
- create_many - Create template fields
- update - Update template field
- update_many - Update template fields
- delete - Delete template field
Templates.Recipients
- get - Get template recipient
- create - Create template recipient
- create_many - Create template recipients
- update - Update template recipient
- update_many - Update template recipients
- delete - Delete template recipient
File uploads
Certain SDK methods accept file objects as part of a request body or multi-part request. It is possible and typically recommended to upload files as a stream rather than reading the entire contents into memory. This avoids excessive memory consumption and potentially crashing with out-of-memory errors when working with very large files. The following example demonstrates how to attach a file stream to a request.
[!TIP]
For endpoints that handle file uploads bytes arrays can also be used. However, using streams is recommended for large files.
import documenso_sdk
from documenso_sdk import Documenso
import os
with Documenso(
api_key=os.getenv("DOCUMENSO_API_KEY", ""),
) as documenso:
res = documenso.envelopes.create(payload={
"title": "<value>",
"type": documenso_sdk.EnvelopeCreateType.TEMPLATE,
})
# Handle response
print(res)
Retries
Some of the endpoints in this SDK support retries. If you use the SDK without any configuration, it will fall back to the default retry strategy provided by the API. However, the default retry strategy can be overridden on a per-operation basis, or across the entire SDK.
To change the default retry strategy for a single API call, simply provide a RetryConfig object to the call:
from documenso_sdk import Documenso
from documenso_sdk.utils import BackoffStrategy, RetryConfig
import os
with Documenso(
api_key=os.getenv("DOCUMENSO_API_KEY", ""),
) as documenso:
res = documenso.envelopes.get(envelope_id="<id>",
RetryConfig("backoff", BackoffStrategy(1, 50, 1.1, 100), False))
# Handle response
print(res)
If you'd like to override the default retry strategy for all operations that support retries, you can use the retry_config optional parameter when initializing the SDK:
from documenso_sdk import Documenso
from documenso_sdk.utils import BackoffStrategy, RetryConfig
import os
with Documenso(
retry_config=RetryConfig("backoff", BackoffStrategy(1, 50, 1.1, 100), False),
api_key=os.getenv("DOCUMENSO_API_KEY", ""),
) as documenso:
res = documenso.envelopes.get(envelope_id="<id>")
# Handle response
print(res)
Error Handling
DocumensoError is the base class for all HTTP error responses. It has the following properties:
| Property | Type | Description |
|---|---|---|
err.message |
str |
Error message |
err.status_code |
int |
HTTP response status code eg 404 |
err.headers |
httpx.Headers |
HTTP response headers |
err.body |
str |
HTTP body. Can be empty string if no body is returned. |
err.raw_response |
httpx.Response |
Raw HTTP response |
err.data |
Optional. Some errors may contain structured data. See Error Classes. |
Example
import documenso_sdk
from documenso_sdk import Documenso, models
import os
with Documenso(
api_key=os.getenv("DOCUMENSO_API_KEY", ""),
) as documenso:
res = None
try:
res = documenso.envelopes.get(envelope_id="<id>")
# Handle response
print(res)
except models.DocumensoError as e:
# The base class for HTTP error responses
print(e.message)
print(e.status_code)
print(e.body)
print(e.headers)
print(e.raw_response)
# Depending on the method different errors may be thrown
if isinstance(e, models.EnvelopeGetBadRequestError):
print(e.data.message) # str
print(e.data.code) # str
print(e.data.issues) # Optional[List[documenso_sdk.EnvelopeGetBadRequestIssue]]
Error Classes
Primary error:
DocumensoError: The base class for HTTP error responses.
Less common errors (364)
Network errors:
httpx.RequestError: Base class for request errors.httpx.ConnectError: HTTP client was unable to make a request to a server.httpx.TimeoutException: HTTP request timed out.
Inherit from DocumensoError:
EnvelopeGetBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*EnvelopeCreateBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*EnvelopeUseBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*EnvelopeUpdateBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*EnvelopeDeleteBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*EnvelopeDuplicateBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*EnvelopeDistributeBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*EnvelopeRedistributeBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*EnvelopeFindBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*EnvelopeAuditLogFindBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*EnvelopeGetManyBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*DocumentGetBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*DocumentFindBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*DocumentCreateBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*DocumentUpdateBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*DocumentDeleteBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*DocumentDuplicateBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*DocumentDistributeBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*DocumentRedistributeBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*DocumentDownloadBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*DocumentCreateDocumentTemporaryBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*DocumentGetManyBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*DocumentDownloadBetaBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*TemplateFindTemplatesBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*TemplateGetTemplateByIDBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*TemplateCreateTemplateBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*TemplateUpdateTemplateBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*TemplateDuplicateTemplateBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*TemplateDeleteTemplateBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*TemplateCreateDocumentFromTemplateBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*FolderFindFoldersBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*FolderCreateFolderBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*FolderUpdateFolderBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*FolderDeleteFolderBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*TemplateGetManyBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*TemplateCreateTemplateTemporaryBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*EmbeddingPresignCreateEmbeddingPresignTokenBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*EmbeddingPresignVerifyEmbeddingPresignTokenBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*EnvelopeAttachmentFindBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*EnvelopeAttachmentCreateBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*EnvelopeAttachmentUpdateBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*EnvelopeAttachmentDeleteBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*EnvelopeItemCreateManyBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*EnvelopeItemUpdateManyBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*EnvelopeItemDeleteBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*EnvelopeItemDownloadBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*EnvelopeRecipientGetBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*EnvelopeRecipientCreateManyBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*EnvelopeRecipientUpdateManyBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*EnvelopeRecipientDeleteBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*EnvelopeFieldGetBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*EnvelopeFieldCreateManyBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*EnvelopeFieldUpdateManyBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*EnvelopeFieldDeleteBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*DocumentAttachmentCreateBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*DocumentAttachmentUpdateBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*DocumentAttachmentDeleteBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*DocumentAttachmentFindBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*FieldGetDocumentFieldBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*FieldCreateDocumentFieldBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*FieldCreateDocumentFieldsBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*FieldUpdateDocumentFieldBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*FieldUpdateDocumentFieldsBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*FieldDeleteDocumentFieldBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*RecipientGetDocumentRecipientBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*RecipientCreateDocumentRecipientBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*RecipientCreateDocumentRecipientsBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*RecipientUpdateDocumentRecipientBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*RecipientUpdateDocumentRecipientsBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*RecipientDeleteDocumentRecipientBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*FieldCreateTemplateFieldBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*FieldGetTemplateFieldBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*FieldCreateTemplateFieldsBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*FieldUpdateTemplateFieldBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*FieldUpdateTemplateFieldsBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*FieldDeleteTemplateFieldBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*RecipientGetTemplateRecipientBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*RecipientCreateTemplateRecipientBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*RecipientCreateTemplateRecipientsBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*RecipientUpdateTemplateRecipientBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*RecipientUpdateTemplateRecipientsBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*RecipientDeleteTemplateRecipientBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*TemplateCreateTemplateDirectLinkBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*TemplateDeleteTemplateDirectLinkBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*TemplateToggleTemplateDirectLinkBadRequestError: Invalid input data. Status code400. Applicable to 1 of 85 methods.*EnvelopeGetUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*EnvelopeCreateUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*EnvelopeUseUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*EnvelopeUpdateUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*EnvelopeDeleteUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*EnvelopeDuplicateUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*EnvelopeDistributeUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*EnvelopeRedistributeUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*EnvelopeFindUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*EnvelopeAuditLogFindUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*EnvelopeGetManyUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*DocumentGetUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*DocumentFindUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*DocumentCreateUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*DocumentUpdateUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*DocumentDeleteUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*DocumentDuplicateUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*DocumentDistributeUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*DocumentRedistributeUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*DocumentDownloadUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*DocumentCreateDocumentTemporaryUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*DocumentGetManyUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*DocumentDownloadBetaUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*TemplateFindTemplatesUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*TemplateGetTemplateByIDUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*TemplateCreateTemplateUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*TemplateUpdateTemplateUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*TemplateDuplicateTemplateUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*TemplateDeleteTemplateUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*TemplateCreateDocumentFromTemplateUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*FolderFindFoldersUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*FolderCreateFolderUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*FolderUpdateFolderUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*FolderDeleteFolderUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*TemplateGetManyUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*TemplateCreateTemplateTemporaryUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*EmbeddingPresignCreateEmbeddingPresignTokenUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*EmbeddingPresignVerifyEmbeddingPresignTokenUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*EnvelopeAttachmentFindUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*EnvelopeAttachmentCreateUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*EnvelopeAttachmentUpdateUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*EnvelopeAttachmentDeleteUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*EnvelopeItemCreateManyUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*EnvelopeItemUpdateManyUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*EnvelopeItemDeleteUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*EnvelopeItemDownloadUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*EnvelopeRecipientGetUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*EnvelopeRecipientCreateManyUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*EnvelopeRecipientUpdateManyUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*EnvelopeRecipientDeleteUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*EnvelopeFieldGetUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*EnvelopeFieldCreateManyUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*EnvelopeFieldUpdateManyUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*EnvelopeFieldDeleteUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*DocumentAttachmentCreateUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*DocumentAttachmentUpdateUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*DocumentAttachmentDeleteUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*DocumentAttachmentFindUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*FieldGetDocumentFieldUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*FieldCreateDocumentFieldUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*FieldCreateDocumentFieldsUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*FieldUpdateDocumentFieldUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*FieldUpdateDocumentFieldsUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*FieldDeleteDocumentFieldUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*RecipientGetDocumentRecipientUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*RecipientCreateDocumentRecipientUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*RecipientCreateDocumentRecipientsUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*RecipientUpdateDocumentRecipientUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*RecipientUpdateDocumentRecipientsUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*RecipientDeleteDocumentRecipientUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*FieldCreateTemplateFieldUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*FieldGetTemplateFieldUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*FieldCreateTemplateFieldsUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*FieldUpdateTemplateFieldUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*FieldUpdateTemplateFieldsUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*FieldDeleteTemplateFieldUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*RecipientGetTemplateRecipientUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*RecipientCreateTemplateRecipientUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*RecipientCreateTemplateRecipientsUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*RecipientUpdateTemplateRecipientUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*RecipientUpdateTemplateRecipientsUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*RecipientDeleteTemplateRecipientUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*TemplateCreateTemplateDirectLinkUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*TemplateDeleteTemplateDirectLinkUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*TemplateToggleTemplateDirectLinkUnauthorizedError: Authorization not provided. Status code401. Applicable to 1 of 85 methods.*EnvelopeGetForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*EnvelopeCreateForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*EnvelopeUseForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*EnvelopeUpdateForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*EnvelopeDeleteForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*EnvelopeDuplicateForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*EnvelopeDistributeForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*EnvelopeRedistributeForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*EnvelopeFindForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*EnvelopeAuditLogFindForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*EnvelopeGetManyForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*DocumentGetForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*DocumentFindForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*DocumentCreateForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*DocumentUpdateForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*DocumentDeleteForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*DocumentDuplicateForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*DocumentDistributeForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*DocumentRedistributeForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*DocumentDownloadForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*DocumentCreateDocumentTemporaryForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*DocumentGetManyForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*DocumentDownloadBetaForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*TemplateFindTemplatesForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*TemplateGetTemplateByIDForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*TemplateCreateTemplateForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*TemplateUpdateTemplateForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*TemplateDuplicateTemplateForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*TemplateDeleteTemplateForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*TemplateCreateDocumentFromTemplateForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*FolderFindFoldersForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*FolderCreateFolderForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*FolderUpdateFolderForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*FolderDeleteFolderForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*TemplateGetManyForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*TemplateCreateTemplateTemporaryForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*EmbeddingPresignCreateEmbeddingPresignTokenForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*EmbeddingPresignVerifyEmbeddingPresignTokenForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*EnvelopeAttachmentFindForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*EnvelopeAttachmentCreateForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*EnvelopeAttachmentUpdateForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*EnvelopeAttachmentDeleteForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*EnvelopeItemCreateManyForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*EnvelopeItemUpdateManyForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*EnvelopeItemDeleteForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*EnvelopeItemDownloadForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*EnvelopeRecipientGetForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*EnvelopeRecipientCreateManyForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*EnvelopeRecipientUpdateManyForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*EnvelopeRecipientDeleteForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*EnvelopeFieldGetForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*EnvelopeFieldCreateManyForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*EnvelopeFieldUpdateManyForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*EnvelopeFieldDeleteForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*DocumentAttachmentCreateForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*DocumentAttachmentUpdateForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*DocumentAttachmentDeleteForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*DocumentAttachmentFindForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*FieldGetDocumentFieldForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*FieldCreateDocumentFieldForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*FieldCreateDocumentFieldsForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*FieldUpdateDocumentFieldForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*FieldUpdateDocumentFieldsForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*FieldDeleteDocumentFieldForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*RecipientGetDocumentRecipientForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*RecipientCreateDocumentRecipientForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*RecipientCreateDocumentRecipientsForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*RecipientUpdateDocumentRecipientForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*RecipientUpdateDocumentRecipientsForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*RecipientDeleteDocumentRecipientForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*FieldCreateTemplateFieldForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*FieldGetTemplateFieldForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*FieldCreateTemplateFieldsForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*FieldUpdateTemplateFieldForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*FieldUpdateTemplateFieldsForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*FieldDeleteTemplateFieldForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*RecipientGetTemplateRecipientForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*RecipientCreateTemplateRecipientForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*RecipientCreateTemplateRecipientsForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*RecipientUpdateTemplateRecipientForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*RecipientUpdateTemplateRecipientsForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*RecipientDeleteTemplateRecipientForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*TemplateCreateTemplateDirectLinkForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*TemplateDeleteTemplateDirectLinkForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*TemplateToggleTemplateDirectLinkForbiddenError: Insufficient access. Status code403. Applicable to 1 of 85 methods.*EnvelopeGetNotFoundError: Not found. Status code404. Applicable to 1 of 85 methods.*EnvelopeFindNotFoundError: Not found. Status code404. Applicable to 1 of 85 methods.*EnvelopeAuditLogFindNotFoundError: Not found. Status code404. Applicable to 1 of 85 methods.*DocumentGetNotFoundError: Not found. Status code404. Applicable to 1 of 85 methods.*DocumentFindNotFoundError: Not found. Status code404. Applicable to 1 of 85 methods.*DocumentDownloadNotFoundError: Not found. Status code404. Applicable to 1 of 85 methods.*DocumentDownloadBetaNotFoundError: Not found. Status code404. Applicable to 1 of 85 methods.*TemplateFindTemplatesNotFoundError: Not found. Status code404. Applicable to 1 of 85 methods.*TemplateGetTemplateByIDNotFoundError: Not found. Status code404. Applicable to 1 of 85 methods.*FolderFindFoldersNotFoundError: Not found. Status code404. Applicable to 1 of 85 methods.*EnvelopeAttachmentFindNotFoundError: Not found. Status code404. Applicable to 1 of 85 methods.*EnvelopeItemDownloadNotFoundError: Not found. Status code404. Applicable to 1 of 85 methods.*EnvelopeRecipientGetNotFoundError: Not found. Status code404. Applicable to 1 of 85 methods.*EnvelopeFieldGetNotFoundError: Not found. Status code404. Applicable to 1 of 85 methods.*DocumentAttachmentFindNotFoundError: Not found. Status code404. Applicable to 1 of 85 methods.*FieldGetDocumentFieldNotFoundError: Not found. Status code404. Applicable to 1 of 85 methods.*RecipientGetDocumentRecipientNotFoundError: Not found. Status code404. Applicable to 1 of 85 methods.*FieldGetTemplateFieldNotFoundError: Not found. Status code404. Applicable to 1 of 85 methods.*RecipientGetTemplateRecipientNotFoundError: Not found. Status code404. Applicable to 1 of 85 methods.*EnvelopeGetInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*EnvelopeCreateInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*EnvelopeUseInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*EnvelopeUpdateInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*EnvelopeDeleteInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*EnvelopeDuplicateInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*EnvelopeDistributeInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*EnvelopeRedistributeInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*EnvelopeFindInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*EnvelopeAuditLogFindInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*EnvelopeGetManyInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*DocumentGetInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*DocumentFindInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*DocumentCreateInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*DocumentUpdateInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*DocumentDeleteInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*DocumentDuplicateInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*DocumentDistributeInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*DocumentRedistributeInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*DocumentDownloadInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*DocumentCreateDocumentTemporaryInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*DocumentGetManyInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*DocumentDownloadBetaInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*TemplateFindTemplatesInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*TemplateGetTemplateByIDInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*TemplateCreateTemplateInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*TemplateUpdateTemplateInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*TemplateDuplicateTemplateInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*TemplateDeleteTemplateInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*TemplateCreateDocumentFromTemplateInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*FolderFindFoldersInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*FolderCreateFolderInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*FolderUpdateFolderInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*FolderDeleteFolderInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*TemplateGetManyInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*TemplateCreateTemplateTemporaryInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*EmbeddingPresignCreateEmbeddingPresignTokenInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*EmbeddingPresignVerifyEmbeddingPresignTokenInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*EnvelopeAttachmentFindInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*EnvelopeAttachmentCreateInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*EnvelopeAttachmentUpdateInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*EnvelopeAttachmentDeleteInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*EnvelopeItemCreateManyInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*EnvelopeItemUpdateManyInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*EnvelopeItemDeleteInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*EnvelopeItemDownloadInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*EnvelopeRecipientGetInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*EnvelopeRecipientCreateManyInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*EnvelopeRecipientUpdateManyInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*EnvelopeRecipientDeleteInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*EnvelopeFieldGetInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*EnvelopeFieldCreateManyInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*EnvelopeFieldUpdateManyInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*EnvelopeFieldDeleteInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*DocumentAttachmentCreateInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*DocumentAttachmentUpdateInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*DocumentAttachmentDeleteInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*DocumentAttachmentFindInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*FieldGetDocumentFieldInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*FieldCreateDocumentFieldInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*FieldCreateDocumentFieldsInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*FieldUpdateDocumentFieldInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*FieldUpdateDocumentFieldsInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*FieldDeleteDocumentFieldInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*RecipientGetDocumentRecipientInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*RecipientCreateDocumentRecipientInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*RecipientCreateDocumentRecipientsInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*RecipientUpdateDocumentRecipientInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*RecipientUpdateDocumentRecipientsInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*RecipientDeleteDocumentRecipientInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*FieldCreateTemplateFieldInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*FieldGetTemplateFieldInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*FieldCreateTemplateFieldsInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*FieldUpdateTemplateFieldInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*FieldUpdateTemplateFieldsInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*FieldDeleteTemplateFieldInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*RecipientGetTemplateRecipientInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*RecipientCreateTemplateRecipientInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*RecipientCreateTemplateRecipientsInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*RecipientUpdateTemplateRecipientInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*RecipientUpdateTemplateRecipientsInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*RecipientDeleteTemplateRecipientInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*TemplateCreateTemplateDirectLinkInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*TemplateDeleteTemplateDirectLinkInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*TemplateToggleTemplateDirectLinkInternalServerError: Internal server error. Status code500. Applicable to 1 of 85 methods.*ResponseValidationError: Type mismatch between the response data and the expected Pydantic model. Provides access to the Pydantic validation error via thecauseattribute.
* Check the method documentation to see if the error is applicable.
Server Selection
Override Server URL Per-Client
The default server can be overridden globally by passing a URL to the server_url: str optional parameter when initializing the SDK client instance. For example:
from documenso_sdk import Documenso
import os
with Documenso(
server_url="https://app.documenso.com/api/v2",
api_key=os.getenv("DOCUMENSO_API_KEY", ""),
) as documenso:
res = documenso.envelopes.get(envelope_id="<id>")
# Handle response
print(res)
Resource Management
The Documenso class implements the context manager protocol and registers a finalizer function to close the underlying sync and async HTTPX clients it uses under the hood. This will close HTTP connections, release memory and free up other resources held by the SDK. In short-lived Python programs and notebooks that make a few SDK method calls, resource management may not be a concern. However, in longer-lived programs, it is beneficial to create a single SDK instance via a context manager and reuse it across the application.
from documenso_sdk import Documenso
import os
def main():
with Documenso(
api_key=os.getenv("DOCUMENSO_API_KEY", ""),
) as documenso:
# Rest of application here...
# Or when using async:
async def amain():
async with Documenso(
api_key=os.getenv("DOCUMENSO_API_KEY", ""),
) as documenso:
# Rest of application here...
Debugging
You can setup your SDK to emit debug logs for SDK requests and responses.
You can pass your own logger class directly into your SDK.
from documenso_sdk import Documenso
import logging
logging.basicConfig(level=logging.DEBUG)
s = Documenso(debug_logger=logging.getLogger("documenso_sdk"))
You can also enable a default debug logger by setting an environment variable DOCUMENSO_DEBUG to true.
Development
Maturity
This SDK is in beta, and there may be breaking changes between versions without a major version update. Therefore, we recommend pinning usage to a specific package version. This way, you can install the same version each time without breaking changes unless you are intentionally looking for the latest version.
Contributions
While we value open-source contributions to this SDK, this library is generated programmatically. Any manual changes added to internal files will be overwritten on the next generation. We look forward to hearing your feedback. Feel free to open a PR or an issue with a proof of concept and we'll do our best to include it in a future release.
SDK Created by Speakeasy
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file documenso_sdk-0.6.0.tar.gz.
File metadata
- Download URL: documenso_sdk-0.6.0.tar.gz
- Upload date:
- Size: 297.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.1 CPython/3.10.19 Linux/6.8.0-1044-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
321b7ff9f5709b99ee128242840b4bb7c99caa7725b3992abdcd7b09f1ece7e8
|
|
| MD5 |
ef69c48833a9598cdfad7b9a81f12e6d
|
|
| BLAKE2b-256 |
14adb62002597cf85301d7081113ffac16b53a588cba8773863ecf290bea38b0
|
File details
Details for the file documenso_sdk-0.6.0-py3-none-any.whl.
File metadata
- Download URL: documenso_sdk-0.6.0-py3-none-any.whl
- Upload date:
- Size: 417.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.1 CPython/3.10.19 Linux/6.8.0-1044-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
76b191212af8dcffbfbff140f7c51be44fa4adde7f212c70245ff6ef9a586df2
|
|
| MD5 |
9d81796d807344ac6bd289a8f69990f7
|
|
| BLAKE2b-256 |
b927717e068390eb6ade868a1947afcf93a79b0d5bfb9b2b816b0a3ad2dd132a
|