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

Content

Returns a paginated list of content items matching the specified types and optional filters

Returns a paginated list of content items matching the specified types and optional filters.

GEThttps://example.thoughtindustries.com/incoming/v2/content

Example request

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

Parameters

NameTypeRequiredLocationDescription
typesContentSearchType[]YesqueryOne or more content types to include in the search results.
cursorstringNoqueryOpaque cursor string for fetching the next page of results.
perPageintegerNoqueryNumber of content items to return per page.
sortstringNoqueryField name to sort results by.
querystringNoqueryFull-text search string to filter content items by title or description.

Example response

{
  "data": {
    "APIContentSearch": {
      "pageInfo": {
        "perPage": 0,
        "cursor": "string",
        "total": 0,
        "hasMore": true
      },
      "contentItems": [
        {
          "id": "00000000-0000-0000-0000-000000000000",
          "createdAt": "2024-01-01T00:00:00.000Z",
          "updatedAt": "2024-01-01T00:00:00.000Z",
          "expiresAt": "2024-01-01T00:00:00.000Z",
          "courseGroup": "string",
          "title": "string",
          "sessionTitle": "string",
          "ribbon": {
            "label": "string",
            "slug": "example-slug",
            "color": "string",
            "contrastColor": "string",
            "darkerColor": "string"
          },
          "slug": "example-slug",
          "kind": "courseGroup",
          "metaTitle": "string",
          "language": "string",
          "metaDescription": "string",
          "displayCourse": "00000000-0000-0000-0000-000000000000",
          "displayCourseSlug": "example-slug",
          "displayDate": "2024-01-01T00:00:00.000Z",
          "availabilityStatus": "string",
          "asset": "string",
          "assetAltText": "string",
          "freeWithRegistration": true,
          "priceInCents": 0,
          "suggestedRetailPriceInCents": 0,
          "alternativePricingType": "membership",
          "alternativePricingRef": 0,
          "rating": 0,
          "description": "string",
          "sku": "string",
          "hasChildren": true,
          "tags": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "label": "string",
              "isFolder": true,
              "updatedAt": "2024-01-01T00:00:00.000Z",
              "description": "string"
            }
          ],
          "status": "draft",
          "customFields": {},
          "authors": [
            "string"
          ],
          "authorsAndInstructors": [
            "string"
          ],
          "contentTypeLabel": "string",
          "contentTypeAssetAspectRatio": "string",
          "waitlistCount": 0,
          "seatsLimit": 0,
          "enrollmentCount": 0,
          "source": "string",
          "publishDate": "2024-01-01T00:00:00.000Z",
          "courseStartDate": "2024-01-01T00:00:00.000Z",
          "courseEndDate": "2024-01-01T00:00:00.000Z",
          "enrollmentStartDate": "2024-01-01T00:00:00.000Z",
          "enrollmentEndDate": "2024-01-01T00:00:00.000Z",
          "timeZone": "string",
          "meetingStartDate": "2024-01-01T00:00:00.000Z",
          "coursePresold": true,
          "courseGracePeriodEnded": true,
          "currentUserMayReschedule": true,
          "isActive": true,
          "embeddedEnabled": true,
          "altDescriptionBody": "string",
          "hideCourseDescription": true,
          "annotationsEnabled": true,
          "currentUserUnmetCoursePrerequisites": [
            "00000000-0000-0000-0000-000000000000"
          ],
          "currentUserUnmetLearningPathPrerequisites": [
            "00000000-0000-0000-0000-000000000000"
          ],
          "currentUserDueDate": "2024-01-01T00:00:00.000Z",
          "url": "https://example.com/path",
          "waitlistingEnabled": true,
          "waitlistingTriggered": true,
          "canAddToQueue": true,
          "bulkPurchasingEnabled": true,
          "prices": [
            {
              "id": "00000000-0000-0000-0000-000000000000",
              "currencyCode": "string",
              "unitAmount": 0,
              "suggestedRetailUnitAmount": 0,
              "annualUnitAmount": 0,
              "unitsAmount": [
                0
              ],
              "instructorAccessUnitAmount": 0,
              "variations": [
                {
                  "...": "..."
                }
              ],
              "locale": "string",
              "isDefault": true,
              "alternativePricingRef": 0,
              "alternativePricingType": "membership",
              "bulkPurchasingEnabled": true,
              "seatTiers": [
                {
                  "...": "..."
                }
              ],
              "seatPackages": [
                {
                  "...": "..."
                }
              ],
              "lastTierPriceUnitAmount": 0,
              "bulkPurchaseTiers": [
                {
                  "...": "..."
                }
              ]
            }
          ],
          "location": {
            "id": "00000000-0000-0000-0000-000000000000",
            "name": "string",
            "room": "string",
            "address1": "string",
            "address2": "string",
            "city": "string",
            "state": "string",
            "zipCode": "string",
            "country": "string",
            "timeZone": "string"
          },
          "state": "string",
          "acceptBadgeUrl": "string",
          "issuedAt": "2024-01-01T00:00:00.000Z",
          "badgeUrl": "string",
          "credlyBadgeExpiresAt": "2024-01-01T00:00:00.000Z",
          "imageUrl": "string",
          "badgeName": "string",
          "completedPassedDueDate": true
        }
      ]
    }
  }
}

