API endpoint to create invite links has moved to /invites.json

Is there any reason invites/retrieve.json isn’t in the documentation under Discourse API Docs ? Or am I missing something.

I want to invite email addresses which exist in an external database, only if a) they don’t already have an account, and b) if they haven’t already been invited (this process will run periodically and I don’t want to spam people who haven’t responded to their invitation fast enough). invites/retrieve.json seems to be the right way to figure out (b) per what it looks like is in the commit.

2 Likes