You can sign up for a free developer sandbox.
DocuSign recommends the Native-iOS-SDK for the Captive-Signing, Templates, Offline-Signing and other similar use-cases.
NOTE: Native-iOS-SDK also hosts the sample apps and various guides to help you with DocuSign specific integrations for iOS.
Xcode 12 or later.
Create a podfile, run pod install, then use the .xcworkspace
project file moving forward. To use the clients in this manner, do the following:
-
At the command line run the following RubyGems command to install cocoapods (note: this might require sudo):
$ gem install cocoapods
-
Create a file in your root project directory called
Podfile
with the following content. Replace the two references to PROJECT below with your unique project name:
pod 'DocuSignESign', '~> 4.0.0'
- Run the following command in the same directory as your Podfile:
$ pod install
Once you are done installing, close Xcode and open the newly created .xcworkspace
project file. Make sure you use this work space going forward!
Copy the source files directly into your existing project’s source directories and add corresponding import statements.
- AFNetworking ~> 4
- JSONModel ~> 1.4
- ISO8601 ~> 0.6
- JWT ~> 3.0.0-beta.10
- After obtaining a Bearer token, call the OAuth: Userinfo method. Obtain the selected account's
base_uri
(server name) field. The url for the Userinfo method is account-d.docusign.com for the demo/developer environment, and account.docusign.com for the production environment. - Combine the base_uri with "/restapi" to create the basePath. The base_uri will start with na1, na2, na3, eu1, or something else. Use the basePath for your subsequent API calls.
- Instantiate the SDK using the basePath. Eg
ApiClient apiClient = new ApiClient(basePath);
- Create the
authentication_value
by combining thetoken_type
andaccess_token
fields you receive from either an Authorization Code Grant or Implicit Grant OAuth flow. - Set the authentication header by using
Configuration.Default.AddDefaultHeader('Authorization', authentication_value)
Unit tests are available here.
Feel free to log issues against this client through GitHub. We also have an active developer community on Stack Overflow, search the DocuSignAPI tag.
The DocuSign Objc Client is licensed under the following License.