You are here: Home > API Reference > Platform > User Authentication > Register user

Register user

Register user

POST
https://api.applivery.io/v1/auth/register

Request

Body Params application/json
email string required
Email address used as the primary account identifier for registration, login, verification, password recovery, and account notifications.
≤ 256 characters · Match pattern: ^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$ · Format: email
password string required
User password for traditional authentication. It must satisfy the platform password-complexity rules and must not be derived from the user email.
≤ 128 characters · ≥ 8 characters
firstName string required
Given name for the user profile created during traditional registration and displayed across dashboard account views.
≤ 128 characters
lastName string required
Family name for the user profile created during traditional registration. Empty strings are accepted for legacy signup compatibility.
≤ 128 characters
newsletter any required
Whether the user opted in to product, marketing, or newsletter communications during registration.
language string optional
Preferred notification language used when sending verification, welcome, and password-recovery emails.
es en fr de it zh pt ru
{
    "email": "[email protected]",
    "password": "string",
    "firstName": "string",
    "lastName": "string",
    "newsletter": true,
    "language": "es"
}

Responses

200 Response application/json
status boolean required
data object required
done any optional
Indicates that an email or password-management operation was accepted by the API.
message string optional
Human-readable result message for account lifecycle operations such as registration, verification resend, and password recovery.
≤ 256 characters
{
    "status": true,
    "data": {
        "done": true,
        "message": "string"
    }
}
400 Response application/json
status boolean optional
false
error object optional
code number optional
6002
message string optional
Body Validation Error
{
    "status": false,
    "error": {
        "code": 5035,
        "message": "Invalid email domain"
    }
}
403 Response application/json
status boolean optional
false
error object optional
code number optional
4009
message string optional
The operation can not be completed at this time. If you already registered an account with this email address, try to log-in
{
    "status": false,
    "error": {
        "code": 4009,
        "message": "The operation can not be completed at this time. If you already registered an account with this email address, try to log-in"
    }
}
Was this page helpful?