# What is API Url for creating user in AE server, what to put in request body

**URL:** <https://community.automationedge.com/t/what-is-api-url-for-creating-user-in-ae-server-what-to-put-in-request-body/17938>\
**Category:** AutomationEdge API\
**Tags:** api\
**Created:** [May 21, 2026, 7:28am UTC](https://community.automationedge.com/t/what-is-api-url-for-creating-user-in-ae-server-what-to-put-in-request-body/17938 "2026-05-21T07:28:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vivek\_Lawhale](https://avatars.discourse-cdn.com/v4/letter/v/8edcca/32.png) [@Vivek\_Lawhale](https://community.automationedge.com/u/Vivek_Lawhale)\
**Post date:** [May 21, 2026, 7:28am UTC](https://community.automationedge.com/t/what-is-api-url-for-creating-user-in-ae-server-what-to-put-in-request-body/17938/1 "2026-05-21T07:28:55Z")

</div>

what is API Url for creating user in AE server, what to put in request body?

 ![Screenshot 2026-05-21 125641](https://canada1.discourse-cdn.com/flex027/uploads/automationedge/original/2X/e/e001dfee6435caa75ac7d895a5bbe98e13dcc358.png)

---

<div class="post-metadata">

**Author:** ![AETrainings](https://avatars.discourse-cdn.com/v4/letter/a/2acd7d/32.png) [@AETrainings](https://community.automationedge.com/u/AETrainings)\
**Post date:** [October 16, 2026, 6:35am UTC](https://community.automationedge.com/t/what-is-api-url-for-creating-user-in-ae-server-what-to-put-in-request-body/17938/2 "2026-10-16T06:35:46Z")

</div>

To create a tenant user in AutomationEdge Server, use the following API details:

**API URL:**  
/aeengine/rest/tenants//users?ep=false

Replace with your AutomationEdge Server base URL and with your organization code.

**HTTP Method:** POST

**Headers:**

- Content-Type: application/json
- X-session-token: \<Your\_Session\_Token\>

**Sample Request Body:**  
{  
“firstName”: “Ram”,  
“lastName”: “Lakhan”,  
“emailId”: “[ramlakhan@ram.com](mailto:ramlakhan@ram.com)”,  
“userName”: “ramlakhan”,  
“authType”: “NATIVE”,  
“password”: “Ram@123”,  
“forcePasswordChange”: true,  
“roles”: [  
{  
“id”: 3,  
“roleName”: “ROLE\_TENANT\_USER”  
}  
]  
}

Replace the sample user details with the required values. Ensure that the session token is valid and that the role ID and role name match the roles configured on your AE Server.
