Introduction to Bet Softnets Platform
Welcome to the Bet Softnets developer documentation. Our platform provides comprehensive APIs, SDKs, and tools for integrating software development, network solutions, and healthcare technology into your applications. Whether you're building custom software, managing network infrastructure, or developing HIPAA-compliant healthcare applications, our documentation will guide you through every step.
Platform Overview
? Software Development
APIs for custom software development, code generation, deployment automation, and CI/CD integration.
Learn more ?? Network Solutions
Manage network infrastructure, monitoring, security policies, and cloud connectivity through our APIs.
Learn more ?? Healthcare Technology
HIPAA-compliant APIs for EHR integration, telemedicine, patient data management, and analytics.
Learn more ?Quickstart Guide
Get started with Bet Softnets in 5 minutes. Follow these steps to make your first API call.
Get Your API Key
Sign up for a Bet Softnets account and navigate to the Developer Portal to generate your API key.
BS-LIVE-abc123def456ghi789jkl
Install the SDK
Choose your preferred language and install the SDK via package manager.
composer require betsoftnets/sdk
pip install betsoftnets
npm install @betsoftnets/sdk
<dependency>
<groupId>com.betsoftnets</groupId>
<artifactId>sdk</artifactId>
<version>2.1.0</version>
</dependency>Make Your First API Call
Initialize the client and make a request to verify your setup.
<?php
require 'vendor/autoload.php';
use BetSoftnets\Client;
$client = new Client([
'api_key' => 'your-api-key-here',
'environment' => 'sandbox' // Use 'production' for live
]);
// Test the connection
try {
$response = $client->health->ping();
echo "Connected successfully!";
} catch (Exception $e) {
echo "Error: " . $e->getMessage();
}Authentication
All API requests require authentication using your API key. We support multiple authentication methods.
API Key Authentication
Include your API key in the request header:
Authorization: Bearer BS-LIVE-abc123def456ghi789jkl
Environment Types
| Environment | Base URL | Purpose |
|---|---|---|
| Sandbox | https://sandbox-api.betsoftnets.com/v2 | Testing and development |
| Production | https://api.betsoftnets.com/v2 | Live production traffic |
Rate Limits
API requests are subject to rate limiting to ensure fair usage and system stability.
| Plan | Rate Limit | Burst Limit |
|---|---|---|
| Developer | 100 requests/minute | 200 requests/minute |
| Business | 1,000 requests/minute | 2,000 requests/minute |
| Enterprise | 10,000 requests/minute | 20,000 requests/minute |
Rate limit information is included in response headers:
X-RateLimit-Limit: 100 X-RateLimit-Remaining: 95 X-RateLimit-Reset: 1615305600
Error Handling
The API uses conventional HTTP response codes to indicate success or failure.
| Code | Description |
|---|---|
| 200 | OK - Request succeeded |
| 201 | Created - Resource created successfully |
| 400 | Bad Request - Invalid parameters |
| 401 | Unauthorized - Missing or invalid API key |
| 403 | Forbidden - Insufficient permissions |
| 404 | Not Found - Resource doesn't exist |
| 429 | Too Many Requests - Rate limit exceeded |
| 500 | Internal Server Error - Try again later |
Error Response Format
{
"success": false,
"error": {
"code": "invalid_parameters",
"message": "The request parameters are invalid",
"details": [
{
"field": "email",
"issue": "must be a valid email address"
}
]
},
"request_id": "req_xyz789"
}Webhooks
Receive real-time notifications about events in your account.
Supported Events
project.created- New project createdproject.updated- Project details updateddeployment.completed- Deployment finishedmonitoring.alert- Network monitoring alertpatient.updated- Patient record updated
Webhook Payload Example
{
"event": "deployment.completed",
"timestamp": "2026-03-09T15:30:00Z",
"data": {
"project_id": "proj_123456",
"deployment_id": "dep_789012",
"status": "success",
"environment": "production",
"url": "https://app.example.com"
},
"signature": "sha256=..."
}Verifying Webhook Signatures
All webhooks include a signature header that you should verify to ensure the request is from Bet Softnets.
// PHP Example
$signature = $_SERVER['HTTP_X_BETSOFTNETS_SIGNATURE'];
$payload = file_get_contents('php://input');
$secret = 'your-webhook-secret';
$expected = hash_hmac('sha256', $payload, $secret);
if (hash_equals($expected, $signature)) {
// Valid webhook
processWebhook($payload);
} else {
// Invalid signature
http_response_code(401);
}API Reference
Our RESTful APIs are organized around resources. All requests should be made over HTTPS. Responses are returned in JSON format.
Available Endpoints
GET /projects
List Projects
List all projects
POST /projects
Create Project
Create a new project
GET /projects/{id}
Get Project
Get project details
PUT /projects/{id}
Update Project
Update project
DELETE /projects/{id}
Delete Project
Delete project