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

Get Redemption Code Group

Returns a single redemption code group by ID

Returns a single redemption code group by ID.

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

Example request

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

Parameters

NameTypeRequiredLocationDescription
iduuidYespathRedemption code group UUID.

Example response

{
  "id": "rc100000-1111-2222-3333-444455556666",
  "label": "Spring Promo",
  "redeemedCodesCount": 18,
  "totalCodesCount": 100,
  "expirationDate": "2025-06-30T23:59:59.000Z",
  "accessDays": 90,
  "accessExpirationDate": null,
  "uploaded": false,
  "gift": false,
  "client": null,
  "courses": [
    {
      "id": "8f2a1c34-5b6d-4e7f-9a01-2b3c4d5e6f70",
      "title": "Onboarding Essentials"
    }
  ],
  "learningPaths": [],
  "bundles": [],
  "licenses": []
}

Response fields

FieldTypeDescription
iduuidGroup ID.
labelstringGroup label.
redeemedCodesCountintegerNumber of codes redeemed.
totalCodesCountintegerTotal codes in group.
expirationDateISO 8601 dateWhen codes expire.
accessDaysintegerDays of access after redemption.
accessExpirationDateISO 8601 dateAbsolute access expiry.
uploadedbooleanTrue if codes were imported (vs generated).
giftbooleanWhether group is gift-type.
clientobject{ id, name } or null.
coursesobject[]Array of { id, title }.
learningPathsobject[]Array of { id, name }.
bundlesobject[]Array of { id, name }.
licensesobject[]Array of { id, name }.