B2B Create Organization and Member
A 3-step recipe with Stytch. We can help you get access.
Recipe · 3 steps
B2B Create Organization and Member
with Stytch · Identity & Access Management
Create an organization, add a member, and fetch the member by id.
- Create a new B2B organization, returning the organization id used to scope member creation.
- Create a member inside the organization using the supplied email address, returning the member_id.
- Read the member back by member_id to confirm the record was persisted in the organization.
What you'll need to have ready
- organization_name: The human-readable name of the organization to create.
- email_address: The email address of the member to create in the organization.
- name: Optional display name for the new member.
For your developer
Arazzo workflow stytch:org-create-member, 3 operations: api_organization_v1_Create → api_organization_v1_organizations_members_Create → api_organization_v1_organizations_members_Get. Specs on APIs.io.