API Production & Integrations

Das kritischste Bindeglied zwischen externen Systemen ist die API. Wir produzieren versionierte, dokumentierte, rate-limitierte, sicherheitsgeschichtete APIs.

REST / GraphQL / gRPC-Dienste
Webhook-Infrastruktur, Event-Driven-Architektur
Drittanbieter-Integrationen (Zahlung, Versand, ERP, CRM)
Swagger / OpenAPI-Dokumentation

API Key & Authentication Examples

So funktioniert die Authentifizierung mit unseren APIs — sicher, einfach, professionell.

Python — API Key Auth
import requests

API_KEY = "bl_live_sk_7f8a9b2c4d5e6f..."
BASE_URL = "https://api.beelife.tech/v1"

headers = {
    "Authorization": f"Bearer {API_KEY}",
    "Content-Type": "application/json"
}

# Get all projects
response = requests.get(
    f"{BASE_URL}/projects",
    headers=headers
)

print(response.json())
# {"projects": [...], "total": 12}
cURL — REST API Call
# Health Check
curl -X GET \
  https://api.beelife.tech/v1/health \
  -H "Authorization: Bearer bl_live_sk_..."

# Create a new resource
curl -X POST \
  https://api.beelife.tech/v1/resources \
  -H "Authorization: Bearer bl_live_sk_..." \
  -H "Content-Type: application/json" \
  -d '{
    "name": "My Project",
    "type": "automation",
    "config": {"workers": 4}
  }'
Response — Health
{
  "status": "healthy",
  "version": "1.4.2",
  "uptime": "99.97%",
  "latency_ms": 12,
  "region": "eu-central-1",
  "timestamp": "2026-02-11T..."
}
Response — Auth Token
{
  "access_token": "eyJhbGciOi...",
  "token_type": "bearer",
  "expires_in": 3600,
  "refresh_token": "rt_8k2m...",
  "scope": "read write",
  "user_id": "usr_bl_42"
}
Response — Webhook
{
  "event": "project.deployed",
  "data": {
    "project_id": "prj_82a",
    "status": "live",
    "deploy_time_ms": 4200,
    "url": "https://app..."
  },
  "timestamp": "2026-02-11T..."
}

📄 OpenAPI / Swagger Documentation

Jede API wird mit vollständiger Swagger-Dokumentation geliefert. Endpoints, Parameter, Responses — alles klar dokumentiert.

OpenAPI 3.0 — Schema
openapi: "3.0.3"
info:
  title: Bee Life Platform API
  version: "1.4.2"
  description: Production-grade API

paths:
  /v1/projects:
    get:
      summary: List all projects
      security:
        - BearerAuth: []
      responses:
        "200":
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  projects:
                    type: array
                  total:
                    type: integer

  /v1/projects/{id}/deploy:
    post:
      summary: Deploy a project
      parameters:
        - name: id
          in: path
          required: true
      responses:
        "202":
          description: Deployment started