# Create a User Create a new User, select a Workspace (account) for the User by providing the Workspace ID. Endpoint: POST /v2/user Version: 1.0.0 Security: BearerAuth ## Request fields (application/json): - `first_name` (string, required) First name of the user. - `last_name` (string, required) Last name of the user. - `email` (string, required) Email address of the user. - `phone` (string, required) Phone number of the user. - `options` (array,null) Additional options. - `account` (string, required) Account associated with the user. - `roles` (array,null) List of roles assigned to the user. ## Response 201 fields (application/json): - `first_name` (string) - `last_name` (string) - `email` (string) - `phone` (string,null) - `activated_on` (string) - `verified_on` (string,null) - `activity_on` (string,null) - `status` (string) - `options` (object) - `options.tour` (object) - `options.tour.dashboard.content` (boolean) - `id` (integer) - `created_on` (string) - `modified_on` (string,null) - `country` (string,null) - `_embedded` (object) - `_embedded.memberships` (object) - `_embedded.memberships._links` (object) - `_embedded.memberships._links.self` (object) - `_embedded.memberships._links.self.href` (string) Example: "https://api.foleon.com/..." - `_embedded.roles` (object) - `_embedded.roles.name` (string) - `_embedded.roles.description` (string) - `_embedded.roles.is_license` (boolean) - `_embedded.roles.priority` (integer) - `_embedded.roles.grants` (object) - `_embedded.roles.account` (integer,null) - `_embedded.roles.users` (object) - `_computed` (object) - `_computed.has_password` (boolean) - `_computed.num_accounts` (integer) ## Response 400 fields ## Response 401 fields