Post

1 follower Follow
0
Avatar

How to get org_id by user_id

https://developers.podio.com/doc/spaces/get-space-22389

I need to get a list of all workspaces.

I currently have the user_id returned from the authorisation method (server-flow).

How do I get the org_id when the returning object only returns the user_id?

$status = $api->user->getStatus();

Look forward to your answer!

James 

James Trusler Answered

Please sign in to leave a comment.

4 comments

0
Avatar

Is there some documentation for the Podioapi PHP file or is it a 'take a look and see what we have'?

Now you have pointed out the object line I can clearly see it in the code... d'oh.

Thanks a bunch! 

James Trusler 0 votes
Comment actions Permalink
0
Avatar

I've got a plan to expose the available methods better on the developer website but for now the easiest thing is to open the source code and glance through.

Andreas Haugstrup Pedersen 0 votes
Comment actions Permalink