Podio API Documentation
Space members: Add member to space
Adds a list of users (either through user_id or email) to the space. If the user limit is reached, status code 403 will be returned.
Usage
- PHP Client
-
PodioSpaceMember.php
PodioSpaceMember::add( $space_id, $attributes = array() );
Parameters
- space_id*
- Required.
Request
{
"role": The role of the new users,
"message": The personalized message to put in the invitation,
"users": The list of users ids to invite,
"profiles": The list of profile ids to invite to the space,
"mails": The list of mail addresses for new or existing Podio users,
"external_contacts": The external contacts to invite,
"external_user_invite": Set True to invite users as clients,
{
"{linked_account_id}": The list of external contacts for the given linked account,
... (more linked accounts)
},
"context_ref_type": Optionally specify "item" to indicate invite to a specific item,
"context_ref_id": Must be set to the item id if source_key is set,
"invite_context": A optional custom string indicating where the user was when he/she invited the user(s).
}