Skip to main content

How do I share files from the terminal?

Use cURL: curl -F "[email protected]" https://easysend.co/api/v1/upload. The response JSON includes a share link. No API key or account needed.

Sharing files from the terminal takes one command:

curl -F "[email protected]" https://easysend.co/api/v1/upload

The response returns JSON with the share URL:

{"success":true,"short_code":"aB3xZ","share_url":"/aB3xZ"}

Your share link is https://easysend.co/aB3xZ.

Multiple Files

curl -F "[email protected]" -F "[email protected]" https://easysend.co/api/v1/upload

With Encryption

curl -F "[email protected]" -F "encrypted=1" https://easysend.co/api/v1/upload

EasySend also has a CLI tool and a Raycast extension for Mac users. See the full API docs.

Try EasySend Free