[podio-api] How do I add another user to a workspace?

66 views
Skip to first unread message

gholler

unread,
Apr 25, 2012, 1:32:40 PM4/25/12
to Podio API
I would like to be able to programmatically create a workspace and
then add a number of users/emails to the workspace. I don't see the
adding of users besides the logged in user to a workspace. Is there a
way to do this?

Thanks,
George Holler

Casper Fabricius

unread,
Apr 25, 2012, 4:18:02 PM4/25/12
to podi...@googlegroups.com
Hi George,

I'm afraid adding other users to a workspace is one of the few things we do not allow external developers to do through the API. This is for security reasons and not something we are likely to change.

Cheers,
Casper Fabricius
Developer at Podio

gholler

unread,
Apr 25, 2012, 4:39:47 PM4/25/12
to Podio API
Hi Casper,

How about inviting a user/email to a space?

Thanks,
George Holler

On Apr 25, 4:18 pm, Casper Fabricius <casper.fabric...@gmail.com>
wrote:
>  smime.p7s
> 5KViewDownload

Nick Barnwell

unread,
Apr 25, 2012, 4:43:50 PM4/25/12
to <podio-api@googlegroups.com>
George,

One workaround would be having your program email the users with a top level link to their space - they'll be presented with a 403 page, but there's also a prompt to Request access to the space. I believe there's API access to approving requests, so you might try that flow.

Best,
Nick

Casper Fabricius

unread,
Apr 26, 2012, 3:05:18 AM4/26/12
to podi...@googlegroups.com
George,

Adding and inviting to a space are two names for the same thing. Inviting non-Podio users is the core case we want to control for now, I'll check if there's a possibility to open up for letting external developers add existing Podio users to work spaces.

This would make sense, since Nick is right, this workaround would work:
1) Authenticate as existing user, invoke https://developers.podio.com/doc/space-members/request-space-membership-6146231
2) Authenticate as admin of the space, invoke https://developers.podio.com/doc/space-members/accept-space-membership-request-6146271

The last part is tricky, since you need the space_member_request_id which is currently only available in the notification the space admin gets (see https://developers.podio.com/doc/notifications). Clearly this is not the way we would recommend you to add existing Podio users to a space, but the point is that it is possible, so we might as well consider making the easier way of doing this accessible for external developers.

Cheers,
Casper
Reply all
Reply to author
Forward
0 new messages