Creates a new user under the authenticated company. This endpoint allows you to define the user’s name, email, role, and other optional metadata. Once created, the user can access the system according to their assigned permissions.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
"{{companyId}}"
200
[
"returns.view",
"returns.create",
"returns.update",
"orders.view",
"orders.create",
"products.view",
"products.create",
"products.update",
"products.delete",
"customers.view",
"customers.create",
"customers.update",
"collections.*",
"warehouses.*",
"suppliers.view",
"suppliers.create",
"suppliers.update",
"expenses.view",
"expenses.create"
]"01hqydxwtxdj3kmzp3bz7jk73g"
"2025-10-13T09:25:31.000000Z"
"01k7ee7anat9j4bn5v71v70qck"
"Test"
[]" Test"
0
[
"returns.view",
"returns.create",
"returns.update",
"orders.view",
"orders.create",
"products.view",
"products.create",
"products.update",
"products.delete",
"customers.view",
"customers.create",
"customers.update",
"collections.*",
"warehouses.*",
"suppliers.view",
"suppliers.create",
"suppliers.update",
"expenses.view",
"expenses.create"
]""
false
"employee"
[
{
"company_id": "01hqydxwtxdj3kmzp3bz7jk73g",
"created_at": "2025-07-29T09:32:01.000000Z",
"currency_code": "XAF",
"currency_name": "FCFA",
"deleted_at": null,
"description": "Debitis non rerum aperiam tenetur placeat ut dignissimos.",
"id": "01k1amypzhgs7fngfx1r9d37pn",
"metadata": null,
"name": "Brekke Group",
"pivot": {
"shop_id": "01k1amypzhgs7fngfx1r9d37pn",
"user_id": "01k7ee7anat9j4bn5v71v70qck"
},
"slug": "brekke-group",
"updated_at": "2025-07-29T09:32:01.000000Z"
}
]"2025-10-13T09:25:31.000000Z"