Skip to content

Account Registration

Create a new TerraScale account by providing your email, password, and optional profile information.


Visit dashboard.terrascale.io and click Sign Up, or use the API directly.

Check your inbox for a verification code and enter it to activate your account.

After verification, you’ll have a personal organization ready for creating databases.


Creates a new user account.

Request:

{
"email": "john@example.com",
"password": "SecurePassword123!",
"firstName": "John",
"lastName": "Doe"
}
FieldTypeRequiredDescription
emailstringYesValid email address
passwordstringYesPassword (min 8 characters, must include uppercase, lowercase, and number)
firstNamestringNoUser’s first name
lastNamestringNoUser’s last name

Response (200 OK):

{
"success": true,
"requiresEmailVerification": true,
"pendingAuthenticationToken": "pat_abc123...",
"email": "john@example.com"
}
FieldTypeDescription
successbooleanWhether signup was successful
requiresEmailVerificationbooleanIf true, user must verify email before login
pendingAuthenticationTokenstringToken for email verification flow
emailstringThe registered email address

Your password must meet these requirements:

  • Minimum 8 characters
  • At least one uppercase letter (A-Z)
  • At least one lowercase letter (a-z)
  • At least one number (0-9)

Example of valid passwords:

  • SecurePass123
  • MyPassword1
  • TerraScale2024!

Once you register:

  1. A verification email is sent to your address
  2. You receive a pendingAuthenticationToken for the verification flow
  3. Your account is inactive until email verification is complete
  4. A personal organization is created automatically upon verification

{
"success": false,
"error": "An account with this email already exists"
}
{
"success": false,
"error": "Password does not meet requirements"
}
{
"success": false,
"error": "Invalid email address format"
}

var client = new ManagementClient(new ManagementClientOptions
{
ApiBaseUrl = "https://api.terrascale.io"
});
var signupResult = await client.Auth.SignupAsync(new SignupRequest(
Email: "john@example.com",
Password: "SecurePassword123!",
FirstName: "John",
LastName: "Doe"
));
if (signupResult.IsSuccess && signupResult.Value.RequiresEmailVerification)
{
Console.WriteLine("Check your email for a verification code!");
// Store the pending token for the verification step
var pendingToken = signupResult.Value.PendingAuthenticationToken;
}