On this page6 sections
Register Tenant Workspace
Provisions a new multi-tenant workspace with a unique store subdomain, default MAIN outlet, and an approved owner user assigned username `admin` and the `System Owner` role (`Cache-Control: no-store`).
Authentication: Public endpoint — no Bearer token required.
Request
Provide the following fields in the request payload.
Store owner display name.
Owner email address used for authentication.
Active owner phone or WhatsApp number.
Primary business or store display name.
Unique lowercase tenant subdomain slug.
City or business region.
Primary business vertical.
Initial planned outlet count bracket.
Account password (minimum 8 characters).
Optional store setup context note.
Selected onboarding flow.
Responses
Select a status code to inspect schema.
Indicates the API operation succeeded.
Human-readable response status message.
data field.
tenant field.
id field.
name field.
subdomain field.
city field.
businessCategory field.
plannedOutletCount field.
user field.
id field.
email field.
username field.
name field.
phone field.
role field.
outlet field.
id field.
name field.
code field.
curl -X POST "https://api.invoger.com/api/auth/register" \
-H "Content-Type: application/json" \
-d '{ "name": "Budi Santoso", "email": "owner@tokobuah.com", "phone": "081234567890", "storeName": "Toko Buah Segar", "subdomain": "toko-buah-segar", "city": "Jakarta Selatan", "businessCategory": "retail", "plannedOutlets": "1", "password": "••••••••", "note": "Main store opening setup", "verificationMethod": "otp" }'Response
{
"success": true,
"message": "Store workspace registered successfully",
"data": {
"tenant": {
"id": "t1a2b3c4-0000-4000-8000-000000000001",
"name": "Toko Buah Segar",
"subdomain": "toko-buah-segar",
"city": "Jakarta Selatan",
"businessCategory": "retail",
"plannedOutletCount": "1"
},
"user": {
"id": "e4f8b910-1234-4567-89ab-cdef01234567",
"email": "owner@tokobuah.com",
"username": "admin",
"name": "Budi Santoso",
"phone": "081234567890",
"role": "System Owner"
},
"outlet": {
"id": "o1a2b3c4-0000-4000-8000-000000000001",
"name": "Toko Buah Segar",
"code": "MAIN"
}
}
}