Introduction
The PixHub API lets you upload, access, and manage files programmatically using any HTTP client. All responses are in JSON format.
Base URL
https://pixhub.ro/api
All endpoints require HTTPS. HTTP connections are redirected automatically.
Request format
Files are sent as multipart/form-data. Other requests have no body. Responses are always application/json.
Versioning
The API is not currently versioned. Breaking changes will be announced via the platform's blog and via notifications to API users at least 30 days in advance.
Available endpoints
| Method | Path | Description |
|---|---|---|
POST | /api/upload | Upload a file |
GET | /api/uploads | List your own files (paginated) |
GET | /api/uploads/{slug} | Return a single file |
DELETE | /api/uploads/{slug} | Delete a file |
GET | /api/stats | Account usage statistics |