Web API Docs Register a user

Navigate

Request

POST /api/user/

Request headers

Header Required value
Content-Type application/json

Request body example

{
  "client_id": XXXXXXXXXXXXXXXXXX,
  "email": "oliver@example.com",
  "password1": "123",
  "password2": "123",
  "display_name": "Oliver"
}

You need to obtain a client_id by registering your application with GeoKey.

Response

{
  "id": 1,
  "display_name": "Oliver"
}

Response codes

Code Reason
201 The user was registered successfully.
400 A user with the email and/or display has already registered.
You did provide an invalid client id or not client id at all.