register
Confirm a user is a world_bank employee and create the user in the application.
User registration endpoint.
/v1/apis/register/
GET https://carpoolingbackend.herokuapp.com/v1/apis/register/?apiKey={api_key}&email={email}
This endpoint allows you to confirm a user email from the WB database and also registers the user on the application.
Query Parameters
Name
Type
Description
apiKey
string
An API key to authenticate the user.
string
The email to be used to login the user.
{
"first_name": "Vick",
"last_name": "Waichigo",
"username": "vick",
"phone_number": "0700000000",
"email": "waichigovick@gmail.com"
}[]
register example.

A new user should now be registered of the request status_code is 200, and a user object should be returned as the response.
Last updated
Was this helpful?