When a course is created, an ID is also created and assigned to the course. The course ID can be easily found in the URL when you open the requested course.
Navigate to any course (UKG Pro Learning > Training > Courses).
The course ID is located in the middle of the URL, after the domain and before the course title.