Skip to content
Home Developer API SDKs, CLI, and tooling
Developer tooling

SDKs, CLI, and the toolchain for encrypted file exchange.

Native SDKs for every major stack — Node.js, Python, Java, and .NET — plus a REST API, Postman collection, sample CLIs, and the SendSafely MCP server for AI agents.

$ npm install @sendsafely/sendsafely
Browse SDKs REST API reference
Official client SDKs

One SDK per stack, all end-to-end encrypted by default.

Every SDK handles key generation, OpenPGP encryption, large-file segmentation, and server communication automatically. Files are encrypted client-side before they leave the host process — the SendSafely server only ever sees ciphertext.

Node.js / JavaScript npm · Node.js v18+

Server-side JavaScript module for Node.js. Encrypt, upload, and finalize packages from your back end or a long-running worker.

npm npm install @sendsafely/sendsafely
npm v18+
Python PyPI · Python 3+

Pure Python 3 module ready to install with pip. Build CLI tools, automation scripts, or back-office data transfer jobs.

pip pip install sendsafely
PyPI Py 3+
Java Maven · latest 3.1.5

Cross-platform Java client. Drop into a Spring Boot service or any JVM workload — same encryption guarantees, same key handling, no native dependencies.

Maven com.sendsafely:sendsafely-java-api:3.1.5
Maven JVM
.NET / C# .NET 8.0 SDK · VS 17.8+

Managed .NET client API. Targets .NET 8 for use in ASP.NET back ends, console workers, and Windows-side automation alike.

.NET dotnet add reference SendSafely.csproj
.NET 8 C#
Command-line tooling

Drop SendSafely into shell scripts and CI pipelines.

The SDKs ship with sample command-line wrappers — the same SendSafely encryption guarantees, callable from cron jobs, build agents, or a developer terminal. Eighteen reference projects, including a Dropzone Upload CLI, live in the public Code-Examples repo.

~ / sendsafely-cli
$sendsafely send file.pdf --to user@example.com Encrypting file.pdf with 256-bit Client Secret… Uploading encrypted segments… done. Finalizing package… done. Secure link: https://your-portal.sendsafely.com/receive/?packageCode=abc#keyCode=xyz
$sendsafely audit-log --since 24h --format json > events.json 132 events exported (PACKAGE_EVENT, ADMIN_EVENT, USER_EVENT).

Example shown is representative of the patterns in the SendSafely Code-Examples repo. See the parent developer API page for the supported wrappers and setup steps.

SendSafely MCP

An MCP server for AI agents that handle secure files.

SendSafely MCP exposes our split-key encryption primitives to LLM-based agents over the Model Context Protocol — so Claude, GPT, and other agentic runtimes can send and receive encrypted files, fetch package metadata, and monitor activity.

AI agent
Claude · GPT · any MCP client
SendSafely MCP server
Model Context Protocol
Encrypted package
Client-side OpenPGP · split-key
REST and reference tools

Direct REST access and a ready-to-import Postman collection.

Prefer to call the API directly? The REST surface covers packages, recipients, files, Workspaces directories, messages, Contact Groups, Dropzone recipients, and the Audit Log. Authenticated request signing on every call.

Build with encryption that never sees the file.

Pick a stack, install the SDK, and ship an encrypted file-exchange feature this week. Need a sandbox portal or a higher rate limit? Talk to our team.

Developer API home Request Demo