Request
POST /auth/signup
The user’s display name.
The email address associated with the account.
The password for the new account.
The one-time password sent to your email via the Request OTP endpoint.
The account role. Accepted values:
USER, RIDER, DRIVER, ADMIN. Defaults to the application’s default role if omitted.Response
Returns
"Account created/updated successfully." on success.Example
The OTP must be valid and not expired. Request a new OTP via Request OTP if yours has expired.
Error codes
| Status | Meaning |
|---|---|
| 400 | One or more required fields are missing, the OTP is absent, or the OTP is invalid/expired |