Skip to main content
https://.thoughtindustries.com

Clients

Creates a new client with the specified configuration, including feature flags, language settings, and branding options. Returns the full client object upon success

Creates a new client with the specified configuration, including feature flags, language settings, and branding options. Returns the full client object upon success.

POSThttps://example.thoughtindustries.com/incoming/v2/clients

Example request

curl -X POST "https://example.thoughtindustries.com/incoming/v2/clients" \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "name": "string",
  "slug": "string",
  "enableSegmentation": true,
  "enableDiscussions": true
}'

Parameters

NameTypeRequiredLocationDescription
namestringYesbodyDisplay name for the client.
slugstringYesbodyURL-safe identifier for the client.
enableSegmentationbooleanYesbodyEnables learner segmentation for this client.
enableDiscussionsbooleanNobodyEnables discussion forums across the client's courses.
enableCommunitiesSegmentationbooleanNobodyEnables segmentation within communities features.
enableEcommercebooleanYesbodyEnables e-commerce purchasing for this client.
enableRecommendationAssessmentbooleanNobodyEnables the recommendation assessment feature for this client.
enableBrandingbooleanYesbodyEnables custom branding for this client.
enableOnboardingSurveybooleanYesbodyEnables the onboarding survey presented to new learners.
enableGlobalLinksbooleanYesbodyEnables global navigation links in the client interface.
enableNavLinksbooleanYesbodyEnables the navigation link bar in the client interface.
enableContentDetailPagebooleanNobodyEnables dedicated detail pages for content items.
enableLicenseDashboardsbooleanNobodyEnables license-specific dashboard views.
enableCreditPurchasingbooleanNobodyEnables learners to purchase credits within this client.
defaultLanguagestringNobodyDefault language for the client interface as a BCP 47 language tag (e.g., en).
languageSelectorEnabledbooleanNobodyEnables the language selector in the client interface.
autoFilterForSelectedLanguagebooleanNobodyAutomatically filters catalog content to match the learner's selected language.
languagesstring[]YesbodyList of BCP 47 language tags supported by this client (e.g., ["en", "fr"]).

Example response

{
  "id": "00000000-0000-0000-0000-000000000000",
  "name": "string",
  "slug": "string",
  "enableSegmentation": true,
  "enableDiscussions": true,
  "enableCommunitiesSegmentation": true,
  "enableEcommerce": true,
  "enableBranding": true,
  "enableOnboardingSurvey": true,
  "enableRecommendationAssessment": true,
  "enableNavLinks": true,
  "enableContentDetailPage": true,
  "enableLicenseDashboards": true,
  "defaultLanguage": "string",
  "languageSelectorEnabled": true,
  "languages": [
    "string"
  ],
  "autoFilterForSelectedLanguage": true,
  "enableCreditPurchasing": true,
  "startingBalance": 0,
  "currentBalance": 0
}

Response fields

FieldTypeDescription
iduuidIdentifier of the created client.
namestringName of the client.
slugstringURL slug of the client.
enableSegmentationbooleanWhether segmentation is enabled.
enableDiscussionsbooleanWhether discussions are enabled.
enableCommunitiesSegmentationbooleanWhether communities segmentation is enabled.
enableEcommercebooleanWhether ecommerce is enabled.
enableBrandingbooleanWhether custom branding is enabled.
enableOnboardingSurveybooleanWhether the onboarding survey is enabled.
enableRecommendationAssessmentbooleanWhether the recommendation assessment is enabled.
enableNavLinksbooleanWhether navigation links are enabled.
enableContentDetailPagebooleanWhether the content detail page is enabled.
enableLicenseDashboardsbooleanWhether license dashboards are enabled.
defaultLanguagestringDefault language for the client.
languageSelectorEnabledbooleanWhether the language selector is enabled.
languagesstring[]Languages configured for the client.
autoFilterForSelectedLanguagebooleanWhether content auto-filters by selected language.
enableCreditPurchasingbooleanWhether credit purchasing is enabled.
startingBalancenumberStarting credit balance.
currentBalancenumberCurrent credit balance.