C# · Integration

Add E-Signatures to .NET (C#)

Send documents for legally binding e-signature from your .NET (C#) application. One endpoint, no SDK required.

Quick start

  1. Get an API key from signb.ee (free, no credit card)
  2. Set SIGNBEE_API_KEY in your environment
  3. Add the code below to your app

.NET (C#) example

C#
[ApiController]
[Route("api/[controller]")]
public class ContractController : ControllerBase
{
    private readonly HttpClient _http;

    public ContractController(HttpClient http) => _http = http;

    [HttpPost("send")]
    public async Task<IActionResult> Send([FromBody] ContractRequest req)
    {
        _http.DefaultRequestHeaders.Authorization =
            new AuthenticationHeaderValue("Bearer",
                Environment.GetEnvironmentVariable("SIGNBEE_API_KEY"));

        var response = await _http.PostAsJsonAsync(
            "https://signb.ee/api/send", req);
        var result = await response.Content.ReadAsStringAsync();
        return Ok(result);
    }
}

What happens

  1. Your app sends markdown or a PDF URL to Signbee
  2. Signbee generates a PDF (if markdown) and emails the recipient a signing link
  3. Recipient signs — both parties receive the signed PDF with SHA-256 certificate

Also works with AI agents

Install the MCP server to let Claude, Cursor, or Windsurf send documents directly:

npx -y signbee-mcp

Related resources

Try Signbee — free, no credit card.