Purpose: Registers a new user account. Supports two sign-up flows:
Self Registration — User registers independently. No hash required. An OTP is sent to the email for verification.
Workspace Invitation — User was invited to a workspace via email. The invitation hash (received in the invitation email) must be provided along with name and password.
POST /idp/api/v1/user/sign-up
No authentication required. This is a public endpoint.
| Header | Required |
|---|---|
| Content-Type: application/json | ✅ Yes |
{
"email": "string",
"password": "string",
"firstname": "string",
"lastname": "string",
"hash": "string"
}
| Field | Type | Required | Description |
|---|---|---|---|
| string | ✅ Yes | User’s email address | |
| password | string | ✅ Yes | Min 8 chars, must include uppercase, lowercase, number, and special character |
| firstname | string | ✅ Yes | User’s first name |
| lastname | string | ✅ Yes | User’s last name |
| hash | string | ⚠️ Conditional | Required only for workspace invitation flow. UUID received in the invitation email. Must be omitted for self-registration. |
{
"email": "user@example.com",
"password": "Demo12#$",
"firstname": "John",
"lastname": "Doe"
}
hash required/idp/api/v1/user/signUp/verifyEmailOtp{
"email": "user@example.com",
"password": "Demo12#$",
"firstname": "John",
"lastname": "Doe",
"hash": "e0754cfc-f7d1-4cc3-8690-e34a2f17291d"
}
hash is mandatory and must match the one received in the invitation email• Self Registration — OTP is dispatched to the email. Account is pending until OTP is verified.
• Workspace Invitation — Hash is validated against the invitation. Account is activated and linked to the workspace.
• Password Policy — Enforced for both flows.
hash is single-use and time-limited.firstname and lastname are required for both flows.User's email address
Must include uppercase, lowercase, number, and special character.
8User's first name
User's last name
Invitation hash received in the workspace invitation email. Required only for workspace invitation flow.
Self Registration: User registered successfully and OTP sent to email. | Workspace Invitation: User registered and linked to the workspace.