Chelabase
Login apiApp users

App Sign Up

POST
/auth/v1/app/sign-up

Creates an app user and their users-table row. With email verification off, signs them in; with it on, emails a code and returns no tokens.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

data?|

Values for the users table's own columns. Only columns with GRANT INSERT (column) ON <users table> TO authenticated are accepted.

email*string
password*string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/auth/v1/app/sign-up" \  -H "Content-Type: application/json" \  -d '{    "email": "string",    "password": "string"  }'
{  "access_token": "string",  "expires_in": 0,  "refresh_token": "string",  "token_type": "string",  "user": {    "created_at": "2019-08-24T14:15:22Z",    "email": "string",    "email_verified": true,    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"  }}