How to get the TokenTypeID

TokenTypeID not found when creating a token. Use the numeric Id from the API (GET /courses? for courses, equivalent endpoints for learning paths and teams) as the TokenTypeID; the UI course code is not the TokenTypeID.