# Add User **POST /user** Add a new user to the whitelist. The user will be able to sign in with the application. **Note**: + The system can only have 01 superadmin. + "manager" can't add more users. + "admin" can't add more superadmins. ## Servers - Local development API: http://localhost:5000 (Local development API) - Production API: https://api.meddict-vinuni.com (Production API) ## Authentication methods - Api key cookie ## Parameters ### Body: application/json (object) - **email** (string) - **role** (string) ## Responses ### 200 Successful Response. Either added successfully or already exists. #### Body: application/json (object) - **detail** (string) ### 400 Invalid added roles #### Body: application/json (object) - **detail** (string) ### 401 Unauthorized #### Body: application/json (object) - **detail** (string) ### 422 Validation Error #### Body: application/json (object) - **detail** (array[object]) [Powered by Bump.sh](https://bump.sh)