# How do you add an employee with account using the REST API?

**URL:** <https://www.virtocommerce.org/t/how-do-you-add-an-employee-with-account-using-the-rest-api/773>\
**Category:** Uncategorized\
**Created:** [April 13, 2025, 8:26pm UTC](https://www.virtocommerce.org/t/how-do-you-add-an-employee-with-account-using-the-rest-api/773 "2025-04-13T20:26:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Swett-Hub](https://yyz2.discourse-cdn.com/flex032/user_avatar/www.virtocommerce.org/swett-hub/32/2045_2.png) [@Swett-Hub](https://www.virtocommerce.org/u/Swett-Hub)\
**Post date:** [April 13, 2025, 8:26pm UTC](https://www.virtocommerce.org/t/how-do-you-add-an-employee-with-account-using-the-rest-api/773/1 "2025-04-13T20:26:46Z")

</div>

My goal is to find some way of getting employees and their login accounts added to Virto (without manually keying them). Since I don’t see a way to do that with a CSV import, I turned to the REST API.

I see that I can do a POST to the /api/employees endpoint to successfully add an employee to one or more organizations. However, I don’t see how to add the employee login account, with role, at the same time – or after the fact, for that matter.

Does anyone know how I can do that?

---

<div class="post-metadata">

**Author:** ![OlegoO](https://yyz2.discourse-cdn.com/flex032/user_avatar/www.virtocommerce.org/olegoo/32/27_2.png) [@OlegoO](https://www.virtocommerce.org/u/OlegoO)\
**Post date:** [May 5, 2025, 11:03am UTC](https://www.virtocommerce.org/t/how-do-you-add-an-employee-with-account-using-the-rest-api/773/2 "2025-05-05T11:03:27Z")

</div>

I recommend creating a new employee account using back office and [capture web traffic](https://www.virtocommerce.org/t/capture-web-session-traffic/678). Because Admin panel is SPA, you will see list of correct Rest API call that are required to create an entity in Virto Commerce.
