API Documentation

Integrate SILENT TECH file hosting into your applications

Premium Feature

API access is available for premium and enterprise users.Upgrade your plan or contact sales.

Quick Start

1. Get your API Key

Generate an API key from your dashboard settings.

2. Make your first request

curl -X POST https://silent7.app/api/v1/upload \
  -H "X-API-Key: your_api_key_here" \
  -F "file=@/path/to/your/file.zip"

3. Get your file URL

{
  "success": true,
  "file": {
    "id": "abc123",
    "name": "file.zip",
    "size": 1024000,
    "short_code": "xY7kL9mN",
    "url": "https://silent7.app/f/xY7kL9mN",
    "direct_url": "https://blob.vercel.storage/..."
  }
}

Authentication

All API requests require authentication via the X-API-Key header.

curl -H "X-API-Key: your_api_key_here" https://silent7.app/api/v1/account

Error Codes

  • MISSING_API_KEY - No API key provided
  • INVALID_API_KEY - API key is invalid
  • API_DISABLED - API access has been disabled
  • ACCOUNT_BLOCKED - Account has been blocked

Endpoints

POST/api/v1/upload
Upload a file to your account

Request

Send a multipart form with a file field.

curl -X POST https://silent7.app/api/v1/upload \
  -H "X-API-Key: your_api_key" \
  -F "file=@example.pdf"

Response

{
  "success": true,
  "file": {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "name": "example.pdf",
    "size": 2048576,
    "type": "application/pdf",
    "short_code": "xY7kL9mN",
    "url": "https://silent7.app/f/xY7kL9mN",
    "direct_url": "https://blob.vercel.storage/uploads/xY7kL9mN.pdf",
    "created_at": "2024-01-15T10:30:00Z"
  }
}

Error Codes

  • NO_FILE - No file provided in request
  • FILE_TOO_LARGE - File exceeds size limit
  • BANDWIDTH_EXCEEDED - Monthly bandwidth limit exceeded

Rate Limits

PlanRequests/minuteUploads/dayMax File Size
Premium605002 GB
EnterpriseUnlimitedUnlimitedUnlimited

Code Examples

// Upload a file using JavaScript/Node.js
const formData = new FormData();
formData.append('file', fileInput.files[0]);

const response = await fetch('https://silent7.app/api/v1/upload', {
  method: 'POST',
  headers: {
    'X-API-Key': 'your_api_key'
  },
  body: formData
});

const data = await response.json();
console.log('File URL:', data.file.url);

Ready to get started?

Upgrade to Premium or Enterprise to unlock API access and integrate file hosting into your applications.

Support Assistant

Ask about Silent Tech

Hi! How can I help?

Ask me anything about Silent Tech file hosting.