Create account
Create a new account with email, password, and name. Sets session cookie.
curl -X POST "https://your-instance/api/auth/sign-up/email" \ -H "Content-Type: application/json" \ -d '{ "email": "[email protected]", "password": "stringst", "name": "string" }'{
"user": {
"id": "usr_abc123",
"email": "[email protected]",
"name": "Alice Martin"
},
"token": "sess_..."
}{
"code": "string",
"message": "string"
}{
"code": "string",
"message": "string"
}{
"code": "string",
"message": "string"
}{
"code": "string",
"message": "string"
}