Can Discourse produce a list of the emails that I have sent invitations to

After I sent invitations to about 350 emails, my hard drive crashed and I lost my list of emails.

Discourse shows the emails of the invitations on the “pending invites” and “expired invites” page.

Is there a way Discourse can produce a list of all the invite emails, or must I copy them one-by-one?

1 Like

Hi Jerry :slight_smile:

You could use data explorer for this.
The query should be something like:

SELECT email FROM invites
WHERE redeemed_at IS NULL

You can output the results in JSON or CSV.

To be tweaked if needed. Other fields may need to be added, like deleted_at or invalidated_at.


Thanks Coin-coin! I’ll give that a try.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.