Blueink.Client.Net 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Blueink.Client.Net --version 1.0.0
                    
NuGet\Install-Package Blueink.Client.Net -Version 1.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Blueink.Client.Net" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Blueink.Client.Net" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Blueink.Client.Net" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Blueink.Client.Net --version 1.0.0
                    
#r "nuget: Blueink.Client.Net, 1.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Blueink.Client.Net@1.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Blueink.Client.Net&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Blueink.Client.Net&version=1.0.0
                    
Install as a Cake Tool

Blueink .NET Client

Official .NET client library for the Blueink eSignature API.

NuGet License: MIT

Installation

Install via NuGet Package Manager:

dotnet add package Blueink.Client.Net

Or via the Package Manager Console in Visual Studio:

Install-Package Blueink.Client.Net

Quick Start

using Blueink.Client.Net.v2;

// Initialize the client with your API key
var client = new BlueinkService("your-api-key");

// Or use environment variable BLUEINK_API_KEY
var client = new BlueinkService();

Features

  • Bundles - Create and manage signature request bundles
  • Packets - Access signer packets and signing URLs
  • Persons - Manage signer contact information
  • Templates - Work with reusable document templates
  • Webhooks - Configure webhook endpoints for event notifications

Usage Examples

Create a Bundle with a Document

using Blueink.Client.Net.v2;
using Blueink.Client.Net.v2.Helper;

var client = new BlueinkService("your-api-key");

// Build a bundle request
var bundleHelper = new BundleHelper()
    .SetLabel("Contract Signature Request")
    .SetEmailSubject("Please sign this contract")
    .SetEmailMessage("Click the link below to review and sign.");

// Add a signer
bundleHelper.AddPacket()
    .SetName("John Doe")
    .SetEmail("john.doe@example.com");

// Add a document from file
bundleHelper.AddDocumentByPath("/path/to/contract.pdf");

// Create the bundle
var response = await client.BundleResource.CreateAsync(bundleHelper.AsRequest());

List Bundles

var bundles = await client.BundleResource.ListAsync();

foreach (var bundle in bundles.Data)
{
    Console.WriteLine($"Bundle: {bundle.Id} - {bundle.Label}");
}

Get Signing URL

var embedUrl = await client.PacketResource.EmbedUrlAsync(packetId);
Console.WriteLine($"Signing URL: {embedUrl.Url}");

Target Frameworks

This library supports:

  • .NET 8.0 (LTS) - Cross-platform support for Windows, macOS, and Linux
  • .NET Framework 4.6.2 - Windows legacy support

Configuration

API Key

Set your API key in one of the following ways:

  1. Constructor parameter:

    var client = new BlueinkService("your-api-key");
    
  2. Environment variable:

    export BLUEINK_API_KEY=your-api-key
    
    var client = new BlueinkService();
    

Custom Base URL

For testing or on-premise deployments:

var client = new BlueinkService("your-api-key", "https://custom-api.example.com/api/v2/");

Error Handling

The library provides typed exceptions for different error scenarios:

try
{
    var bundle = await client.BundleResource.RetrieveAsync(bundleId);
}
catch (BlueinkNotFoundException ex)
{
    Console.WriteLine($"Bundle not found: {ex.ResourceId}");
}
catch (BlueinkAuthenticationException ex)
{
    Console.WriteLine("Invalid API key");
}
catch (BlueinkRateLimitException ex)
{
    Console.WriteLine($"Rate limited. Retry after {ex.RetryAfterSeconds} seconds");
}
catch (BlueinkApiException ex)
{
    Console.WriteLine($"API error: {ex.Message}");
}

Documentation

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support

For support, please contact support@blueink.com or visit the Blueink Help Center.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.2 91 1/20/2026
1.0.1 93 1/14/2026
1.0.0 89 1/14/2026