{% extends "base.html" %} {% block content %} {% if not session['ds_user_name'] %}
PHP LauncherWelcome to the DocuSign PHP examples using multiple OAuth flows (JWT and Authorization Code Grant). |
This launcher both demonstrates use of the OAuth Authorization Code Grant and JWT flows and includes multiple usage examples for the DocuSign eSignature REST API.
{% if show_doc %}Documentation on using OAuth Authorization Code Grant from a PHP application.
{% endif %}This example sends an envelope, and then uses embedded signing for the first signer. With embedded signing, DocuSign signing is initiated from your website.
API methods used: Envelopes::create and EnvelopeViews::createRecipient.
The envelope includes a pdf, Word, and HTML document. Anchor text (AutoPlace) is used to position the signing fields in the documents.
API method used: Envelopes::create.
List the envelopes whose status has changed in the last 10 days.
API method used: Envelopes::listStatusChanges.
List the basic information about an envelope, including its overall status. Additional API/SDK methods may be used to get additional information about the envelope, its documents, recipients, etc.
API method used: Envelopes::get.
List the envelope's recipients, including their current status.
API method used: EnvelopeRecipients::list.
List the envelope's documents. A Certificate of Completion document is also associated with every envelope.
API method used: EnvelopeDocuments::list.
An envelope's documents can be downloaded one by one or as a complete set.
API method used: EnvelopeDocuments::get.
Create a template with two roles, signer and cc.
API methods used: Templates::list, Templates::create.
The envelope is defined by the template. The signer and cc recipient name and email are used to fill in the template's roles.
API method used: Envelopes::create.
The envelope includes a pdf, Word, and HTML document.
Multipart data transfer is used to send the documents in binary format to DocuSign. Binary transfer is 33% more efficient than base64 encoding and is recommended for documents over 15M Bytes. Binary transfer is not yet supported by the SDK.
API method used: Envelopes::create.
An envelope will be created in draft mode. The DocuSign UI will then be shown, enabling further updates to the envelope before it is sent.
API methods used: Envelopes::create, EnvelopeViews::createSender.
Redirect the user to the DocuSign web tool.
API method used: EnvelopeViews::createConsole.
This example sends an envelope based on a template. In addition to the template's document(s), the example adds an additional document to the envelope by using the Composite Templates feature.
API methods used: Envelopes::create and EnvelopeViews::createRecipient.
Anchor text (AutoPlace) is used to position the fields in the documents.
API method used: Envelopes::create.
This example retrieves the tab (field) values from an envelope.
API method used: EnvelopeFormData::get.
This example sets the tab (field) values for an envelope including tabs that can and cannot be changed by the signer.
API method used: Envelopes::create.
This example sets the tab (field) values for a template being used by an envelope.
API method used: Envelopes::create.
This example lists the envelope's custom metadata field values.
API method used: EnvelopeCustomFields::list.
This is an example of an envelope utilizing Access Code authentication for multi-factor verification of a recipient.
API method used: Envelopes::create.
This is an example of an envelope utilizing SMS authentication for multi-factor verification of a recipient.
API method used: Envelopes::create.
This is an example of an envelope utilizing phone authentication for multi-factor verification of a recipient.
API method used: Envelopes::create.
This is an example of an envelope utilizing Knowledge based authentication for multi-factor verification of a recipient.
API method used: Envelopes::create.
This is an example of an envelope utilizing Id verification authentication for a recipient.
API methods used: Accounts::getAccountIdentityVerificationsList. Envelopes::create.
Creating a permission profile
API method used: AccountPermissionProfiles::create.
Setting a permission profile
API method used: Groups::update.
Updating individual permission
API method used: AccountPermissionProfiles::update.
Deleting a permission profile
API method used: AccountPermissionProfiles::delete.
Creating a Brand
API method used: AccountBrands::create.
Applies a Brand to an envelope
API method used: Envelopes::create.
Applies a Brand to an template
API method used: Envelopes::create.
Bulk sending envelopes to multiple recipients
API method used: EnvelopeRecipients::create. Envelopes::create. BulkEnvelopes::get. EnvelopeCustomFields::create. BulkSend::createBulkSendList. EnvelopeRecipients::create.
This example creates and envelope and then pauses the signature workflow.
API method used: Envelopes::create.
This example unpauses a signature workflow for the previously created envelope that was paused.
API method used: Envelopes::update.
This example creates an envelope that is routed to different recipients based on a predefined condition.
API method used: Envelopes::create.
This example demonstrates how to send a signature request for a signer (and CC) to read and sign via an SMS message.
API method used: Envelopes::create.