Home About Services Projects Gallery Blog Contact
DOCS
API
GUIDES
TUTORIALS
REFERENCES
SDK
📚 Documentation
🔧 Developer Tools
📖 API Reference
Developer Resources

Documentation Build with Bet Softnets

Everything you need to integrate, develop, and deploy with our software, network, and healthcare technology solutions. Comprehensive guides, API references, and SDKs.

example.php
<?php
$client = new BetSoftnets\Client();
$client->authenticate('api_key');

$response = $client->healthcare->getPatient([
    'patient_id' => 'P-12345'
]);

print_r($response);

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.

??
New to Bet Softnets? Check out our Quickstart Guide to get up and running in minutes.

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.

1

Get Your API Key

Sign up for a Bet Softnets account and navigate to the Developer Portal to generate your API key.

API Key Format
BS-LIVE-abc123def456ghi789jkl
2

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>
3

Make Your First API Call

Initialize the client and make a request to verify your setup.

PHP Example
<?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

EnvironmentBase URLPurpose
Sandboxhttps://sandbox-api.betsoftnets.com/v2Testing and development
Productionhttps://api.betsoftnets.com/v2Live production traffic
??
Never expose your API key in client-side code. Always make API calls from your backend server.

Rate Limits

API requests are subject to rate limiting to ensure fair usage and system stability.

PlanRate LimitBurst Limit
Developer100 requests/minute200 requests/minute
Business1,000 requests/minute2,000 requests/minute
Enterprise10,000 requests/minute20,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.

CodeDescription
200OK - Request succeeded
201Created - Resource created successfully
400Bad Request - Invalid parameters
401Unauthorized - Missing or invalid API key
403Forbidden - Insufficient permissions
404Not Found - Resource doesn't exist
429Too Many Requests - Rate limit exceeded
500Internal 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 created
  • project.updated - Project details updated
  • deployment.completed - Deployment finished
  • monitoring.alert - Network monitoring alert
  • patient.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
GET /projects List Projects

List all projects

POST
POST /projects Create Project

Create a new project

GET
GET /projects/{id} Get Project

Get project details

PUT
PUT /projects/{id} Update Project

Update project

DELETE
DELETE /projects/{id} Delete Project

Delete project

Developer Tools

Download SDKs & Libraries

🐘

PHP

v2.1.0

composer require betsoftnets/sdk
Documentation →
🐍

Python

v2.1.0

pip install betsoftnets
Documentation →
📜

JavaScript

v2.1.0

npm install @betsoftnets/sdk
Documentation →

Java

v2.1.0

Maven/Gradle
Documentation →
🔷

.NET

v2.1.0

dotnet add package BetSoftnets
Documentation →
💎

Ruby

v2.1.0

gem install betsoftnets
Documentation →
🔵

Go

v2.1.0

go get github.com/betsoftnets/sdk
Documentation →
📱

Swift

v2.1.0

Swift Package Manager
Documentation →
🤖

Kotlin

v2.1.0

Gradle/Maven
Documentation →
System Status

API & Services Health

Software Development API

Operational

< 100ms

Network Solutions API

Operational

< 150ms

Healthcare Technology API

Operational

< 200ms

Authentication Service

Operational

< 50ms

Webhook Delivery

Operational

99.9% delivered

Dashboard & Portal

Operational

100% uptime
Quick Answers

Frequently Asked Questions

How do I get started with the API? +

Sign up for a Bet Softnets account, generate an API key from the Developer Portal, and follow our Quickstart Guide to make your first API call.

What are your rate limits? +

Rate limits vary by plan: Developer (100/min), Business (1,000/min), Enterprise (10,000/min). See the Rate Limits section for details.

How do I handle webhooks securely? +

Verify webhook signatures using your webhook secret, validate request origins, and use HTTPS endpoints. See our Webhooks documentation for examples.

Is the healthcare API HIPAA compliant? +

Yes, our healthcare API is HIPAA compliant. You must sign a Business Associate Agreement (BAA) and enable HIPAA mode in your client configuration before transmitting PHI.

Do you have SDKs for mobile development? +

Yes, we offer iOS (Swift) and Android (Kotlin/Java) SDKs. You can find them in our SDKs section or on GitHub.

How do I report a bug or issue? +

Report issues through our GitHub repository, contact support at support@betsoftnets.com, or use the "Report Issue" link in the sidebar.

Solutions

Troubleshooting Guides

Authentication Failed

Symptom: 401 Unauthorized errors

Solutions:

  • Verify API key is correct
  • Check environment (sandbox vs production)
  • Ensure API key hasn't expired
  • Confirm proper header format: Authorization: Bearer YOUR_KEY

Rate Limit Exceeded

Symptom: 429 Too Many Requests

Solutions:

  • Implement exponential backoff
  • Cache frequent requests
  • Upgrade your plan for higher limits
  • Check X-RateLimit-* headers

HIPAA Compliance Errors

Symptom: 403 Forbidden for healthcare endpoints

Solutions:

  • Ensure BAA is signed
  • Enable hipaa_mode in client
  • Check audit logging requirements
  • Verify patient consent records

Network Timeouts

Symptom: Connection timeouts or slow responses

Solutions:

  • Increase timeout settings
  • Implement retry logic
  • Check your network connectivity
  • Use our status page for service health
Join the Community

Developer Community

Get Help

Support Options

📧

Email Support

info@merkatomarket.com
💬

Live Chat

Available in Developer Portal

24/7 for Enterprise plans

📞

Phone Support

+251901115599

Enterprise only, 9am-5pm PT

🎫

Ticket System

Submit a ticket

Track all your requests

Ready to Start Building?

Get your API keys, explore our SDKs, and join thousands of developers building with Bet Softnets.