Rust · Integration
Add E-Signatures to Rust (Axum)
Send documents for legally binding e-signature from your Rust (Axum) application. One endpoint, no SDK required.
Quick start
- Get an API key from signb.ee (free, no credit card)
- Set
SIGNBEE_API_KEYin your environment - Add the code below to your app
Rust (Axum) example
Rust
use axum::{Json, extract::State};
use reqwest::Client;
use serde::{Deserialize, Serialize};
#[derive(Deserialize, Serialize)]
struct ContractReq {
content: String,
sender_name: String,
sender_email: String,
recipient_name: String,
recipient_email: String,
}
async fn send_contract(
State(client): State<Client>,
Json(req): Json<ContractReq>,
) -> Json<serde_json::Value> {
let res = client.post("https://signb.ee/api/send")
.bearer_auth(std::env::var("SIGNBEE_API_KEY").unwrap())
.json(&req)
.send().await.unwrap();
Json(res.json().await.unwrap())
}What happens
- Your app sends markdown or a PDF URL to Signbee
- Signbee generates a PDF (if markdown) and emails the recipient a signing link
- 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.