Quickstart for Developers
Upload a file from code in five minutes.
This takes you from a new account to uploading from code. If you'd rather use the website, see Getting Started.
1. Create an API Key
- Sign in to embrly.ca.
- Open Profile → API and create a key. Give it a name you'll recognise, like "Backup script".
- Copy the key. It starts with
ebk_and is only shown once.
Keep it secret
An API key can do anything your account can. Don't commit it to a repository or put it in code that runs in a browser. You can revoke it in Profile → API at any time.
2. Upload a File
cURL
JavaScript
Python
PowerShell
3. Use the Response
url is the link to share. Keep id if you want to change or delete the file later.
4. Upload Options
Add these as form fields:
| Field | Values | Description |
|---|---|---|
visibility | PUBLIC (default) or PRIVATE | Private files are only visible to you. |
password | any text | Viewers must enter it to open the file. |
expiresAt | ISO 8601 date | Delete the file at this time. |
domain | one of your verified domains | Use it in the returned link. |
5. Large Files
For files close to your upload limit, or anything over a few hundred megabytes, upload in parts so a dropped connection doesn't mean starting again. See Large Files.