KosmoKrator

productivity

Thinkific CLI for AI Agents

Use the Thinkific CLI from KosmoKrator to call Thinkific tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.

7 functions 6 read 1 write API key auth

Thinkific CLI Setup

Thinkific can be configured headlessly with `kosmokrator integrations:configure thinkific`.

# Install KosmoKrator first if it is not available on PATH.
curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash

# Configure and verify this integration.
kosmokrator integrations:configure thinkific --set api_key="$THINKIFIC_API_KEY" --enable --read allow --write ask --json
kosmokrator integrations:doctor thinkific --json
kosmokrator integrations:status --json

Credentials

Authentication type: API key api_key. Configure credentials once, then use the same stored profile from scripts, coding CLIs, Lua code mode, and the MCP gateway.

KeyEnv varTypeRequiredLabel
api_key THINKIFIC_API_KEY Secret secret yes API Key
subdomain THINKIFIC_SUBDOMAIN Text text no Subdomain
url THINKIFIC_URL URL url no API Base URL

Call Thinkific Headlessly

Use the generic call form when another coding CLI or script needs a stable universal interface.

kosmo integrations:call thinkific.thinkific_list_courses '{
  "limit": 1,
  "page": 1,
  "query": "example_query"
}' --json

Use the provider shortcut form for shorter human-facing commands.

kosmo integrations:thinkific thinkific_list_courses '{
  "limit": 1,
  "page": 1,
  "query": "example_query"
}' --json

Agent Discovery Commands

These commands return structured output for coding agents that need to inspect capabilities before choosing a function.

kosmo integrations:docs thinkific --json
kosmo integrations:docs thinkific.thinkific_list_courses --json
kosmo integrations:schema thinkific.thinkific_list_courses --json
kosmo integrations:search "Thinkific" --json
kosmo integrations:list --json

All CLI Functions

Every function below can be called headlessly. The generic form is stable across all integrations; the provider shortcut is shorter but specific to Thinkific.

thinkific.thinkific_list_courses

Read read

List courses in your Thinkific site. Returns course IDs, names, descriptions, and status. Supports pagination and search.

Parameters
limit, page, query

Generic CLI call

kosmo integrations:call thinkific.thinkific_list_courses '{"limit":1,"page":1,"query":"example_query"}' --json

Provider shortcut

kosmo integrations:thinkific thinkific_list_courses '{"limit":1,"page":1,"query":"example_query"}' --json

thinkific.thinkific_get_course

Read read

Get detailed information about a specific Thinkific course by its ID, including chapters, description, and pricing.

Parameters
id

Generic CLI call

kosmo integrations:call thinkific.thinkific_get_course '{"id":1}' --json

Provider shortcut

kosmo integrations:thinkific thinkific_get_course '{"id":1}' --json

thinkific.thinkific_create_course

Write write

Create a new course in Thinkific. Requires a course name. Optionally include a description and additional course settings.

Parameters
name, description, course_card_subtitle

Generic CLI call

kosmo integrations:call thinkific.thinkific_create_course '{"name":"example_name","description":"example_description","course_card_subtitle":"example_course_card_subtitle"}' --json

Provider shortcut

kosmo integrations:thinkific thinkific_create_course '{"name":"example_name","description":"example_description","course_card_subtitle":"example_course_card_subtitle"}' --json

thinkific.thinkific_list_enrollments

Read read

List enrollments in your Thinkific site. Returns enrollment IDs, user info, course details, progress, and completion status. Supports pagination and filtering by course or user.

Parameters
limit, page, course_id, user_id

Generic CLI call

kosmo integrations:call thinkific.thinkific_list_enrollments '{"limit":1,"page":1,"course_id":1,"user_id":1}' --json

Provider shortcut

kosmo integrations:thinkific thinkific_list_enrollments '{"limit":1,"page":1,"course_id":1,"user_id":1}' --json

thinkific.thinkific_get_enrollment

Read read

Get detailed information about a specific Thinkific enrollment by its ID, including progress percentage, completion status, and associated course and user details.

