We’ve added an endpoint to programmatically accept invitations. It’s already possible to accept an invitation at authentication time by passing the invitation token. Now developers can leverage the new API endpoint to accept invitations wherever they’d like in their application.
Learn more in the docs.