API-documentatie voor B2B-integraties
Integreer Talktiko in uw systemen met onze REST API. Beheer content, volg voortgang, ontvang webhooks, koppel uw LMS en provisioneer institutionele accounts — allemaal programmatisch.
Snel starten
API-token aanmaken
Ga naar Instellingen → Integraties → API-tokens in het admin-dashboard. Maak een benoemd token aan met de bevoegdheden die uw integratie nodig heeft.
Verzoeken authenticeren
Voeg het token toe als Bearer token in de Authorization-header.
Antwoorden verwerken
Alle endpoints retourneren JSON. Gepagineerde bronnen bevatten data-, links- en meta-sleutels.
Endpoint-referentie
Authenticatie
Beheer API-tokens met beperkte bevoegdheden via Laravel Sanctum.
/api/auth/sign-inAuthenticate and receive a bearer token
/api/auth/meGet the authenticated user profile
/api/integrations/tokensList all API tokens
/api/integrations/tokensCreate a scoped API token with named abilities
/api/integrations/tokens/{token}Revoke an API token
Cursussen en content
Blader door en beheer cursussen, lessen, trainingen en oefeningen.
/api/public/coursesList all published courses (no auth required)
/api/public/courses/{slug}Get course details by slug (no auth required)
/api/coursesList courses with filtering and pagination
/api/courses/{id}Get full course details
/api/lessonsList lessons with optional course filter
/api/trainingsList training blocks
/api/trainingItemsList training items with type filtering
Leervoortgang
Volg leeractiviteit, afronding en CEFR-voortgang.
/api/statsPlatform-wide statistics
/api/courses/{course}/lesson-progressPer-lesson progress for a course
/api/progress-historyHistorical progress data
/api/cefr/reportCEFR skill-level report for authenticated user
/api/learning-insightsPersonalized learning analytics
/api/gamification/statsStreaks, XP, and achievement data
/api/gamification/leaderboardPlatform leaderboard
Webhooks
Ontvang realtime gebeurtenismeldingen met HMAC-SHA256-ondertekende payloads.
/api/integrations/webhooksList configured webhooks
/api/integrations/webhooksCreate a webhook with event subscriptions
/api/integrations/webhooks/{id}Update webhook URL or events
/api/integrations/webhooks/{id}Delete a webhook
/api/integrations/webhooks/{id}/testSend a test ping
/api/integrations/webhooks/{id}/deliveriesView delivery history and status
Data-exports
Genereer en download CSV-exports asynchroon.
/api/integrations/exportsList export jobs and their status
/api/integrations/exportsRequest a new data export (learner progress, completions, activity)
/api/integrations/exports/{id}Check export status
/api/integrations/exports/{id}/downloadDownload completed CSV export
LTI 1.3 (LMS-integratie)
Single Sign-On cursusstart vanuit Canvas, Blackboard en Moodle.
/api/integrations/lti-consumersList LTI consumer registrations
/api/integrations/lti-consumersRegister an LTI consumer
/api/lti/loginOIDC login initiation endpoint
/api/lti/callbackLTI launch callback
/api/lti/grade-passback/{launch}Push grade back to LMS
xAPI-doorsturen
Stuur leeractiviteit als xAPI-statements door naar uw Learning Record Store.
/api/integrations/xapi-endpointsList xAPI endpoint configurations
/api/integrations/xapi-endpointsRegister an xAPI LRS endpoint
/api/integrations/xapi-endpoints/{id}Update endpoint credentials
/api/integrations/xapi-endpoints/{id}Remove an xAPI endpoint
Instellingen (B2B)
Beheer institutionele accounts, leden, facturering, SSO en analyses.
/api/institutionsList institutions
/api/institutionsCreate an institution
/api/institutions/{id}/membersList institution members
/api/institutions/{id}/members/bulkBulk provision members via CSV
/api/institutions/{id}/analyticsWhite-label analytics dashboard data
/api/institutions/{id}/ssoSSO configuration (SAML/OIDC)
/api/institutions/{id}/ssoUpdate SSO settings
/api/institutions/{id}/complianceCompliance documentation status
Billing & Subscriptions
Manage checkout sessions, subscriptions, and billing portal.
/api/subscription-plansList available subscription plans
/api/billing/checkout-sessionCreate a Stripe checkout session
/api/billing/portal-sessionCreate a billing portal session
/api/billing/apply-promoValidate and apply a promo code
/api/trial/statusCheck free trial status
SDKs & Tools
Libraries and tools to accelerate your integration.
JavaScript SDK
@talktiko/jsType-safe client for Node.js and browser environments.
Python SDK
talktiko-pythonFull-featured Python client with async support.
REST Client
Postman / InsomniaImport the OpenAPI JSON into your API client for instant requests and environment setup.
CLI
curl / HTTPieUse the YAML spec and Quick Start examples for terminal-based integrations.
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.
Webhook-beveiliging
Elke webhookbezorging bevat een X-Signature-256-header met een HMAC-SHA256-hash van de verzoekbody, ondertekend met uw webhookgeheim.
Payloads worden bij falen tot 3 keer opnieuw geprobeerd met exponentiële backoff
Bezorgingslogboeken zijn beschikbaar via de API en in het admin-dashboard
Testpings verifiëren endpointconnectiviteit voordat u zich abonneert op gebeurtenissen
Klaar om te integreren?
Maak een account aan, genereer een API-token en begin binnen enkele minuten met het bouwen van uw integratie. Enterprise-plannen bevatten toegewijde integratieondersteuning.