תיעוד API עבור אינטגרציות B2B
שלב את Talktiko במערכות שלך באמצעות REST API. נהל תוכן, עקוב אחר התקדמות, קבל webhooks, התחבר ל-LMS ונהל חשבונות מוסדיים — הכל תוכנתית.
התחלה מהירה
צור טוקן API
נווט להגדרות → אינטגרציות → טוקני API בלוח הניהול. צור טוקן עם ההרשאות שהאינטגרציה שלך צריכה.
אמת בקשות
כלול את הטוקן כ-Bearer token בכותרת Authorization.
טפל בתגובות
כל נקודות הקצה מחזירות JSON. משאבים מדופדפים כוללים מפתחות data, links ו-meta.
מפרט נקודות קצה
אימות
נהל טוקני API עם הרשאות מוגדרות.
/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
קורסים ותוכן
עיין ונהל קורסים, שיעורים, אימונים ופריטי אימון.
/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
התקדמות לומדים
עקוב אחר פעילות, השלמות והתקדמות CEFR.
/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
קבל התראות אירועים בזמן אמת עם מטענים חתומים.
/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
ייצוא נתונים
צור והורד ייצואי CSV באופן אסינכרוני.
/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)
כניסה יחידה מ-Canvas, Blackboard ו-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
העבר פעילות למידה כהצהרות xAPI ל-LRS שלך.
/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
מוסדות (B2B)
נהל חשבונות מוסדיים, חברים, חיוב, SSO וניתוח.
/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.
אבטחת Webhooks
כל משלוח webhook כולל כותרת X-Signature-256 עם hash HMAC-SHA256 של גוף הבקשה חתום עם הסוד שלך.
מטענים נשלחים שוב עד 3 פעמים עם backoff מעריכי בכישלון
יומני משלוח זמינים דרך API ובלוח הניהול
פינגים בדיקתיים מאמתים קישוריות לפני הרשמה לאירועים
מוכן לשלב?
צור חשבון, צור טוקן API והתחל לבנות את האינטגרציה שלך תוך דקות. תוכניות Enterprise כוללות תמיכת אינטגרציה ייעודית.