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

Topics

Returns a single topic by its unique identifier

Returns a single topic by its unique identifier.

GEThttps://example.thoughtindustries.com/incoming/v2/topics/:id

Example request

curl "https://example.thoughtindustries.com/incoming/v2/topics/:id" \
  -H 'Authorization: Bearer YOUR_API_KEY'

Parameters

NameTypeRequiredLocationDescription
iduuidYespathThe unique identifier of the topic to retrieve.

Example response

{
  "data": {
    "APITopicById": {
      "id": "00000000-0000-0000-0000-000000000000",
      "originalId": "00000000-0000-0000-0000-000000000000",
      "title": "string",
      "type": "ad",
      "quizQuestions": [
        "00000000-0000-0000-0000-000000000000"
      ],
      "preTextBlock": "string",
      "postTextBlock": "string",
      "updatedAt": "2024-01-01T00:00:00.000Z",
      "resultsMessage": "string",
      "passMessage": "string",
      "failMessage": "string",
      "navigationDisabled": true,
      "instructorAssessment": true,
      "questionSkipEnabled": true,
      "isProctored": true,
      "allowToResume": true,
      "assetType": "string"
    }
  }
}

Response fields

FieldTypeDescription
iduuidUnique identifier of the topic.
originalIduuidIdentifier of the original topic this record was derived from, such as after a copy or import.
titlestringDisplay title of the topic.
typeTopicTypeThe topic's content type (e.g., ad, quiz, video).
quizQuestionsuuid[]Ordered list of question IDs associated with this topic.
preTextBlockstringHTML or plain-text content displayed to the learner before the topic begins.
postTextBlockstringHTML or plain-text content displayed to the learner after the topic ends.
updatedAtISO 8601 timestampDate and time the topic was last modified, in ISO 8601 format.
resultsMessagestringMessage shown to the learner on the results screen after completing the topic.
passMessagestringMessage shown to the learner when they pass the topic.
failMessagestringMessage shown to the learner when they fail the topic.
navigationDisabledbooleanWhen true, learners cannot skip ahead or navigate freely within the topic.
instructorAssessmentbooleanWhen true, the topic requires manual grading by an instructor.
questionSkipEnabledbooleanWhen true, learners may skip individual questions within the topic.
isProctoredbooleanWhen true, the topic is delivered under proctored exam conditions.
allowToResumebooleanWhen true, learners can exit and resume the topic from where they left off.
assetTypestringThe MIME type or asset category of the topic's primary content file.