API Documentation for B2B Integrations
Integrate Talktiko into your systems with our REST API. Manage content, track progress, receive webhooks, connect to your LMS, and provision institutional accounts — all programmatically.
Quick Start
Create an API Token
Navigate to Settings → Integrations → API Tokens in the admin dashboard. Create a named token with the abilities your integration needs.
Authenticate Requests
Include the token as a Bearer token in the Authorization header.
Handle Responses
All endpoints return JSON. Paginated resources include data, links, and meta keys.
Endpoint Reference
Authentication
Manage API tokens with scoped abilities 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
Courses & Content
Browse and manage courses, lessons, trainings, and training items.
/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
Learner Progress
Track learner activity, completion, and CEFR progress.
/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
Receive real-time event notifications with HMAC-SHA256 signed 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
Generate and download CSV exports asynchronously.
/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 Integration)
Single sign-on course launches from Canvas, Blackboard, and 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 Forwarding
Forward learning activity as xAPI statements to your 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
Institutions (B2B)
Manage institutional accounts, members, billing, SSO, and analytics.
/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 Security
Every webhook delivery includes an X-Signature-256 header containing an HMAC-SHA256 hash of the request body signed with your webhook secret.
Payloads are retried up to 3 times with exponential backoff on failure
Delivery logs are available via API and in the admin dashboard
Test pings verify endpoint connectivity before subscribing to events
Ready to integrate?
Create an account, generate an API token, and start building your integration in minutes. Enterprise plans include dedicated integration support.