Ruby · Integration

Add E-Signatures to Ruby on Rails

Send documents for legally binding e-signature from your Ruby on Rails 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

Ruby on Rails example

Ruby
# app/controllers/contracts_controller.rb
class ContractsController < ApplicationController
  def send_contract
    response = Net::HTTP.post(
      URI("https://signb.ee/api/send"),
      {
        content: params[:content],
        senderName: params[:sender_name],
        senderEmail: params[:sender_email],
        recipientName: params[:recipient_name],
        recipientEmail: params[:recipient_email]
      }.to_json,
      "Authorization" => "Bearer #{ENV['SIGNBEE_API_KEY']}",
      "Content-Type" => "application/json"
    )
    render json: JSON.parse(response.body)
  end
end

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.