capabilities.work

Create Organization and Invite a User

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

Recipe · 3 steps

Create Organization and Invite a User

with Auth0

Create an organization and invite a user to join it.

  1. Create a new organization within the tenant.
  2. Create an invitation for the invitee email on behalf of the inviter and client.
  3. Read the invitation back to confirm it and surface its invitation URL.
What you'll need to have ready
  • name: The name of the organization (lowercase, used as the slug).
  • display_name: Friendly display name for the organization.
  • inviterName: Name of the person sending the invitation.
  • inviteeEmail: Email address of the user being invited.
  • clientId: Auth0 client id used to resolve the login initiation endpoint.
  • roles: Optional list of role ids to associate with the invited user.
For your developer

Arazzo workflow auth0:invite-user-to-org, 3 operations: post_organizations → post_invitations → get_invitations_by_invitation_id. Specs on APIs.io.