APIドキュメント B2Bインテグレーション
REST APIでTalktikoをお客様のシステムに統合しましょう。コンテンツ管理、進捗追跡、Webhook受信、LMS接続、機関アカウントのプロビジョニング — すべてプログラムで操作可能です。
クイックスタート
APIトークンを作成
管理ダッシュボードの設定 → インテグレーション → APIトークンに移動します。インテグレーションに必要なアビリティを持つ名前付きトークンを作成してください。
リクエストの認証
AuthorizationヘッダーにBearerトークンとしてトークンを含めてください。
レスポンスの処理
すべてのエンドポイントはJSONを返します。ページネーションされたリソースにはdata、links、metaキーが含まれます。
エンドポイントリファレンス
認証
Laravel Sanctum経由でスコープ付きアビリティを持つ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
Webhook
HMAC-SHA256署名付きペイロードでリアルタイムイベント通知を受信。
/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からのシングルサインオンによるコースLaunch。
/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ステートメントとして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
機関(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.
Webhookセキュリティ
すべてのWebhook配信には、Webhookシークレットで署名されたリクエストボディのHMAC-SHA256ハッシュを含むX-Signature-256ヘッダーが含まれます。
ペイロードは失敗時に指数バックオフで最大3回リトライされます
配信ログはAPIおよび管理ダッシュボードで利用可能です
テストpingはイベントのサブスクライブ前にエンドポイントの接続性を確認します