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

Bulk Import

Create bulkImport

Create bulkImport

POSThttps://example.thoughtindustries.com/incoming/v2/users/bulkImport

Example request

curl -X POST "https://example.thoughtindustries.com/incoming/v2/users/bulkImport" \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "url": "string",
  "inviteMessage": "string",
  "bundleIds": "00000000-0000-0000-0000-000000000000",
  "courseIds": "00000000-0000-0000-0000-000000000000"
}'

Parameters

NameTypeRequiredLocationDescription
urlstringYesbodyURL of the CSV file containing the users to import.
inviteMessagestringNobodyCustom message to include in the invitation email sent to imported users.
bundleIdsuuid[]NobodyIDs of the bundles to enroll imported users in.
courseIdsuuid[]NobodyIDs of the courses to enroll imported users in.
learningPathIdsuuid[]NobodyIDs of the learning paths to enroll imported users in.
licenseIdsuuid[]NobodyIDs of the licenses to assign to imported users.
clientIduuidNobodyID of the client portal to associate the imported users with.
rolestringNobodyRole to assign to each imported user within the platform.
dryRunbooleanNobodyWhen true, validates the import without creating or modifying any users.

Example response

{
  "id": "00000000-0000-0000-0000-000000000000",
  "description": "string",
  "errorMessage": "string",
  "status": "string"
}

Response fields

FieldTypeDescription
iduuidIdentifier of the background job processing the import.
descriptionstringHuman-readable description of the job.
errorMessagestringError message if the job failed to start or run.
statusstringCurrent status of the background job.