Search by

omnisign / docusign

GlitchArt

Omnisign DocuSign: envelopes through DocuSign's eSignature REST API v2.1 - JWT grant with the application's RSA key, documents, signers in order, signature tabs, embedded signing (recipient views), reminders, voiding, the combined signed document and the certificate of completion, Connect webhooks w

1.x-dev 2026-10-15 13:14 UTC

This package is auto-updated.

Last update: 2026-10-15 13:23:24 UTC


README

DocuSign eSignature for glitchr/omnisign: envelopes through the REST API v2.1, by e-mail or signed in the application's page, the JWT grant for an integration acting as one of the account's users, Connect webhooks with their HMAC checked.

use Omnisign\Docusign\DocusignGatewayFactory;

$gateway = (new DocusignGatewayFactory($httpClient))->create([
    'integration_key' => $integrationKey, 'user_id' => $userId,
    'private_key' => '/run/secrets/docusign.pem', 'account_id' => $accountId,
    'sandbox' => true,
]);

$envelope = $gateway->send($gateway->create($lease));     // POST /envelopes (created), then sent
$gateway->signingUrl($envelope, 'tenant', $returnUrl);     // a recipient view (embedded signers)

Written from DocuSign's eSignature REST API v2.1 OpenAPI and its guides. Not verified in real: no developer account.

Documentation: the options and the JWT grant, from an envelope to DocuSign's, Connect, what was verified.

Responsibility

This package is an independent, unofficial client: it is not affiliated with, endorsed by or sponsored by Docusign, Inc. It reaches their service on behalf of whoever runs it, and it does not redistribute their data beyond the short excerpts recorded as test fixtures. Its MIT licence covers this package's code only and grants no right to the service or to its data.

Whoever installs and runs this package is responsible for complying with Docusign's terms (Developer Terms and Conditions), for obtaining whatever they require (an account, a key, a licence or subscription, an attribution or a citation, a rate limit to respect), and for any use made of what it returns. The authors publish it free of charge, make no commercial use of it, and accept no liability for how it is used (see LICENSE).

License: MIT since 2026-10-09; earlier versions remain published under LGPL-3.0-or-later.