Create a User
ENDPOINT
POST https://api.codecoogs.com/v1/users
REQUEST BODY
{
"first_name": "Fernando",
"last_name": "Ramirez",
"email": "fernando@gmail.com",
"phone": "1234567890",
"password": "password",
"classification": "Senior",
"expected_graduation": "May 2024",
"points": 0
}
URL Parameters
No parameters.
Body Parameters
first_name string
The user's first name.
last_name string
The user's last name.
email string
The user's email address.
phone string
The user's phone number.
password string
The user's password.
classification string
The user's class standing, such as freshman, sophomore, junior, or senior.
expected_graduation string
The user's expected graduation date.
discord string
Optional
The Discord ID of the user.
team string
Optional
A UUID that references the Team the user is in.
points integer
The number of points the user has.
Returns
Returns a success status after successful user creation. This call returns a success status and an error message if something goes wrong.