Chelabase
Login apiLogin

Sign Up

POST
/auth/v1/sign-up

Creates an account: the fresh-install admin with the setup code, otherwise a person waiting for an admin's approval. With email verification off it signs them in, so the answer is studio (the session cookie) or pending (no cookie). With it on, verify and the HttpOnly step cookie that the code step reads.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

email*string
familyName*string
givenName*string
password*string
setupCode?|

The setup code that chelabase-init secrets printed: the first sign-up of an unclaimed instance needs it (case and dashes don't matter). Ignored once the instance is claimed.

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/sign-up" \  -H "Content-Type: application/json" \  -d '{    "email": "string",    "familyName": "string",    "givenName": "string",    "password": "string"  }'
{  "next": "studio"}