Create initial admin
POST
/api/initial-user
const url = 'https://hitkeep.com/api/initial-user';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"email":"hello@example.com","given_name":"example","last_name":"example","password":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://hitkeep.com/api/initial-user \ --header 'Content-Type: application/json' \ --data '{ "email": "hello@example.com", "given_name": "example", "last_name": "example", "password": "example" }'Bootstraps first user account during setup.
Request Body required
Section titled “Request Body required ” Media type application/json
object
email
required
string format: email
given_name
string
last_name
string
password
required
string
Example generated
{ "email": "hello@example.com", "given_name": "example", "last_name": "example", "password": "example"}Responses
Section titled “ Responses ”Token created
Media type application/json
object
token
string
Example generated
{ "token": "example"}Setup already complete
Media type application/json
object
message
string
Example generated
{ "message": "example"}