Question

Docebo API: How to retrieve multiple courses by ids

  • 5 April 2022
  • 1 reply
  • 83 views

For getting detailed course information, I use this API endpoint:(GET)  /course/v1/courses/{id}. I  have a number of IDs and I want to get information about them. Is there a way to call the API only once to get information on all of these IDs instead of calling it as the number of IDs?

Note: This endpoint is not documented but it has the data I need.


1 reply

Userlevel 7
Badge +3

It really depends on the exact info you are looking for. There is the more generic endpoint of what you are using, just remove the /ID from it, it will return all courses in the system and there are a lot of filters available to whittle it down. Unfortunately the search won’t return the ID, so you’d have to select from the array that is returned, or use a different value to find the courses. 

Reply