Documentation

← Back to site

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 user
  • first_name - the user's first name
  • last_name - the user's last name
  • password - a password for this user
  • unit_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
}