blit.zone API

REST endpoints for auth, profile, links, shortener, uploads, and ShareX configuration.

POST /api/auth/register

{
  "username": "yourname",
  "email": "you@domain.com",
  "password": "password123"
}

POST /api/auth/login

{
  "login": "yourname",
  "password": "password123"
}

POST /api/upload

Authorization: Bearer YOUR_API_KEY
Content-Type: multipart/form-data
file: <binary>

POST /api/shorten

{
  "targetUrl": "https://example.com",
  "alias": "custom123",
  "expiresAt": "2027-01-01",
  "password": "optional"
}

GET /api/sharex/config

{
  "Version": "14.0.0",
  "Name": "blit.zone",
  "DestinationType": "ImageUploader, TextUploader, FileUploader",
  "RequestURL": "https://blit.zone/api/upload"
}