REST-API (Add-on)¶

Die Entwickler-API ist ein zubuchbares Add-on (9,90 €/Monat) und gibt programmatischen Zugriff auf Firmen, Leads, Kontakte und Deals — inklusive Anreicherung und Firmensuche.
Buchen & Schlüssel¶
- Menü Entwickler-API (oder Preise-Seite) → „Buchen" → Stripe-Checkout.
- Nach der Buchung erscheinen die Reiter API-Schlüssel und Dokumentation.
- Unter API-Schlüssel erstellen Sie einen Schlüssel (
wt_live_…). Er wird nur einmal angezeigt — sofort kopieren. Schlüssel lassen sich jederzeit widerrufen.
Authentifizierung¶
Jede Anfrage trägt den Schlüssel im Header:
Authorization: Bearer wt_live_…
Basis-URL: https://app.wolfstrail-crm.de/functions/v1/api
Jeder Schlüssel ist an genau einen Workspace gebunden. Limit: 10.000 Anfragen/Tag.
Ressourcen¶
companies, leads, contacts, deals — jeweils:
| Methode | Pfad | Zweck |
|---|---|---|
GET |
/{ressource} |
auflisten (?limit, ?offset, ?q) |
GET |
/{ressource}/{id} |
einzeln abrufen |
POST |
/{ressource} |
anlegen |
PATCH |
/{ressource}/{id} |
ändern |
DELETE |
/{ressource}/{id} |
löschen |
Aktionen¶
| Methode | Pfad | Zweck |
|---|---|---|
POST |
/enrich |
Firma/Lead anreichern — Body { "company_id": "…" } oder { "lead_id": "…" } |
POST |
/search |
Firmensuche — Body { "industry", "city", "radius", "maxResults", "nationwide" } |
GET |
/openapi.json |
vollständige OpenAPI-3.0-Spezifikation |
Beispiele¶
# Firmen auflisten
curl -H "Authorization: Bearer wt_live_…" \
"https://app.wolfstrail-crm.de/functions/v1/api/companies?limit=20"
# Lead anlegen
curl -X POST -H "Authorization: Bearer wt_live_…" -H "content-type: application/json" \
-d '{"company_name":"Muster GmbH","phone":"0211 12345"}' \
"https://app.wolfstrail-crm.de/functions/v1/api/leads"
# Firma anreichern
curl -X POST -H "Authorization: Bearer wt_live_…" -H "content-type: application/json" \
-d '{"company_id":"…"}' \
"https://app.wolfstrail-crm.de/functions/v1/api/enrich"
Interaktive Doku¶
Im Reiter Dokumentation ist die vollständige OpenAPI-Spezifikation interaktiv eingebunden (Redoc). Die Spec liegt zusätzlich unter /openapi.json zum Download.