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

Licenses

Returns a single license by its unique identifier, including full details about the associated client, courses, learning paths, appearance settings, and license hierarchy

Returns a single license by its unique identifier, including full details about the associated client, courses, learning paths, appearance settings, and license hierarchy.

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

Example request

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

Parameters

NameTypeRequiredLocationDescription
iduuidYespathUnique identifier of the license to retrieve.

Example response

{
  "id": "00000000-0000-0000-0000-000000000000",
  "name": "string",
  "label": "string",
  "sku": "string",
  "createdAt": "2024-01-01T00:00:00.000Z",
  "updatedAt": "2024-01-01T00:00:00.000Z",
  "expirationDate": "2024-01-01T00:00:00.000Z",
  "accessDays": 0,
  "isDefault": true,
  "seatsLimit": 0,
  "enableBranding": true,
  "learningPathIds": [
    "00000000-0000-0000-0000-000000000000"
  ],
  "courseIds": [
    "00000000-0000-0000-0000-000000000000"
  ],
  "courseTags": [
    {
      "id": "00000000-0000-0000-0000-000000000000",
      "label": "string"
    }
  ],
  "parentLicenseId": "00000000-0000-0000-0000-000000000000",
  "ref1": "string",
  "ref2": "string",
  "ref3": "string",
  "ref4": "string",
  "ref5": "string",
  "ref6": "string",
  "ref7": "string",
  "ref8": "string",
  "ref9": "string",
  "ref10": "string"
}

Response fields

FieldTypeDescription
iduuidIdentifier of the license.
namestringName of the license.
labelstringDisplay label of the license.
skustringSKU of the license.
createdAtISO 8601 timestampTimestamp when the license was created.
updatedAtISO 8601 timestampTimestamp when the license was last updated.
expirationDateISO 8601 timestampExpiration date of the license.
accessDaysintegerNumber of access days granted by the license.
isDefaultbooleanWhether this is the default license for the client.
seatsLimitintegerMaximum number of seats on the license.
enableBrandingbooleanWhether custom branding is enabled for the license.
learningPathIdsuuid[]Identifiers of learning paths granted by the license.
courseIdsuuid[]Identifiers of courses granted by the license.
courseTagsobject[]Course tags granted by the license.
courseTags.iduuidIdentifier of the tag.
courseTags.labelstringDisplay label of the tag.
parentLicenseIduuidIdentifier of the parent license, when nested.
ref1stringCustom reference field 1 on the license.
ref2stringCustom reference field 2 on the license.
ref3stringCustom reference field 3 on the license.
ref4stringCustom reference field 4 on the license.
ref5stringCustom reference field 5 on the license.
ref6stringCustom reference field 6 on the license.
ref7stringCustom reference field 7 on the license.
ref8stringCustom reference field 8 on the license.
ref9stringCustom reference field 9 on the license.
ref10stringCustom reference field 10 on the license.