Invite Existing User By ID
A 3-step recipe with PropelAuth. We can help you get access.
Recipe · 3 steps
Invite Existing User By ID
with PropelAuth · Tenant Provisioning & Lifecycle
Resolve a user by email, create an org, then invite that user in by ID.
- Resolve the existing user by email to obtain their user ID.
- Create the organization the user will be invited into.
- Invite the resolved existing user into the new organization by ID.
What you'll need to have ready
- backendApiKey: PropelAuth Backend Integration API key presented as a bearer token.
- email: Email address of the existing user to invite.
- orgName: Name of the new organization to create.
- role: The role the invited user will hold in the organization.
For your developer
Arazzo workflow propelauth:invite-existing-user-by-id, 3 operations: fetchUserByEmail → createOrg → inviteUserToOrgById. Specs on APIs.io.