Accessing course enrollments through API calls

Peter.S.773 Posts: 7 🌱
edited January 2 in Development
I'm accessing

However, I keep receiving "Message: "Insufficient scope to call API.Required: core:*:*""

I've added the scopes "core:*:*" and "enrollment:own_enrollment:read" to my Oauth2 application and yet the error persists. How can I fix this?


  • Tauany.S.691

    Hi Peter,

    Thank you for your question. Are you receiving the status code 403? If so, this error could be related to the Brightspace permission to see enrollments.

    Below is the documentation about the User Permissions where you can see more information about the "View User Enrollments" permission and others.

    Thank you,


  • Steve.B.446
    Steve.B.446 Posts: 76

    I may be way off the mark here, but the "my" type API calls tend to be used for things like widgets and refer to the authenticating user's scope.

    If you are using OAuth with a service type account then "my" enrolments might not make a lot of sense in that context and you need to use one of the other API routes where you can specify the user whose enrolments you want?