Parameters
id

Generic CLI call

kosmo integrations:call thinkific.thinkific_get_enrollment '{"id":1}' --json

Provider shortcut

kosmo integrations:thinkific thinkific_get_enrollment '{"id":1}' --json

thinkific.thinkific_list_users

Read read

List users in your Thinkific site. Returns user IDs, names, emails, and status. Supports pagination and search.

Parameters
limit, page, query

Generic CLI call

kosmo integrations:call thinkific.thinkific_list_users '{"limit":1,"page":1,"query":"example_query"}' --json

Provider shortcut

kosmo integrations:thinkific thinkific_list_users '{"limit":1,"page":1,"query":"example_query"}' --json

thinkific.thinkific_get_current_user

Read read

Get the profile of the currently authenticated Thinkific user. Useful for verifying API credentials and identifying the connected account.

Parameters
none

Generic CLI call

kosmo integrations:call thinkific.thinkific_get_current_user '{}' --json

Provider shortcut

kosmo integrations:thinkific thinkific_get_current_user '{}' --json

Function Schemas

Use these parameter tables when building CLI payloads without calling integrations:schema first.

thinkific.thinkific_list_courses

List courses in your Thinkific site. Returns course IDs, names, descriptions, and status. Supports pagination and search.

Operation
Read read
Schema command
kosmo integrations:schema thinkific.thinkific_list_courses --json
ParameterTypeRequiredDescription
limit integer no Number of courses to return per page (default: 25, max: 250).
page integer no Page number for pagination (default: 1).
query string no Search term to filter courses by name.

thinkific.thinkific_get_course

Get detailed information about a specific Thinkific course by its ID, including chapters, description, and pricing.

Operation
Read read
Schema command
kosmo integrations:schema thinkific.thinkific_get_course --json
ParameterTypeRequiredDescription
id integer yes The Thinkific course ID.

thinkific.thinkific_create_course

Create a new course in Thinkific. Requires a course name. Optionally include a description and additional course settings.

Operation
Write write
Schema command
kosmo integrations:schema thinkific.thinkific_create_course --json
ParameterTypeRequiredDescription
name string yes The course name.
description string no The course description.
course_card_subtitle string no Subtitle shown on the course card.

thinkific.thinkific_list_enrollments

List enrollments in your Thinkific site. Returns enrollment IDs, user info, course details, progress, and completion status. Supports pagination and filtering by course or user.

Operation
Read read
Schema command
kosmo integrations:schema thinkific.thinkific_list_enrollments --json
ParameterTypeRequiredDescription
limit integer no Number of enrollments to return per page (default: 25, max: 250).
page integer no Page number for pagination (default: 1).
course_id integer no Filter enrollments by course ID.
user_id integer no Filter enrollments by user ID.

thinkific.thinkific_get_enrollment

Get detailed information about a specific Thinkific enrollment by its ID, including progress percentage, completion status, and associated course and user details.

Operation
Read read
Schema command
kosmo integrations:schema thinkific.thinkific_get_enrollment --json
ParameterTypeRequiredDescription
id integer yes The Thinkific enrollment ID.

thinkific.thinkific_list_users

List users in your Thinkific site. Returns user IDs, names, emails, and status. Supports pagination and search.

Operation
Read read
Schema command
kosmo integrations:schema thinkific.thinkific_list_users --json
ParameterTypeRequiredDescription
limit integer no Number of users to return per page (default: 25, max: 250).
page integer no Page number for pagination (default: 1).
query string no Search term to filter users by name or email.

thinkific.thinkific_get_current_user

Get the profile of the currently authenticated Thinkific user. Useful for verifying API credentials and identifying the connected account.

Operation
Read read
Schema command
kosmo integrations:schema thinkific.thinkific_get_current_user --json
ParameterTypeRequiredDescription
No parameters.

Permissions

Headless calls still follow the integration read/write permission policy. Configure read/write defaults with integrations:configure. Add --force only for trusted automation that should bypass that policy.