QuantaSeal
QuantaSeal
All API requests require authentication using an API key. Include your key in the Authorization header.
Include your API key in every request using the Bearer authentication scheme:
Authorization: Bearer YOUR_API_KEY1. Sign up at dashboard.quantaseal.io
2. Navigate to Settings → API Keys
3. Click "Generate New Key"
4. Copy and securely store your key
Important: Never commit API keys to version control or share them publicly. Use environment variables to store keys securely.
Base URL: https://api.quantaseal.io
/v1/encryptEncrypt data using quantum-safe algorithms
curl -X POST https://api.quantaseal.io/v1/encrypt \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"data": "Sensitive customer information",
"algorithm": "ML-KEM-768"
}'/v1/decryptDecrypt previously encrypted data
curl -X POST https://api.quantaseal.io/v1/decrypt \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"encrypted_data": "base64_encoded_string",
"key_id": "key_123456"
}'/v1/keys/generateGenerate a new encryption key
curl -X POST https://api.quantaseal.io/v1/keys/generate \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"algorithm": "ML-KEM-768",
"name": "customer-data-key",
"rotation_period": 90
}'/v1/keysList all encryption keys
curl -X GET "https://api.quantaseal.io/v1/keys?page=1&limit=20" \
-H "Authorization: Bearer YOUR_API_KEY"/v1/keys/:key_id/rotateManually rotate an encryption key
curl -X POST https://api.quantaseal.io/v1/keys/key_123/rotate \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"re_encrypt_data": true}'/v1/audit/logsRetrieve audit logs for compliance
curl -X GET "https://api.quantaseal.io/v1/audit/logs?start_date=2024-01-01&end_date=2024-12-31" \
-H "Authorization: Bearer YOUR_API_KEY"Standard HTTP response codes indicate the success or failure of API requests.
Invalid request parameters or malformed JSON
Missing or invalid API key
API key does not have required permissions
Requested resource does not exist
Rate limit exceeded
Server error - contact support if persists
Temporary service disruption
All error responses follow this structure:
{
"error": {
"code": 400,
"message": "Invalid request parameters",
"details": "The 'algorithm' field is required",
"request_id": "req_abc123",
"timestamp": "2024-01-15T10:30:00Z"
}
}API rate limits are enforced per organization to ensure fair usage and platform stability.
All responses include rate limit information in headers:
X-RateLimit-Limit: 1000
X-RateLimit-Remaining: 987
X-RateLimit-Reset: 1705315800When rate limit is exceeded, you'll receive a 429 Too Many Requests response with a Retry-After header.
Use our official SDKs to integrate QuantaSeal in your preferred language.
Our developer support team is available to help you integrate QuantaSeal into your applications.