API Playground - add_agent
add_agent
Use this function to add a new agent to a site. You cannot make into an agent a user who is a moderator or resource admin of another Planyo site.
If the user has been added by an admin / API call or is already a moderator or resource admin of the site, they will be automatically assigned as agent. Otherwise, a confirmation email will be sent to the user's email address and the user will be assigned as agent once they confirm the action. Check the
status output field to find out if the assignment was immediate. Note that the user should have a login and password associated with their Planyo account. If not, the
warning output field will contain the appropriate info.
(click for full documentation)