# Account Create

| **API URL**     | {{url}}/user-service/organization/create-account |
| --------------- | ------------------------------------------------ |
| **Method**      | POST                                             |
| **Description** | Create Account                                   |

#### **Input** <a href="#accountcreate-input" id="accountcreate-input"></a>

| **Field Name**       | **Type** | **Mandatory** | **Example**        |
| -------------------- | -------- | ------------- | ------------------ |
| name                 | String   | Yes           | Healthcarezone     |
| maxNoOfUsers         | Number   | No            | 100                |
| parentOrganizationId | String   | Yes           | 290                |
| tenantId             | String   | Yes           | 290                |
| countryId            | String   | Yes           | 3                  |
| clinicalWorkflow     | Array    | No            | 4,3,2,1            |
| customizedWorkflow   | Array    | No            | 5,6                |
| username             | String   | Yes           | <johnbxxx@xxx.xxx> |
| firstName            | String   | Yes           | Kennedy            |
| lastName             | String   | Yes           | John               |
| gender               | String   | No            | Male               |
| id(countryId)        | Number   | Yes           | 3                  |
| countryCode          | Number   | Yes           | 1                  |
| phoneNumber          | String   | Yes           | 733XXX701X         |
| id(timezone)         | Number   | Yes           | 3                  |

#### **Sample Input:** <a href="#accountcreate-sampleinput" id="accountcreate-sampleinput"></a>

"name": "Healthcarezonenew",\
"maxNoOfUsers": 0,\
"parentOrganizationId": 290,\
"tenantId":290,\
"countryId": 3,\
"clinicalWorkflow": \[\
4,3,2,1\
],\
"customizedWorkflow": \[

],\
"users": \[\
{\
"username": "<johnbxxx@sxxxe.xxx>",\
"firstName": "Kennedy",\
"lastName": "John",\
"gender": "male",\
"country": {\
"id": 3\
},\
"countryCode": "1",\
"phoneNumber": "733XXX701X",\
"timezone": {\
"id": 2\
}\
}\
]

}

#### **Sample Output:** <a href="#accountcreate-sampleoutput" id="accountcreate-sampleoutput"></a>

```
"message": "Organization created successfully. "
```
