Developers
See our source code, SDK, and integrate MEGA into your own applications.
API Quick Reference
// Authenticate
POST /api/auth
{ "email": "user@example.com", "password": "..." }
// List files
GET /api/files?folder_id=0
Authorization: Bearer {token}
// Upload file
POST /api/upload
Content-Type: multipart/form-data
Authorization: Bearer {token}
// Create share link
POST /api/share
{ "file_id": 123, "expires_at": "2025-12-31" }
Authorization: Bearer {token}