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

What would really be nice for my use case is a way to retrieve all invites invited by all users. If “by all users” is the breaking point, it’d be fine for my use case to retrieve all invites (regardless of state).

With this method I’m forced to poll each possibility, which could be 1000 email addresses when likely there are only a few in the table.

How to get a password from database? - #3 by pfaffman indicates the database isn’t exposed by default, so using code to access the db from an external process isn’t doable directly, at least not with my current implementation – and maybe it wouldn’t be a good idea to expose the db port in any case.

I’m trying to automate invitations and group membership for email addresses in an external database.