# Invite token bulk email API sample

**URL:** <https://meta.discourse.org/t/invite-token-bulk-email-api-sample/17186>\
**Category:** Feature\
**Tags:** rfc, spec\
**Created:** [7월 3, 2014, 11:57오후 UTC](https://meta.discourse.org/t/invite-token-bulk-email-api-sample/17186 "2014-07-03T23:57:45Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [7월 10, 2014, 5:31오전 UTC](https://meta.discourse.org/t/invite-token-bulk-email-api-sample/17186/4 "2014-07-10T05:31:25Z")

</div>

Extended Spec, email-less tokens. That means that we need an endpoint to generate these.

Email-less tokens get associated on signup, this is the flow

1. You generate a token which may also confer rights like automatically adding a user to a group
2. On redemption the redemption link provides an email and optional user / username.

So, we generate the unique one use tokens and the third party fills the blanks, for example:

`https://meta.discourse.org/invites/GUID?username=bob&email=bob@bob.com&name=Something`

GUIDs can only be redeemed once, we have no idea what the email is until they finally accept it.

---

_[View the full topic](https://meta.discourse.org/t/invite-token-bulk-email-api-sample/17186)._
