Zum Hauptinhalt springen
Unlock your potential with 20% off all Premium Courses. Claim offer
REST API

API-Dokumentation für B2B-Integrationen

Integrieren Sie Talktiko in Ihre Systeme mit unserer REST API. Verwalten Sie Inhalte, verfolgen Sie Fortschritte, empfangen Sie Webhooks, verbinden Sie Ihr LMS und provisionieren Sie institutionelle Konten — alles programmatisch.

Schnellstart

1

API-Token erstellen

Navigieren Sie zu Einstellungen → Integrationen → API Tokens im Admin-Dashboard. Erstellen Sie einen benannten Token mit den Berechtigungen, die Ihre Integration benötigt.

# Token wird nur einmal bei der Erstellung angezeigt — sicher kopieren und aufbewahren
curl -X POST https://api.talktiko.com/api/auth/sign-in \
-H "Content-Type: application/json" \
-d '{"email":"…","password":"…"}'
2

Anfragen authentifizieren

Fügen Sie den Token als Bearer Token im Authorization-Header ein.

curl -H "Authorization: Bearer YOUR_TOKEN" \
-H "Accept: application/json" \
https://api.talktiko.com/api/courses
3

Antworten verarbeiten

Alle Endpunkte liefern JSON zurück. Paginierte Ressourcen enthalten data-, links- und meta-Schlüssel.

{
"data": [...],
"links": { "next": "...?page=2" },
"meta": { "total": 42, "per_page": 15 }
}

Endpunkt-Referenz

Authentifizierung

Verwalten Sie API-Tokens mit eingeschränkten Berechtigungen über Laravel Sanctum.

POST
/api/auth/sign-in

Authenticate and receive a bearer token

GET
/api/auth/me

Get the authenticated user profile

GET
/api/integrations/tokens

List all API tokens

POST
/api/integrations/tokens

Create a scoped API token with named abilities

DELETE
/api/integrations/tokens/{token}

Revoke an API token

Kurse & Inhalte

Durchsuchen und verwalten Sie Kurse, Lektionen, Trainings und Trainingseinheiten.

GET
/api/public/courses

List all published courses (no auth required)

GET
/api/public/courses/{slug}

Get course details by slug (no auth required)

GET
/api/courses

List courses with filtering and pagination

GET
/api/courses/{id}

Get full course details

GET
/api/lessons

List lessons with optional course filter

GET
/api/trainings

List training blocks

GET
/api/trainingItems

List training items with type filtering

Lernfortschritt

Verfolgen Sie Lernaktivitäten, Abschlüsse und CEFR-Fortschritte.

GET
/api/stats

Platform-wide statistics

GET
/api/courses/{course}/lesson-progress

Per-lesson progress for a course

GET
/api/progress-history

Historical progress data

GET
/api/cefr/report

CEFR skill-level report for authenticated user

GET
/api/learning-insights

Personalized learning analytics

GET
/api/gamification/stats

Streaks, XP, and achievement data

GET
/api/gamification/leaderboard

Platform leaderboard

Webhooks

Empfangen Sie Echtzeit-Ereignisbenachrichtigungen mit HMAC-SHA256-signierten Payloads.

GET
/api/integrations/webhooks

List configured webhooks

POST
/api/integrations/webhooks

Create a webhook with event subscriptions

PUT
/api/integrations/webhooks/{id}

Update webhook URL or events

DELETE
/api/integrations/webhooks/{id}

Delete a webhook

POST
/api/integrations/webhooks/{id}/test

Send a test ping

GET
/api/integrations/webhooks/{id}/deliveries

View delivery history and status

Datenexporte

Erstellen und laden Sie CSV-Exporte asynchron herunter.

GET
/api/integrations/exports

List export jobs and their status

POST
/api/integrations/exports

Request a new data export (learner progress, completions, activity)

GET
/api/integrations/exports/{id}

Check export status

GET
/api/integrations/exports/{id}/download

Download completed CSV export

LTI 1.3 (LMS-Integration)

Single Sign-On Kursstarts aus Canvas, Blackboard und Moodle.

GET
/api/integrations/lti-consumers

List LTI consumer registrations

POST
/api/integrations/lti-consumers

Register an LTI consumer

GET
/api/lti/login

OIDC login initiation endpoint

POST
/api/lti/callback

LTI launch callback

POST
/api/lti/grade-passback/{launch}

Push grade back to LMS

xAPI-Weiterleitung

Leiten Sie Lernaktivitäten als xAPI-Aussagen an Ihren Learning Record Store weiter.

GET
/api/integrations/xapi-endpoints

List xAPI endpoint configurations

POST
/api/integrations/xapi-endpoints

Register an xAPI LRS endpoint

PUT
/api/integrations/xapi-endpoints/{id}

Update endpoint credentials

DELETE
/api/integrations/xapi-endpoints/{id}

Remove an xAPI endpoint

Institutionen (B2B)

Verwalten Sie institutionelle Konten, Mitglieder, Abrechnung, SSO und Analysen.

GET
/api/institutions

List institutions

POST
/api/institutions

Create an institution

GET
/api/institutions/{id}/members

List institution members

POST
/api/institutions/{id}/members/bulk

Bulk provision members via CSV

GET
/api/institutions/{id}/analytics

White-label analytics dashboard data

GET
/api/institutions/{id}/sso

SSO configuration (SAML/OIDC)

PUT
/api/institutions/{id}/sso

Update SSO settings

GET
/api/institutions/{id}/compliance

Compliance documentation status

Billing & Subscriptions

Manage checkout sessions, subscriptions, and billing portal.

GET
/api/subscription-plans

List available subscription plans

POST
/api/billing/checkout-session

Create a Stripe checkout session

POST
/api/billing/portal-session

Create a billing portal session

POST
/api/billing/apply-promo

Validate and apply a promo code

GET
/api/trial/status

Check free trial status

Rate Limiting

API requests are rate-limited per token to ensure fair usage and platform stability.

Exceeded requests return HTTP 429 with a Retry-After header.

Free
100
requests / min
Pro
1,000
requests / min
Enterprise
Custom
requests / min

Webhook-Sicherheit

Jede Webhook-Zustellung enthält einen X-Signature-256-Header mit einem HMAC-SHA256-Hash des Anfragekörpers, signiert mit Ihrem Webhook-Geheimnis.

# In Ihrem Webhook-Handler verifizieren
$signature = hash_hmac('sha256', $requestBody, $webhookSecret);
$isValid = hash_equals($signature, $headerSignature);

Payloads werden bei Fehlern bis zu 3 Mal mit exponentiellem Backoff wiederholt

Zustellungsprotokolle sind über die API und im Admin-Dashboard verfügbar

Test-Pings überprüfen die Endpunkt-Konnektivität vor dem Abonnieren von Ereignissen

Bereit zur Integration?

Erstellen Sie ein Konto, generieren Sie einen API-Token und beginnen Sie in Minuten mit dem Aufbau Ihrer Integration. Enterprise-Pläne beinhalten dedizierten Integrationssupport.