User Registration¶
Register a new user account. The activation OTP email uses ZEPTOMAIL_OTP_TEMPLATE_KEY (registration / activation template), not the login OTP template.
No authentication required.
| Field | Type | Required | Description |
|---|---|---|---|
email |
string | Yes | User's email address (must be unique) |
first_name |
string | Yes | User's first name |
last_name |
string | Yes | User's last name |
password |
string | Yes | User's password (min 8 characters recommended) |
Response¶
Notes¶
- The account will be created with
is_active=False - An OTP will be sent to the provided email address
- You must activate the account using the OTP before logging in
- The password is securely hashed before storage