# API for enrollment infos

**URL:** <https://discuss.openedx.org/t/api-for-enrollment-infos/13782>\
**Category:** Development\
**Tags:** api, how-to\
**Created:** [August 27, 2024, 9:25pm UTC](https://discuss.openedx.org/t/api-for-enrollment-infos/13782 "2024-08-27T21:25:45Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![suigh](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/suigh/32/1728_2.png) [@suigh](https://discuss.openedx.org/u/suigh)\
**Post date:** [August 27, 2024, 9:25pm UTC](https://discuss.openedx.org/t/api-for-enrollment-infos/13782/1 "2024-08-27T21:25:45Z")

</div>

Hi, is there some API that returns enrollment infos for a given user or course\_id?  
i found this api (`CourseEnrollmentsApiListView`) but it need a superuser access to retrieve the infos.

I need to know the enrollment date (`created: Date and time when the course enrollment was created.`) for a MFE that i’m developing

thanks

---

<div class="post-metadata">

**Author:** ![Fario\_Consulting](https://avatars.discourse-cdn.com/v4/letter/f/5daacb/32.png) [@Fario\_Consulting](https://discuss.openedx.org/u/Fario_Consulting)\
**Post date:** [August 28, 2024, 12:19pm UTC](https://discuss.openedx.org/t/api-for-enrollment-infos/13782/2 "2024-08-28T12:19:29Z")

</div>

Hi Rodrigo,  
I believe there in the OpenEdx Python API there is a way to get the [user’s enrollments](https://github.com/openedx/edx-platform/blob/master/lms/djangoapps/program_enrollments/api/reading.py#L234).

---

<div class="post-metadata">

**Author:** ![kosolapovlb](https://avatars.discourse-cdn.com/v4/letter/k/b2d939/32.png) [@kosolapovlb](https://discuss.openedx.org/u/kosolapovlb)\
**Post date:** [August 29, 2024, 7:07am UTC](https://discuss.openedx.org/t/api-for-enrollment-infos/13782/3 "2024-08-29T07:07:56Z")

</div>

And don’t miss api-docs on your openedX instance: `https://<your openedX site>/api-docs/#/enrollment`

---

<div class="post-metadata">

**Author:** ![leonelkatsikaris](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/leonelkatsikaris/32/7076_2.png) [@leonelkatsikaris](https://discuss.openedx.org/u/leonelkatsikaris)\
**Post date:** [August 29, 2024, 2:50pm UTC](https://discuss.openedx.org/t/api-for-enrollment-infos/13782/4 "2024-08-29T14:50:26Z")

</div>

Hi Rodrigo! Here you can see all the API calls you can make: [Open edX API](https://courses.edx.org/api-docs/#/)

---

<div class="post-metadata">

**Author:** ![suigh](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/suigh/32/1728_2.png) [@suigh](https://discuss.openedx.org/u/suigh)\
**Post date:** [August 29, 2024, 4:22pm UTC](https://discuss.openedx.org/t/api-for-enrollment-infos/13782/5 "2024-08-29T16:22:48Z")

</div>

Thank you so much guys!

---

<div class="post-metadata">

**Author:** ![feanil](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/feanil/32/37_2.png) [@feanil](https://discuss.openedx.org/u/feanil)\
**Post date:** [September 3, 2024, 3:36pm UTC](https://discuss.openedx.org/t/api-for-enrollment-infos/13782/6 "2024-09-03T15:36:28Z")

</div>

FYI, the default APIs for the Open edX LMS can be found here: [LMS APIs — edx-platform documentation](https://docs.openedx.org/projects/edx-platform/en/latest/references/lms_apis.html)

The ones for [edx.org](http://edx.org) are usually a super set but might have plugins/apis that are specific to the [edx.org](http://edx.org) deployment.
