Get dashboard's "group" data via API?

I have various groups setup in my mainWP dashboard, based on the paid management plan they have. Is there a way with the API to access that information?

I’ve checked “mainwp/v1/sites/all-sites” and “mainwp/v1/site/site” but I’m not seeing any of the group data.

Thanks!

Hi @simpletech,

can you try this version:

and for the mainwp/v1/sites/all-sites endpoint, add one more GET param: selectgroups=true

1 Like

That works great, thank you so much!

Any chance that change will get added into the next release, so I’m not hesitant to update the dashboard plugin the next time there’s an update?

yes, the update will be included in the next official release.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.