Bulksign API sample code in C#
This repository contains sample C# code for interacting with Bulksign API. This is using the Bulksign dotNet SDK and contains projects for .NET 8. The SDK targets NET Standard 2.0 and can also be used with .NET Framework (feel free to copy the samples into your .NET Framework project)
- create a Bulksign account , login and go to Settings\My API Keys.
- copy the value of the "Default" key
- edit ApiKeys.cs and replace the API_KEY constant with the copied key value
- build and run the project (edit Program.cs to run the different samples)
To target a specific Bulksign instance, specify the root path to Bulksign WebAPI
BulksignApiClient api = new BulksignApiClient("https://__your_instance__/webapi/");
Please see this repository https://github.com/bulksign/GRPC-API-Samples
-
API high level overview and FAQ is available here
-
Swagger definition and documentation about all API properties and their meaning is available here
SingleDocumentApproverAndSigner.cs : simplest scenario, shows how to send a document for approving and signing with Bulksign.
MultipleSignersInSerialFlow.cs : shows how to send a document for signing with multiple recipients in serial mode.
DisableEmailNotifications.cs : shows how to disable email notifications for a specific bundle.
MultipleSignersInBulkFlow.cs : shows how to send a document for signing to multiple recipients in bulk mode.
AddNewSignatureToDocument.cs : shows you how to add a new signature field to a document and assign it to the recipient.
AllowRecipientDelegation.cs : shows you how to enable recipient delegation for a envelope.
PreventFinishedDocumentToAllSigners.cs : how to prevent signers from receiving a copy of the finished document.
CustomDocumentAccess.cs : shows to assign different documents to different recipients in same envelope.
SetFormFieldValues.cs : example of setting a pdf form field value when sending the envelope for signing.
AddTextAnnotationsToDocument.cs : example of adding new text annotations to documents.
OpenIdConnectAuthenticationForSigner.cs.cs : example of using an OpenId Connection authentication for a signer.