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.

Thinkific CLI Setup

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

Install, configure, and verify
# 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 reuse the same stored profile from scripts, coding CLIs, Lua, and MCP.

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

Command Patterns

The generic command is stable across every integration. The provider shortcut is shorter for humans.

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

Discovery

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

Discovery commands
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

Automation Contexts

The same configured command surface works in these environments. The command does not change unless the host wrapper, credentials, or permissions change.

CLI Functions

Every function below can be called headlessly. Commands are highlighted, copyable, and scroll horizontally when payloads are long.

thinkific.thinkific_list_courses

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

Read read
Parameters
limit, page, query
Generic call
kosmo integrations:call thinkific.thinkific_list_courses '{"limit":1,"page":1,"query":"example_query"}' --json
Shortcut
kosmo integrations:thinkific thinkific_list_courses '{"limit":1,"page":1,"query":"example_query"}' --json

thinkific.thinkific_get_course

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

Read read
Parameters
id
Generic call
kosmo integrations:call thinkific.thinkific_get_course '{"id":1}' --json
Shortcut
kosmo integrations:thinkific thinkific_get_course '{"id":1}' --json

thinkific.thinkific_create_course

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

Write write
Parameters
name, description, course_card_subtitle
Generic call
kosmo integrations:call thinkific.thinkific_create_course '{"name":"example_name","description":"example_description","course_card_subtitle":"example_course_card_subtitle"}' --json
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

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.

Read read
Parameters
limit, page, course_id, user_id
Generic call
kosmo integrations:call thinkific.thinkific_list_enrollments '{"limit":1,"page":1,"course_id":1,"user_id":1}' --json
Shortcut
kosmo integrations:thinkific thinkific_list_enrollments '{"limit":1,"page":1,"course_id":1,"user_id":1}' --json

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.

Read read
Parameters
id
Generic call
kosmo integrations:call thinkific.thinkific_get_enrollment '{"id":1}' --json
Shortcut
kosmo integrations:thinkific thinkific_get_enrollment '{"id":1}' --json

thinkific.thinkific_list_users

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

Read read
Parameters
limit, page, query
Generic call
kosmo integrations:call thinkific.thinkific_list_users '{"limit":1,"page":1,"query":"example_query"}' --json
Shortcut
kosmo integrations:thinkific thinkific_list_users '{"limit":1,"page":1,"query":"example_query"}' --json

thinkific.thinkific_get_current_user

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

Read read
Parameters
none
Generic call
kosmo integrations:call thinkific.thinkific_get_current_user '{}' --json
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 3 parameters
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 1 parameters
Schema command
kosmo integrations:schema thinkific.thinkific_get_course --json
ParameterTypeRequiredDescription
id integer yes The Thinkific course ID.
thinkific.thinkific_create_course 3 parameters
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 4 parameters
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 1 parameters
Schema command
kosmo integrations:schema thinkific.thinkific_get_enrollment --json
ParameterTypeRequiredDescription
id integer yes The Thinkific enrollment ID.
thinkific.thinkific_list_users 3 parameters
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 0 parameters
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.