API Reference
The Emberly REST API — upload, manage, and serve files programmatically.
The Emberly REST API lets you upload files, shorten URLs, manage metadata, and configure custom domains from any language or tool.
Files API
Upload, update, delete, and serve files.
URL Shortener API
Create and manage short links.
Domains API
Manage custom domains for your uploads.
Analytics API
Storage stats, top files, and activity data.
Profile API
Manage security, tokens, linked accounts, and perks.
Discovery API
Nexium profiles, squads, opportunities, and applications.
User API Reference
Comprehensive reference for all user-facing endpoints.
Staff & Admin API
Admin-only endpoints for user management and moderation.
Base URL
Authentication
All endpoints require a Bearer token:
Get your token from Dashboard → Settings → Profile → Upload Token.
Some endpoints (domains, profile, analytics) 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 |