Zum Hauptinhalt springen

ECOSIRE-Entwicklerportal

Erstellen Sie leistungsstarke Integrationen mit unserer umfassenden REST-API. Über 818 Endpunkte, vollständige OpenAPI-Spezifikation und TypeScript SDK.

818+
API-Endpunkte
57
Module
REST
Architektur
11
Unterstützte Gebietsschemata
API

Schnellstart

Mit der ECOSIRE-API können Sie in wenigen Minuten loslegen

1

Authentifizieren

Verwenden Sie OAuth2 über Authentik oder API-Schlüssel, um ein JWT-Bearer-Token für den API-Zugriff zu erhalten.

POST /api/auth/login
2

Machen Sie Ihren ersten Anruf

Verwenden Sie das Bearer-Token im Authorization-Header, um einen beliebigen API-Endpunkt aufzurufen.

# Alle Kontakte auflisten
curl -H "Authorization: Bearer $TOKEN" \
https://api.ecosire.com/api/contacts
3

Einen öffentlichen Endpunkt aufrufen

Der App-Katalog ist offen: kein Schlüssel, nichts zu installieren. Jeder HTTP-Client funktioniert.

const res = await fetch(
"https://api.ecosire.com/api/apps/platforms"
);
const platforms = await res.json();
57 Modules

API-Module

Entdecken Sie 57 Module, die jeden Aspekt des Unternehmensbetriebs abdecken

Kern

AuthUsersContactsProductsOrdersProjectsSettings

Finanzen

AccountingSalesPurchaseBillingInvoicing

Operationen

InventoryManufacturingPOSRentalPlanning

Personalwesen

EmployeesRecruitmentTime OffAttendanceExpensesPayrollAppraisals

Marketing & Wachstum

Email MarketingEventsMarketing AutomationAnalyticsAffiliatesLoyalty

KI & Automatisierung

ECOSIRE AISelf-Evolving EngineContent GenerationSEO Scanner
Security

Authentifizierung

Zwei Authentifizierungsmethoden, die Ihren Integrationsanforderungen entsprechen

HttpOnly-Cookies

Sichere Cookie-basierte Authentifizierung für Browseranwendungen. Token werden niemals JavaScript ausgesetzt.

  • Automatisch mit der Webanwendung
  • HttpOnly, Secure, SameSite=Lax
  • 7-tägige Refresh-Token-Rotation

Inhabertoken

Verwenden Sie JWT-Bearer-Tokens für Server-zu-Server-Integrationen und API-Clients.

// Authorization header
Authorization: Bearer <your_jwt_token>
// Or via HttpOnly cookie
Cookie: ecosire_auth=<token>
Interactive

API Playground

Try any endpoint directly from your browser. Select an endpoint, fill in parameters, and send live requests to the ECOSIRE API.

ECOSIRE API Playground
POST/auth/login

Login with email and password

Code Snippet
curl -X POST \ \
  "https://api.ecosire.com/api/auth/login" \ \
  -H "Content-Type: application/json" \
  -d '{   "email": "user@example.com",   "password": "secret" }'
HTTP

HTTP-Codebeispiele

Nichts zu installieren. Rufen Sie die API mit dem HTTP-Client auf, den Ihre Sprache bereits mitbringt – jede Anfrage unten läuft gegen die Live-API.

Codebeispiele

Katalog, Lizenzen und Agenten-Tools – in curl, TypeScript, Python, PHP und Ruby

1. Plattformen auflisten

Alle Plattformen im App-Katalog, jeweils mit der Zahl der gelisteten Apps und der Zahl der Apps, die sich heute installieren lassen. Kein Schlüssel nötig.

curl -s "https://api.ecosire.com/api/apps/platforms" \
  -H "User-Agent: my-integration/1.0"

# 200 OK — no key needed
# [
#   { "platform": "odoo", "slug": "odoo", "label": "Odoo",
#     "appCount": <apps listed>, "sellableCount": <ready to install today> },
#   ...
# ]
Webhooks

Webhook Events

ECOSIRE sends real-time webhook events to your server when key actions occur — payments, subscriptions, license activations, and more.

Webhook Event Tester

Explore all 8 webhook events, generate cURL commands, and verify HMAC signatures.

Checkout Completed

checkout.session.completed

Fired when a customer completes payment in a Stripe Checkout Session.

Trigger: Customer pays for a product in the storefront. Auto-grants licenses and creates order.

Example JSON payload delivered to your webhook endpoint for checkout.session.completed.

json
{
  "id": "evt_1ABCxyz",
  "object": "event",
  "type": "checkout.session.completed",
  "created": 1711000000,
  "data": {
    "object": {
      "id": "cs_live_abc123",
      "object": "checkout.session",
      "customer_email": "customer@company.com",
      "amount_total": 24900,
      "currency": "usd",
      "mode": "payment",
      "payment_status": "paid",
      "metadata": {
        "userId": "usr_01HXYZ",
        "productIds": "[\"prd_01HODOOCRM\"]"
      }
    }
  }
}

