Register User
User Endpoints
Register User
Create a new user account
POST
Register User
Endpoint
Headers
Must be
application/jsonMust be
application/jsonRequest Body
User’s first name
User’s last name
Valid email address. Must be unique in the system.
Phone number with country code (e.g., +573001234567)
User password. Should be at least 8 characters.
Street address
Location latitude in decimal degrees
Location longitude in decimal degrees
Alternative field for latitude (backend accepts both)
Alternative field for longitude (backend accepts both)
City name
Department/state name
Country name
Response
Indicates if registration was successful
Success or error message
Created user object
Request Example
Response Example
Error Responses
Invalid input data or email already registered
Server error during registration process
Notes
After successful registration, the user can immediately login using the
/auth/login.php endpoint.See Also
- Login - Authenticate an existing user
- User Profile - Get user profile information
- Email Verification - Verify user email address