Back

[SOLVED] Adding to Team without Accepting Invitation

  • 0
  • Teams
D5
27 Mar, 2023, 17:12

Is it possible to make users join a team for example with a code, like in Google classroom or discord server links?

TL;DR
The user wants to know how to add people to a team without requiring them to accept an invitation. The solution is to use an Appwrite Function and server SDK. It is also possible to invite users individually or use a code for multiple users to join. However, there is a limit of 10 requests in every 60 minutes per IP address.
rafagazani
27 Mar, 2023, 17:53
joeyouss
27 Mar, 2023, 18:24

What @rafagazani is right, it is possible to do that. However, please note the endpoint is limited to 10 requests in every 60 minutes per IP address.

D5
27 Mar, 2023, 20:38

But you should invite them individually, is it possible to make a code to allow everyone joining?

Drake
27 Mar, 2023, 22:47

to add users without requiring them to accept the invite, you can use an Appwrite Function and server SDK.

D5
27 Mar, 2023, 23:08

Ok, the server function basically adds the user manually to the team, true?

Drake
27 Mar, 2023, 23:09

yes, with a server SDK and API key, they're added into the team without any invitation/acceptance required

D5
27 Mar, 2023, 23:11

Ok, thanks you so much for all, you helped me a lot

Drake
27 Mar, 2023, 23:12

[SOLVED] Adding to Team without Accepting Invitation

D5
27 Mar, 2023, 23:12

[SOLVED] Join yourself into a team

D5
27 Mar, 2023, 23:12

Oh, sorry, was changing

D5
27 Mar, 2023, 23:12

Change again

Drake
27 Mar, 2023, 23:12

[SOLVED] Adding to Team without Accepting Invitation

D5
27 Mar, 2023, 23:13

Perfect

Drake
27 Mar, 2023, 23:13

no worries! that was funny 😆

D5
27 Mar, 2023, 23:13

Yep 🤣

pandemoniun
5 Apr, 2023, 18:51

Yes, I see now how to do it, and just they appear the new team in their user interface. Thats the way I see

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more