MEGA
Login

Developers

See our source code, SDK, and integrate MEGA into your own applications.

📦

MEGAcmd

Command line tool for scripting and automation with MEGA storage.

View on GitHub
🛠️

MEGA SDK

C++ SDK for building native integrations with MEGA on any platform.

View on GitHub
🌐

REST API

Full REST API for integrating MEGA functionality into your web application.

Get API Key
🤖

Telegram Bot

Manage your MEGA files directly from Telegram. Upload, download, and share.

Open Bot

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}