# General User Registration **POST /api/v1/register** Register a new user with basic information and role assignment. This endpoint creates a user account with specified role (Student, Lecturer, or Admin) and basic profile information. ## Servers - Local server: http://localhost:3500 (Local server) - Production server: https://api.echoplain.social (Production server) ## Parameters ### Body: application/json (object) User registration information - **firstname** (string) - **lastname** (string) - **email** (string) - **role** (string) - **phone** (string) - **password** (string) ## Responses ### 201 User registered successfully #### Body: application/json (object) - **message** (string) - **user** (object) ### 400 Invalid registration data or validation errors ### 500 Server error during registration process [Powered by Bump.sh](https://bump.sh)