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

Bulk Import Webinar

Bulk-imports webinar sessions from an asset file. Submit the path to a structured import asset, and the API validates each row, returning valid and invalid entries along with a background job that tracks the import's progress

Bulk-imports webinar sessions from an asset file. Submit the path to a structured import asset, and the API validates each row, returning valid and invalid entries along with a background job that tracks the import's progress.

POSThttps://example.thoughtindustries.com/incoming/v2/content/session/webinar/bulk

Example request

curl -X POST "https://example.thoughtindustries.com/incoming/v2/content/session/webinar/bulk" \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "bulkImportAssetPath": "string"
}'

Parameters

NameTypeRequiredLocationDescription
bulkImportAssetPathstringYesbodyThe storage path to the asset file containing the webinar session rows to import.

Example response

{
  "data": {
    "APIBulkWebinarImport": {
      "dryRun": true,
      "validRows": [
        {}
      ],
      "invalidRows": [
        {}
      ],
      "backgroundJob": {
        "id": "00000000-0000-0000-0000-000000000000",
        "type": "string",
        "description": "string",
        "errorMessage": "string",
        "createdAt": "2024-01-01T00:00:00.000Z",
        "repeatable": true,
        "status": "complete"
      }
    }
  }
}

Response fields

FieldTypeDescription
dryRunbooleanIndicates whether the import was executed as a dry run without persisting data.
validRowsobject[]Array of row objects that passed validation and are eligible for import.
invalidRowsobject[]Array of row objects that failed validation and were not imported.
backgroundJobBackgroundJobThe background job created to process the import asynchronously.
backgroundJob.iduuidUnique identifier of the background job.
backgroundJob.typestringThe job type, indicating the category of work being performed.
backgroundJob.descriptionstringHuman-readable description of the background job.
backgroundJob.errorMessagestringError message populated if the background job fails.
backgroundJob.createdAtISO 8601 timestampThe date and time the background job was created, in ISO 8601 format.
backgroundJob.repeatablebooleanIndicates whether the background job is configured to run repeatedly.
backgroundJob.statusBackgroundJobStatusCurrent status of the background job (e.g., complete).