To get your Storage Token:
Cludz Storage uses token-based authentication. Include the token in the Token header for all requests.
curl -X GET "https://storage.cludz.net/storage/{uuid}/" \
-H "Token: YOUR_STORAGE_TOKEN"
| Header | Value | Required |
|---|---|---|
Token | Your storage access token | Yes (for non-public resources) |
Alternatively, you can pass the token as a query parameter:
curl -X GET "https://storage.cludz.net/storage/{uuid}/?token=YOUR_STORAGE_TOKEN"
Full access to the storage including all read, write, and delete operations.
Limited access based on folder permissions. Can be restricted to:
For resources marked as Public, authentication is optional for GET requests:
# Public file - no token needed
curl -X GET "https://storage.cludz.net/storage/{uuid}/public/image.jpg"
| Status | Message | Description |
|---|---|---|
401 | Token required | Missing authentication token |
403 | Access denied | Token lacks required permissions |
const response = await fetch('https://storage.cludz.net/storage/{uuid}/documents/', {
headers: {
'Token': 'YOUR_STORAGE_TOKEN'
}
});
const files = await response.json();
import requests
response = requests.get(
'https://storage.cludz.net/storage/{uuid}/documents/',
headers={'Token': 'YOUR_STORAGE_TOKEN'}
)
files = response.json()