News service API resulst in 403 (forbidden) when retieving anouncements fot a user

Arald.d.320
Arald.d.320 Posts: 11 🌱
edited December 2023 in Development

When I use GET /d2l/api/le/(version)/news/user/(userId)/ tot get the announcements for a specific user I get an HTTP 403 Forbidden message unless the API call is performed by a user who is granted the (Super) Admin role.

When I use GET /d2l/api/le/(version)/(orgUnitId)/news/ to get the announcements for a given orgunit it works fine.

I think it has to do with a permission that is missing in the none-admin role we want to use for our integrations but I can't find which one. Is there documentation on which permissions you need for certain API endpoints?

Answers