EmberlyEmberly Docs

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

https://embrly.ca/api

Authentication

All endpoints require a Bearer token:

Authorization: Bearer YOUR_UPLOAD_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:

{
  "success": true,
  "data": { ... }
}

Error responses:

{
  "success": false,
  "error": "Human-readable error message"
}

Rate Limits

PlanUpload rateAPI rate
Spark (free)10 req/min60 req/min
Paid plansHigher limits based on tierHigher limits

Exceeding limits returns 429 Too Many Requests.

Status Codes

CodeMeaning
200Success
400Bad request — see error field
401Unauthenticated
403Forbidden (insufficient permissions or unverified resource)
404Resource not found
409Conflict (duplicate, already exists)
413File too large or quota exceeded
429Rate limited
500Server error

On this page