---
title: "Create a new User."
method: POST
path: "/api/CreateUser"
tags: ["Accounts"]
---

# Create a new User.

`POST /api/CreateUser`

## Headers

- `Authorization` string, required
- `UserName` string

## Request body

- EmsignerAPIBusinessObjectUserViewModel — Name of the User
  - `Name` string, required — Name of the User
  - `MobileNumber` string — MobileNo of the User
  - `CountryCode` string — CountryCode
  - `EmailID` string, required — EmailId of the User(Required only while creating new user)
  - `DepartmentID` integer, required — DeapartmentId of the User(Fetched using ListDepartments api)
  - `Designation` string — Designation of the User
  - `InternalUser2FA` boolean, required — True if login needs to be enabled with Username, Password and OTP
  - `SignatureType` string, required — 1-dsign (Token or Smart Card),2-esign V3 (India) 3-eSignature, 5-UAE Pass,8- esignv2 verasys,12 esign v2,13 emudhra digital signature,14 esignV2 cdsl (comma separated values)
  - `UserRoleId` integer, required — UserRoleId: Fetched using GetRoles
  - `Address` string — Address of the User
  - `State` string — State of the User
  - `City` string — City of the User
  - `ZipCode` string — Pin number of the User
  - `IsAdmin` boolean — true if user will be having admin access
  - `CompanyName` string, required — Comapany name of the User
  - `Country` string, required — Country name of the User
  - `SignatureOption` integer, required — 1-Enable LTV, 2-TimeStamp,3-None
  - `AlternativeEmailId` string — Alternative EmailId of the user(Required only while creating new user)
  - `HSMCertificateID` string — Comma separated HSMCertifiacteIds
  - `AllowAccessToUser` boolean — Allow user to interact with Dashboard, Doc Store, etc
  - `SubscriberId` integer — SubscriberId of the existing user(Required only while updation)
  - `LoginAuthentication` string, required — Type of authentication used for user login;1-Username and Password,2-Office 365,3-UAE Pass,4-Google (comma separated values)
  - `NationalId` string
  - `TimeZone` string
  - `ProfileImageData` string
  - `ProfileImageName` string

## Response `200`

OK

- EMDMSHelperReturnObjectSystemInt64
  - `IsSuccess` boolean
  - `Messages` string[]
  - `ErrorCode` integer
  - `Response` integer

---

[API](https://skmtc.dev/emsigner/apis/emsignerapi.md) · [All operations](https://skmtc.dev/emsigner/apis/emsignerapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/emsigner/emsignerapi/revisions/7d5d55e0d91d/schema)
