Best Answer

API to retrieve sessions by session code

  • 15 August 2023
  • 1 reply
  • 46 views

Userlevel 2

Hello,

I am trying to get list of sessions by code in Docebo. But the API get course sessions returns sessions id snd enrollments. no way to search session code.

Is there API to retrieve full of session’s info by session code?

Thanks,

Liza

 

icon

Best answer by Ian 21 September 2023, 10:28

View original

1 reply

Userlevel 4
Badge +1

This sounds like it’s not ideal for what you want to do, but you can get the session code for a specific session ID via the Courses service (GET /course/v1/sessions/{session_id}). So you may be able to loop through a list of all session IDs, use those to get the session codes, and then proceed with whatever your end goal is.

Reply