Skip to content

Register Public User​

POST
/auth/register/public

Register a new user account publicly. Requires X-Bridge-Secret header for security. Email and user_name must be unique.

Authorizations​

BridgeSecret

Bridge secret for backend integration

TypeAPI Key (header: X-Bridge-Secret)

Request Body​

application/json
JSON
{
"email": "john@example.com",
"password": "SecurePass123!",
"name": "John",
"last_name": "Doe"
}

Responses​

Registration successful

application/json
JSON
{
"success": true,
"message": "Registration successful",
"data": {
"user": {
"id": "usr_123abc",
"email": "user@example.com",
"name": "John",
"last_name": "Doe",
"user_name": "johndoe",
"user_type": "customer",
"is_verified": false
},
"session_id": "ses_xyz789",
"expires_at": "2025-12-15T10:30:00Z"
}
}

Playground​

Server
Authorization
Body

Samples​

Powered by VitePress OpenAPI