Create Bulk User
User
Create Bulk User
/user/bulk
POST
Create Bulk User
This endpoint requires authentication. Include your Bearer token in the Authorization header.
Description
/user/bulk Description: The/user/bulk endpoint allows the creation of multiple users simultaneously by providing an array of user objects, each containing user details.
Method:
POST
Request Payload:
| Parameter | Type | Description |
|---|---|---|
| users | array | An array of user objects with their details. |
| sendEmail (Optional) | boolean | This sends an invite email to the users, by default it is true. |
| redirect_url (Optional) | string | The URL to redirect after creation. |
| message (Optional) | string | For passing the invite email custom message. |
See sample response for request payload in the body below
Code Examples
Authorizations
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Body
application/json