Sign up a new user
Last updated on October 08, 2014 16:43
This method will register a new user account. This is the only API method that does not require authentication, so the HTTP basic auth information may be omitted from this request.
URL
/api/v1/users/create
Parameters
email_address
- the contact address for the new userfirst_name
- the user's first namelast_name
- the user's last namepassword
- a password for this userunit_price
- the price (in pence per unit) this user pays for electricity (optional)
Response
{
"email_address": "[email protected]",
"first_name": "Charlie",
"last_name": "Smurthwaite",
"unit_price": 12.5
}