Quickstart
Upload your first file with the Emberly API in under 5 minutes.
This guide takes you from a fresh account to your first programmatic upload. If you prefer the web dashboard, see Getting Started.
1. Get Your Upload Token
- Log in to embrly.ca
- Go to Settings → Profile
- Copy your Upload Token
Keep your token private
Your upload token authenticates all API requests. Treat it like a password — never commit it to source control or expose it client-side.
2. Upload a File
Pick your language:
cURL
JavaScript / TypeScript
Python
PowerShell
3. Understand the Response
A successful upload returns:
The url field is the shareable link. Share it anywhere — anyone with the URL can view or download the file.
4. Common Upload Options
Pass these as additional form fields:
| Field | Values | Default | Description |
|---|---|---|---|
visibility | PUBLIC, PRIVATE | PUBLIC | Private files require login to access |
password | any string | none | Password-protect the download |
expiresAt | ISO 8601 date | none | Auto-delete the file at this time |
domain | verified domain | your primary | Custom domain for the URL |
Example — private file with a password that expires at year end:
5. Large Files: Chunked Upload
Files larger than 100 MB should use the chunked upload API to avoid timeout issues and support resumable uploads.
See the Files API: Chunked Upload for the full four-step flow with code examples.
Next Steps
Files API
Full reference for upload, update, delete, and chunked upload.
ShareX Integration
One-click screenshot uploads on Windows.
Flameshot Integration
Automated screenshot uploads on Linux and macOS.
PowerShell Module
Automate uploads from the Windows terminal.
Bash / cURL
Shell scripts for server-side automation.
Python SDK
Upload and manage files from Python.