1
0
Fork 0
mirror of synced 2024-06-03 11:24:48 +12:00
appwrite/docs/references/teams/create-team-membership.md
2019-10-07 20:06:55 +03:00

732 B

Use this endpoint to invite a new member to your team. An email with a link to join the team will be sent to the new member email address. If member doesn't exists in the project it will be automatically created.

Use the redirect parameter to redirect the user from the invitation email back to your app. When the user is redirected, use the /teams/{teamId}/memberships/{inviteId}/status endpoint to finally join the user to the team.

Please notice that in order to avoid a Redirect Attacks the only valid redirect URL's are the once from domains you have set when added your platforms in the console interface.