Having issues with the projects-api

0
So the Projects API has a method to get information about a users' projects, as described here: https://docs.mendix.com/apidocs-mxsdk/apidocs/projects-api/   I am trying to use the /projects/{project-id} endpoint to get the roles of a user in each project. This however is not working properly. I have tried extensivelly, and double checked everything, but this api appears to be bugged.   The API returns a list of users and their roles. Logic would imply that the roles such as "Business Engineer" or "Scrum master" that appear associated with the users, should be the ones the user has for that given project, but that's not the case. For me, for example, whenever I query the API, for any project, I see my role reflected as Business Engineer for every application, regardless of the actual role I have in Sprintr.   Same for other users, who may have "Scrum Master", but that never changes regardless of the project, and it doesn't match up with wat's in Sprintr. It looks to me like rather then returning the role the user has for that app, it is always returning the role it has for the first application that user has access to, and not the one that is being queried.    Does anyone have experience with this? Does anyone know of any API that gives the true roles in Sprintr for a given application?   Thanks!        
asked
1 answers
2

Hi Tomas, you're absolutely correct in observing inconsistent or incorrect behavior from the Mendix Projects API GET /projects/{project-id} endpoint when it comes to returning project-specific user roles.

 

What's Really Happening

The GET /projects/{project-id} endpoint returns a list of users and their global Mendix roles, like

  • Business Engineer

  • Scrum Master

  • App Team Member

These roles are not scoped per project — they are more like account-level default roles, not the actual roles assigned via Sprintr for a specific application.

 

So yes, even if a user is not a Scrum Master for Project A, the API might still return them as one, because that's their global profile role, not their role in that project.

 

Problem:

  • The API doesn't expose the actual role bindings within a specific app team.

  • The roles returned are cached or taken from the user's global metadata, not their per-project assignment.

  • There's currently no official API from Mendix that exposes true project-specific team role mappings (as seen in the Sprintr UI).

Current Workarounds: 

Unfortunately, there is no public API that provides

  • A list of users with their true Sprintr roles per application/project.

  • Team membership details scoped per project.

Some possible workarounds:

1. Manual Syncing via Sprintr UI

Export the team roles manually from the Sprintr project team page for now. Not ideal, but accurate.

2. Raise a Support Ticket

Since this is a gap in the API

  • You should report it to Mendix Support or post in the Mendix Idea Forum.

  • They may provide internal APIs or roadmap plans.

3. Private APIs (Not officially supported)

There are some unofficial/private Sprintr APIs used by the Mendix frontend (browser dev tools can help you see them), but:

  • These are not documented, not stable, and not supported for production use.

  • They may expose the real team and role mapping, but use at your own risk.

Summary

  • The /projects/{project-id} API does not return per-project roles — it gives global roles.

  • There is no public API currently that gives accurate Sprintr role assignments per project.

  • This is likely a limitation or bug in the API design.

Recommendation

If this is critical to your workflow, I strongly suggest:

  • Opening a feature request or bug report to Mendix Support.

  • Asking for Sprintr Team Role API access or roadmap plans.

I hope this one helps you! :)

answered