API Reference
The Emberly REST API — upload, manage, and serve files programmatically.
The Emberly REST API lets you upload files, manage metadata, and configure custom domains from any language or tool.
Base URL
Authentication
All endpoints require a Bearer token:
Get your token from Dashboard → Settings → Profile → Upload Token.
Some endpoints (domains, profile) require a session cookie from a browser login rather than a token. These are noted per-endpoint.
Response Format
All responses return JSON:
Error responses:
Rate Limits
| Plan | Upload rate | API rate |
|---|---|---|
| Spark (free) | 10 req/min | 60 req/min |
| Paid plans | Higher limits based on tier | Higher limits |
Exceeding limits returns 429 Too Many Requests.
Status Codes
| Code | Meaning |
|---|---|
200 | Success |
400 | Bad request — see error field |
401 | Unauthenticated |
403 | Forbidden (insufficient permissions or unverified resource) |
404 | Resource not found |
409 | Conflict (duplicate, already exists) |
413 | File too large or quota exceeded |
429 | Rate limited |
500 | Server error |