Site

Set up site

POST
/auth/setup

Setup the site by creating the owner account.

Request Body

application/json

Site setup request body

email*string
Formatemail
password*string
Formatpassword
siteTitle?string

This will be shown across the website on public pages and dashboard.

name?string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/auth/setup" \  -H "Content-Type: application/json" \  -d '{    "email": "user@example.com",    "password": "pa$$word"  }'
{  "user": {    "authToken": "string",    "userId": "string",    "name": "string",    "username": "string",    "email": "user@example.com",    "avatar": "string"  }}