Podio API Documentation
Space members: Get space membership
Used to get the details of an active users membership of a space.
Usage
- PHP Client
-
PodioSpaceMember.php
PodioSpaceMember::get( $space_id, $user_id );
- Ruby Gem
-
space_member.rb
Podio::SpaceMember.find_membership( space_id, user_id )
Parameters
- space_id*
- Required.
- user_id*
- Required.
Response
{
"user": The member of the space
{
"user_id": The id of the user that is a member of the space,
"avatar": The id of the file of the users avatar,
"name": The name of the user
},
"role": The role that the member has. Can be either "light", "regular" or "admin",
"invited_on": The date and time the user was invited,
"started_on": The date and time the user accepted the invitation,
"ended_on": The date and item the membership was ended. Only set if membership is ended
}
Sandbox
Try the operation "/space/{space_id}/member/{user_id}"You can simulate the API request by filling out the arguments below, and press the submit button to see the response.
You need to be logged in to Podio to use the Sandbox. Login here