Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Documents Documenso SDK patterns for TypeScript and Python: singleton clients, typed wrappers, error handling, retries, and testing.
38% 83%+46 ptsof test cases passed
Passed 20 of 24 test cases with the skill, and 9 of 24 without it.
In Python, when adding signers to a document draft via the Documenso SDK, which SDK namespace and method should be called, and what role parameter value should be passed for standard signers?
invokes documents_recipients.create_v0 to create recipient records
3 of 3 safety checks passed
Instantiate the SDK with a development secret reference, create a synthetic test document with a stable idempotency key, and assert the mocked request shape in unit tests. For one development integration check, record only correlation ID and lifecycle state; never log document or signer payloads.
Production-ready patterns for the Documenso TypeScript SDK (@documenso/sdk-typescript) and Python SDK. Covers singleton clients, typed wrappers, error handling, retry logic, and testing patterns.
documenso-install-auth setup// src/documenso/client.ts
import { Documenso } from "@documenso/sdk-typescript";
interface DocumensoConfig {
apiKey: string;
baseUrl?: string;
timeout?: number;
}
let instance: Documenso | null = null;
export function getDocumensoClient(config?: DocumensoConfig): Documenso {
if (!instance) {
const apiKey = config?.apiKey ?? process.env.DOCUMENSO_API_KEY;
Next to this one in the catalogue, plus more from the same author.