Skip to main content
Best Answer

Get current user's courses (enrolled) via API

  • December 11, 2025
  • 4 replies
  • 134 views

Authenticated as a regular user, I want to get all the courses I have enrolled in and they should include the enrollment status as well.

The only alternatives I’ve found are:

  1. Using /report/v1/mytranscript (GET). However, for some reason, it excludes courses that are of status “waiting”.
  2. Using the unofficial /loki/widget/v1/courses/{user ID} (GET) which is used in the Docebo UI. Is this safe?

I know of /course/v1/courses/enrollments (GET), however, this cannot be called by a regular user (it leads to permission denied). This leaves us with no official, fully working, option that I know of.

Any help appreciated.

Best answer by simonp

After some digging, I found /learn/v1/catalog_content/internal/general (GET), which returns all catalog courses, including the property is_user_enrolled that can be used to identify enrolled courses. It also includes course statuses. Note that learning plan courses need to be fetched separately.

Hopefully this helps someone else in the future.

4 replies

  • Author
  • Novice II
  • Answer
  • December 16, 2025

After some digging, I found /learn/v1/catalog_content/internal/general (GET), which returns all catalog courses, including the property is_user_enrolled that can be used to identify enrolled courses. It also includes course statuses. Note that learning plan courses need to be fetched separately.

Hopefully this helps someone else in the future.


  • Newcomer
  • January 2, 2026

Hi ​@simonp 

Thank you. I have tried that endpoint, but it does not give us the required result. We need an accurate endpoint that returns all enrolled courses for a specific Docebo user ID.

I have reviewed the API documentation but couldn’t find a clear or direct endpoint for retrieving courses by user ID. Am I missing something, or is there no straightforward endpoint available for this use case?

What are your thoughts on this?


Ian
Guide II
  • Guide II
  • January 5, 2026

Hey ​@martindave, you may want to take a look at this. It’s a bit hard to find, admittedly!


  • Author
  • Novice II
  • January 8, 2026

Hi ​@simonp 

Thank you. I have tried that endpoint, but it does not give us the required result. We need an accurate endpoint that returns all enrolled courses for a specific Docebo user ID.

I have reviewed the API documentation but couldn’t find a clear or direct endpoint for retrieving courses by user ID. Am I missing something, or is there no straightforward endpoint available for this use case?

What are your thoughts on this?

Hi ​@martindave.

I don’t know what data you need, but if you want to pass one or many user ids, you should be able to use /course/v1/courses/enrollments (POST) and pass user_ids in the request body. Note that this requires the authenticated user to have the necessary rights to call this endpoint.