Response fields

FieldTypeDescription
pageInfoCursorPageInfoPagination metadata for the current result set.
pageInfo.perPageintegerNumber of items returned per page.
pageInfo.cursorstringOpaque cursor to pass in the next request to retrieve the following page.
pageInfo.totalintegerTotal number of content items matching the query.
pageInfo.hasMorebooleanIndicates whether additional pages of results are available.
contentItemsContent[]Array of content items matching the search criteria.
contentItems.iduuidUnique identifier of the content item.
contentItems.createdAtISO 8601 timestampDate and time the content item was created.
contentItems.updatedAtISO 8601 timestampDate and time the content item was last modified.
contentItems.expiresAtISO 8601 timestampDate and time after which access to the content item expires.
contentItems.courseGroupstringIdentifier of the course group this item belongs to.
contentItems.titlestringDisplay title of the content item.
contentItems.sessionTitlestringTitle of the specific session, if the content item represents a scheduled session.
contentItems.ribbonRibbonRibbon badge displayed on the content item's card, including label and color values.
contentItems.slugstringURL-friendly identifier for the content item.
contentItems.kindContentKindContent type category, such as courseGroup or another supported kind.
contentItems.metaTitlestringSEO meta title for the content item's page.
contentItems.languagestringBCP 47 language code indicating the content item's primary language.
contentItems.metaDescriptionstringSEO meta description for the content item's page.
contentItems.displayCourseuuidUnique identifier of the course used for display purposes.
contentItems.displayCourseSlugstringURL slug of the course used for display purposes.
contentItems.displayDateISO 8601 timestampDate shown to learners as the content item's featured or release date.
contentItems.availabilityStatusstringHuman-readable string describing the content item's current availability.
contentItems.assetstringURL or identifier of the content item's primary thumbnail or cover image asset.
contentItems.assetAltTextstringAccessible alt text for the content item's primary image asset.
contentItems.freeWithRegistrationbooleanIndicates whether the content item is available at no cost upon registration.
contentItems.priceInCentsintegerList price of the content item in cents (e.g., 1000 = $10.00).
contentItems.suggestedRetailPriceInCentsintegerSuggested retail price of the content item in cents.
contentItems.alternativePricingTypeAlternativePricingTypeType of alternative pricing applied, such as membership.
contentItems.alternativePricingRefintegerReference identifier for the associated alternative pricing plan.
contentItems.ratingintegerAggregate learner rating for the content item.
contentItems.descriptionstringFull text description of the content item.
contentItems.skustringStock-keeping unit identifier used for catalog or integration purposes.
contentItems.hasChildrenbooleanIndicates whether the content item contains child content items.
contentItems.tagsTag[]Array of tags associated with the content item for categorization and filtering.
contentItems.statusStatusPublication status of the content item, such as draft or published.
contentItems.customFieldsobjectKey-value map of custom metadata fields defined for the content item.
contentItems.authorsstring[]List of author names credited on the content item.
contentItems.authorsAndInstructorsstring[]Combined list of author and instructor names associated with the content item.
contentItems.contentTypeLabelstringHuman-readable label for the content item's type, shown in the UI.
contentItems.contentTypeAssetAspectRatiostringExpected aspect ratio of the content type's thumbnail asset (e.g., 16:9).
contentItems.waitlistCountintegerNumber of learners currently on the waitlist for the content item.
contentItems.seatsLimitintegerMaximum number of enrollments allowed for the content item.
contentItems.enrollmentCountintegerTotal number of active enrollments for the content item.
contentItems.sourcestringOrigin or integration source identifier for the content item.
contentItems.publishDateISO 8601 timestampDate and time the content item was or is scheduled to be published.
contentItems.courseStartDateISO 8601 timestampDate and time the course officially begins.
contentItems.courseEndDateISO 8601 timestampDate and time the course officially ends.
contentItems.enrollmentStartDateISO 8601 timestampDate and time enrollment opens for the content item.
contentItems.enrollmentEndDateISO 8601 timestampDate and time enrollment closes for the content item.
contentItems.timeZonestringIANA time zone identifier used for all schedule dates on this content item.
contentItems.meetingStartDateISO 8601 timestampDate and time of the first scheduled meeting for the content item.
contentItems.coursePresoldbooleanIndicates whether the course is available for purchase before it officially starts.
contentItems.courseGracePeriodEndedbooleanIndicates whether the post-course access grace period has elapsed.
contentItems.currentUserMayReschedulebooleanIndicates whether the authenticated user is permitted to reschedule their enrollment.
contentItems.isActivebooleanIndicates whether the content item is currently active and accessible.
contentItems.embeddedEnabledbooleanIndicates whether the content item can be embedded in external pages.
contentItems.altDescriptionBodystringAlternate description body used in place of the primary description in certain display contexts.
contentItems.hideCourseDescriptionbooleanIndicates whether the course description is hidden from learners on the detail page.
contentItems.annotationsEnabledbooleanIndicates whether learners can add annotations within the content item.
contentItems.currentUserUnmetCoursePrerequisitesuuid[]IDs of course prerequisites the authenticated user has not yet completed.
contentItems.currentUserUnmetLearningPathPrerequisitesuuid[]IDs of learning path prerequisites the authenticated user has not yet completed.
contentItems.currentUserDueDateISO 8601 timestampDate by which the authenticated user must complete the content item.
contentItems.urlstringAbsolute URL to the content item's detail page.
contentItems.waitlistingEnabledbooleanIndicates whether waitlisting is enabled for the content item.
contentItems.waitlistingTriggeredbooleanIndicates whether the waitlist has been activated due to the enrollment limit being reached.
contentItems.canAddToQueuebooleanIndicates whether the authenticated user can add the content item to their learning queue.
contentItems.bulkPurchasingEnabledbooleanIndicates whether bulk seat purchasing is enabled for the content item.
contentItems.pricesItemPrice[]Array of pricing objects available for the content item, including currency and tier details.
contentItems.locationLocationPhysical location details for in-person or blended content items.
contentItems.statestringCurrent workflow or lifecycle state of the content item.
contentItems.acceptBadgeUrlstringURL the learner visits to claim or accept the awarded badge.
contentItems.issuedAtISO 8601 timestampDate and time the badge was issued to the learner.
contentItems.badgeUrlstringURL of the badge image awarded upon completion.
`contentItems.credlyBadgeExpiresAt