Site setup
Setup the site by creating the owner account.
POST
Setup the site by creating the owner account.
Site setup request body
application/json- body
email*stringFormat
emailpassword*stringFormat
passwordsiteTitle?stringThis will be shown across the website on public pages and dashboard.
name?stringOK
application/json- response
user?curl -X POST 'http://localhost:8000/api/v1/auth/setup' \ -H 'Content-Type: application/json' \ -d '{ "email": "user@example.com", "password": "pa$$word"}'Example Response
{ "user": { "authToken": "string", "userId": "string", "name": "string", "username": "string", "email": "user@example.com", "avatar": "string" }}