capabilities.work

Provision an Organization and Invite a Member

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

Recipe · 3 steps

Provision an Organization and Invite a Member

with Didomi

Create an organization, invite its first member, and read the organization back.

  1. Create a new organization. Only name is required by the OrganizationInput schema.
  2. Invite a member into the new organization. name, email and organization_id are all required by the InvitedMemberInput schema. If the user is new an email with a password reset link is sent.
  3. Read the organization back by its ID to confirm it was created.
What you'll need to have ready
  • token: A valid Didomi JWT used as the bearer token for the Authorization header.
  • organizationName: Unique name of the organization to create.
  • website: Optional website URL of the organization.
  • memberName: Name of the member to invite into the new organization.
  • memberEmail: Email address of the member to invite.
For your developer

Arazzo workflow didomi:provision-organization, 3 operations: {$sourceDescriptions.organizationsApi.url}#/paths/~1organizations/post → {$sourceDescriptions.membersApi.url}#/paths/~1members/post → {$sourceDescriptions.organizationsApi.url}#/paths/~1organizations~1{id}/get. Specs on APIs.io.