capabilities.work

Invite User to Organization

A 3-step recipe with Kinde. We can help you get access.

Recipe · 3 steps

Invite User to Organization

with Kinde · Identity & Access Management

Create an organization invitation and poll until it is sent.

  1. List the tenant's roles so the caller can confirm the requested role keys exist before issuing the invitation.
  2. Create the organization invitation with the supplied roles and send the invitation email. Returns the invitation code used for polling.
  3. Poll the invitation by its code until the is_sent flag indicates the invitation email has been dispatched.
What you'll need to have ready
  • orgCode: The organization code to invite the user into.
  • email: The email address of the user to invite.
  • firstName: Optional first name of the invitee.
  • lastName: Optional last name of the invitee.
  • roleKeys: Role keys to assign to the invited user.
For your developer

Arazzo workflow kinde:invite-user-to-organization, 3 operations: GetRoles → createOrganizationInvite → getOrganizationInvite. Specs on APIs.io.