# Optional global invite code

**URL:** https://meta.discourse.org/t/optional-global-invite-code/144376
**Category:** Announcements
**Tags:** new-feature, invites
**Created:** [March 15, 2020, 10:25am UTC](https://meta.discourse.org/t/optional-global-invite-code/144376 "2020-03-15T10:25:52Z")
**Posts on this page:** 1
**Showing post:** 35

<div class="post-metadata">

### Author: ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)
#### Post date: [March 30, 2020, 3:35am UTC](https://meta.discourse.org/t/optional-global-invite-code/144376/35 "2020-03-30T03:35:32Z")

</div>

I’ve read that, but remain confused.

> [@Generating lots of Invite Tokens](https://meta.discourse.org/t/generating-lots-of-invite-tokens/17563/1):
>
> ## Prepare Invitation Links from Invite Token
> 
> The Invitation URL will be like:
> 
> ```plaintext
> http://discourse.example.com/invite-token/redeem/TOKEN?username=USERNAME&email=EMAIL&name=NAME&topic=TOPICID
> 
> ```
> 
> Replace following fields:
> 
> - 
> - `discourse.example.com` with the URL of your Discourse instance.
> 
> - 
> - `TOKEN` with one of the 200 Invite tokens you just generated.
> 
> - 
> - `EMAIL` with the email of user you want to invite
> 
> - `USERNAME` with the desired username of invited user
> - `NAME` with the first name of invited user
> - `TOPIC` with the id of the topic to direct the user to after joining
> 
> (\*) these fields are required!

This seems to imply very strongly that you need the user’s email. Or am I just being thick?

---

_[View the full topic](https://meta.discourse.org/t/optional-global-invite-code/144376)._
