User Account Creation
This scenario demonstrates how to create and manage user accounts within your organization. User account management is a fundamental administrative task that enables you to onboard team members, control access permissions, and maintain your organization’s security. Key features:- Create user accounts with different activation methods
- Assign users to specific organizations and groups
- Configure user permissions through group assignments
- Manage the user onboarding process
Prerequisites
Before creating user accounts, you need:- A valid authentication token with administrative privileges
- Knowledge of your organization’s structure and group hierarchy
- Understanding of the different user roles and permissions in your organization
User Creation Methods
Circularo supports two primary methods for creating user accounts:- Invitation-Based: Send an invitation email to the user who must complete the registration process
- Direct Creation: Create a fully active account with a predefined password, bypassing the invitation process
- Invitation-Based: More secure as users set their own passwords, better user experience, automatic email notifications
- Direct Creation: Immediate account availability, suitable for managed IT environments, allows batch provisioning
Understanding Organization Structure
Before creating users, it’s important to understand Circularo’s structure, which is designed for flexibility and security:- Organizations: These are the top-level containers. They are used to group all users and resources for a single company, or to separate different companies if they share the same system tenant.
- Groups: Groups are the primary way to assign permissions. A user’s final permissions are determined by a combination of all the groups they belong to.
Each organization has several predefined groups that determine user permissions. When creating a user, you must assign them to both the organization and the group.
Step 1 - Retrieve Organization ID
The first step in creating a user account is identifying the organization ID to which the user will belong. Organization IDs are unique identifiers that differ from display names and are required for user creation.- Organization IDs are required when assigning users to organizations
- You can retrieve your organization ID from your own user profile
- For organization administrators, this will return your current organization
- For global administrators, you may need to query the groups endpoint to see all available organizations
- organizationId - Located at
organizationin the response.- Example value:
05dda3d0-b0c3-4aa3-8664-26b6f4b1647f
- Example value:
Step 2 - Retrieve Organization Group IDs
After obtaining the organization ID, the next step is to retrieve the group IDs within that organization. Each organization contains several predefined groups that determine user permissions and access levels.- Each organization has predefined groups with different permission levels
- Users must be assigned to at least one group to determine their role
- The group assignment controls what actions users can perform in the system
Group Types
- Admin Group: Full administrative privileges within the organization
- User Group: Standard user permissions for regular team members
- Prepare Group: Lite user group focused on document preparation
- Read Group: Lite user group with read-only access to documents
- Sign Group: Lite user group focused on document signing
- adminGroupId - Located at
organizationGroups.adminin the response.- This is user group for admin users.
- Example value:
907147ee-b260-4a52-9aad-e43e1e7e91ae
- userGroupId - Located at
organizationGroups.userin the response.- This is user group for regular users.
- Example value:
fb22e140-6663-43fc-b3fc-9c944c8906c3
- prepareGroupId - Located at
organizationGroups.preparein the response.- This is user group for lite users who have prepare only rights.
- Example value:
c4f747e3-3261-42c0-889c-8836c1861fcd
- readGroupId - Located at
organizationGroups.readin the response.- This is user group for lite users who have read only rights.
- Example value:
94f56033-7012-4376-9f7a-2eb774f1de49
- signGroupId - Located at
organizationGroups.signin the response.- This is user group for lite users who have sign only rights.
- Example value:
2b547a49-1db3-429e-be7d-55a4a8120913
When creating a user, you’ll need to assign them to both the organization itself and at least one of these groups to determine their permissions.
For most regular users, assign them to the ‘user’ group. For administrators, use the ‘admin’ group. For limited-access users (lite users), consider the ‘prepare’, ‘read’ or ‘sign’ groups based on their needs.
Step 3A - Create User with Email Invitation
This endpoint demonstrates how to create a new user account using the invitation method. With this approach, the system creates an inactive account and sends an invitation email to the user. The user must then complete the registration process.- Creates a user account in ‘newly_created’ status (inactive until registration is completed)
- Sends an invitation email to the user with instructions to complete registration
- Assigns the user to the specified organization and group
- Provides a secure onboarding experience as users set their own passwords
This is the recommended approach for most scenarios as it provides a better user experience and enhanced security by allowing users to set their own passwords.
- The user will receive an email with a link to complete their registration
- The account remains inactive until the user completes the registration process
- Once registration is complete, the user’s status will change to ‘active’
- The user will have access based on the assigned group permissions
Step 3B - Create Active User with Predefined Password
This endpoint demonstrates how to create a fully active user account with a predefined password. This method bypasses the invitation process, creating an account that is immediately ready for use.- Creates a user account in ‘active’ status (immediately usable)
- Sets a predefined password for the user
- Does not send any notification email to the user
- Assigns the user to the specified organization and group
- The account is fully active and can be used immediately
- No notification email is sent to the user
- You must communicate the username and password to the user through your own channels
- The user will have access based on the assigned group permissions
This method is particularly useful for bulk user provisioning or in environments where IT departments manage user credentials and onboarding.
User Account Creation Summary
You have successfully learned how to create user accounts in Circularo using different methods.Key Concepts
- Organization Structure: Understanding the hierarchy of organizations and groups
- User Roles: Assigning appropriate permissions through group membership
- Invitation-Based Creation: Creating accounts that require user activation
- Direct Creation: Creating immediately active accounts with predefined passwords
- User Status: Managing the lifecycle state of user accounts (newly_created, active, etc.)
Next Steps
With your understanding of user account creation, you can now:- Implement user provisioning workflows in your integration
- Create accounts with appropriate permissions based on user roles
- Manage the user onboarding experience
- Explore additional user management operations like updating and deactivating accounts
- Implement batch user creation for efficient onboarding of multiple users
Example Implementation
See our OpenAPI documentation to learn about the full set of API endpoints and parameters.
Please use proper exception handling and function decomposition in your own code. The code is provided for illustrative purposes only and is not intended for production use.