daniel-sc
daniel-sc

Reputation: 1307

Get user mail via Podio API without global scope

How can I/my app (=extension) get the user email, if I don't want to use the scope global:all (see Podio scopes)?

I'd expect the scope user:read would suffice, but the endpoints /user (Get user) and /user/status (Get user status) both return the following error:

Must have the permission all on global to perform this operation

Upvotes: 0

Views: 123

Answers (1)

Chris Peters - Podio
Chris Peters - Podio

Reputation: 419

You need an authentication scope for the request to work. In the documentation there is a diagram that shows the hierarchy. [1]

If you are referring to "app" in the Podio sense then use the "App" scope.

[1] https://developers.podio.com/authentication/scopes

Edit:

There is a current limitation in the functionality of the user:read scope. This has been filed as an issue and will be updated accordingly.

Upvotes: 2

Related Questions