Skip to main content
Create or update an account by submitting your details along with the OTP you received from Request OTP. All four required fields must be present and the OTP must still be valid.

Request

POST /auth/signup
string
required
The user’s display name.
string
required
The email address associated with the account.
string
required
The password for the new account.
string
required
The one-time password sent to your email via the Request OTP endpoint.
string
The account role. Accepted values: USER, RIDER, DRIVER, ADMIN. Defaults to the application’s default role if omitted.

Response

string
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