Integrate Secure Send into your applications with our simple REST API. Create secure links programmatically with complete control over security settings.
Create secure links programmatically with our simple REST API. Perfect for integrating Secure Send into your applications, workflows, or services.
| Parameter | Required | Default | Valid Values | Description |
|---|---|---|---|---|
inputData |
Required | N/A | Any string | The sensitive data to encrypt and store |
views |
Optional | 1 |
1-5 |
Number of times the data can be viewed |
expiry |
Optional | 24 |
24, 48, 72, 96, 120, 144, 168 |
Expiry time in hours (1-7 days) |
$data = [
'inputData' => 'Your secret message here',
'views' => 1, // 1-5 views
'expiry' => 24 // 24, 48, 72, 96, 120, 144, 168 hours
];
$ch = curl_init('https://web411.site/api.php');
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
$result = json_decode($response, true);
import requests
data = {
'inputData': 'Your secret message here',
'views': 1, # 1-5 views
'expiry': 24 # 24, 48, 72, 96, 120, 144, 168 hours
}
response = requests.post('https://web411.site/api.php', data=data)
result = response.json()
curl -X POST https://web411.site/api.php \
-d "inputData=Your secret message here" \
-d "views=1" \
-d "expiry=24"
{
"success": true,
"data": {
"link": "https://web411.site/SECURE-ID",
"views": 1,
"expiry_hours": 24,
"expiry_date": "2025-08-26 12:13:31",
"full_content": "🔒 Security Details:\n• Can be viewed 1 time\n..."
}
}
Generate secure links from your applications, scripts, or automated workflows. Perfect for system integrations.
Integrate secure sharing into your business applications, CRM systems, or internal tools.
Use in serverless functions, webhooks, or microservices for secure data sharing.
Share sensitive configuration, credentials, or deployment information securely in your CI/CD pipelines.
| Status Code | Description | Response Format |
|---|---|---|
200 OK |
Success - Secure link created | JSON with success data |
400 Bad Request |
Invalid input data | JSON with error message |
405 Method Not Allowed |
Wrong HTTP method | JSON error response |
500 Internal Server Error |
Server error | JSON error response |
{
"success": false,
"error": "Invalid input data. Views must be between 1 and 5."
}
Send a POST request to your API endpoint with the required parameters.
Parse the JSON response and extract the secure link or full content.
Use the generated link or content in your application or share with recipients.