All Webhook Events

Event
checkout.session.completed
invoice.paid
customer.subscription.deleted
customer.subscription.updated
charge.refunded
payment_intent.payment_failed
license.validated
license.activated

Verify webhook signatures in production

Always verify the stripe-signature header for Stripe events using your STRIPE_WEBHOOK_SECRET. For license events, verify the X-License-Signature header using ECOSIRE_LICENSE_SECRET. Unverified events should be rejected with 401.

Reference

Error Codes

All API errors follow RFC 7807 (Problem Details for HTTP APIs). Every error includes a machine-readable code and human-readable message.

StatusMeaning
200OK
201Created
204No Content
400Bad Request
401Unauthorized
403Forbidden
404Not Found
409Conflict
422Unprocessable
429Too Many Requests
500Server Error
Error Response Shape
{
  "statusCode": 422,
  "error": "Unprocessable Entity",
  "message": "Validation failed",
  "details": [
    { "field": "email", "message": "Invalid email address" },
    { "field": "password", "message": "Must be at least 8 characters" }
  ]
}
Rate Limits

Ratenbeschränkungen

Faire Nutzungsbeschränkungen, um die API-Stabilität für alle Benutzer sicherzustellen

EndpunktRatenbegrenzung
POST /support5/min
POST /crm/capture10/min
POST /ecosire-ai/ask20/min
POST /licenses/validate30/min
POST /licenses/activate10/min
POST /newsletter/subscribe5/min
Authenticated endpoints100/min

Rate Limit Response Headers

X-RateLimit-LimitMaximum requests allowed in the window
X-RateLimit-RemainingRequests remaining in the current window
X-RateLimit-ResetUnix timestamp when the window resets
Retry-AfterSeconds to wait before retrying (on 429)
API Keys

API Key Management

Create and manage API keys from your dashboard. Each key can be scoped to specific permissions and rotated independently.

Create API Keys

Generate new API keys from Dashboard → Settings → API Keys. Each key has a name, optional expiry date, and role scope.

Scoped Permissions

Keys can be scoped to read-only, read-write, or admin. Admin keys can manage other keys and access all endpoints.

Key Rotation

Rotate keys at any time without downtime. The old key remains valid for 24 hours after rotation for a smooth transition.

Usage Analytics

View per-key request counts, error rates, and last-used timestamps from the API Keys dashboard page.

Environment Keys

Maintain separate keys for development, staging, and production. Production keys log all requests for audit purposes.

Webhook Secrets

Webhook endpoints also use a separate ECOSIRE_LICENSE_SECRET for HMAC-SHA256 signature verification on license events.

Using an API Key

# Pass the key as a Bearer token in the Authorization header
curl https://api.ecosire.com/api/contacts \
  -H "Authorization: Bearer ecos_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

# Or use HttpOnly cookies (browser-based auth — set automatically on login)
# Cookie: ecosire_auth=<jwt_token>
FAQ

Häufig gestellte Fragen

Häufige Fragen zur ECOSIRE API

Wie erhalte ich API-Zugriff?

Registrieren Sie sich für ein ECOSIRE-Konto und navigieren Sie zu Dashboard > API-Schlüssel, um Ihre API-Anmeldeinformationen zu generieren. Der API-Zugriff ist für alle Pläne verfügbar.

Gibt es eine kostenlose Stufe?

Ja, alle ECOSIRE-Konten beinhalten API-Zugriff. Die Tarifbegrenzungen variieren je nach Tarif. Das kostenlose Kontingent unterstützt bis zu 1.000 API-Aufrufe pro Tag.

Welche Authentifizierungsmethoden werden unterstützt?

Wir unterstützen OAuth2 über Authentik (empfohlen für Web-Apps), JWT-Bearer-Tokens (für Server-zu-Server) und API-Schlüssel (für einfache Integrationen).

Haben Sie Webhook-Unterstützung?

Ja, ECOSIRE unterstützt Webhooks für Ereignisbenachrichtigungen in Echtzeit. Konfigurieren Sie Webhook-Endpunkte unter Dashboard > Einstellungen > Webhooks.

Was ist das API-Verfügbarkeits-SLA?

Wir veröffentlichen keine Verfügbarkeitsquote – wir veröffentlichen das System dahinter. Die API läuft als redundanter Multi-Instanz-Cluster hinter Health-Checks, Releases gehen als Zero-Downtime-Reload statt als Neustart live, und der aktuelle Servicezustand samt Vorfallverlauf steht auf status.ecosire.com. Reaktionszusagen bei Störungen stehen in Ihrem Supportvertrag, nicht in einer Marketingzahl.

Bereit zum Bauen?

Holen Sie sich Ihren API-Schlüssel und beginnen Sie in wenigen Minuten mit der Erstellung von Integrationen.