Skip to main content
Question

Unable to list courses using API

  • January 27, 2026
  • 1 reply
  • 8 views

I’m wanting to use the Docebo API to return all Courses
using either endpoints:
- /courses/v1/courses
- /learn/v1/courses

Both of these return Http Response code 200 but with 0 items
Below response is from endpoint: /courses/v1/courses

{
"data": {
"items": [],
"count": 0,
"has_more_data": false,
"cursor": null,
"current_page": 1,
"current_page_size": 100,
"total_page_count": 0,
"total_count": 0
},
"version": "1.0.0",
"_links": []
}

I can successfully call endpoints:
- /learn/v1/courses/{{CourseId}}
- /learningplan/v1/learningplans
- /learn/v1/lp
- /learn/v1/lp/{{LearningPlanId}}

My current setup:
Authentication: Local service account (username & password) 
                         Power User using a Profile to manage permissions
User Assigned Resources:
- All courses and learning plans

Profile Permissions:
Courses - View
Learning Plans - View
Users - Create, Can active users, Edit, View

I’ve tried making the service account a Super Admin but it still does not return courses

Are there any other setup I need for courses to be listed via the API?

Edit: I can successfully list courses when using own account (via OAUTH) on Docebo API Explorer, but I need to use a local account for my app.

1 reply

  • Author
  • Newcomer
  • January 27, 2026

Problem Solved:
I had accidentally included a JSON body in my GET request for the courses (copy & paste user error)
Once I removed the JSON body the request returned the expected list of courses.