API Documentation
Everything you need to know about the CDNSigma API
Quick Navigation
🔑 API Key Required
All API endpoints require an API key to be included in the request headers:
Need an API key? Request one here.
Available Permissions
Endpoints
Upload File
Upload one or more files to the service.
Required Permissions:
add_file
Request Format:
multipart/form-data
Parameters:
file
- The file(s) to upload (multiple files allowed)folder_name
(optional) - Custom folder name (default: random UUID)
Get File Information
Get detailed information about a specific file.
Required Permissions:
view_file
List Folder Contents
Get a list of all files in a folder.
Required Permissions:
view_folder
Delete File/Folder
Delete a file or folder and all its contents.
Required Permissions:
delete_file
Create API Key
Create a new API key with custom permissions.
Required Permissions:
create_api
Request Body:
{
"permissions": ["add_file", "view_file"],
"description": "Custom API key",
"public_ratelimiting": false,
"prefix": "custom_" // optional
}
Delete API Key
Delete an existing API key.
Required Permissions:
delete_api
Ban IP Address
Ban an IP address from accessing the service.
Required Permissions:
ban
Request Body:
{
"ip": "1.2.3.4",
"reason": "Violation of terms of service"
}
Unban IP Address
Remove an IP address from the ban list.
Required Permissions:
unban
Request Body:
{
"ip": "1.2.3.4"
}
List Banned IPs
Get a list of all banned IP addresses.
Required Permissions:
ban
unban
Check API Key Permissions
Get the permissions associated with your API key.
Required Permissions:
all
⚡ Rate Limiting
Public API keys (those starting with 'public_') are subject to rate limiting. Custom API keys can also have rate limiting enabled when created.
📁 File Size Limits
The maximum file size allowed for upload is 2GB.