SoftSolzSoftSolz
HomeAPI GuideAPI ReferenceWidget Tester
customer auth

Create an end-user from a trusted server (skips email verification when verified=true).

Create an end-user from a trusted server (skips email verification when verified=true).

POSThttps://staging.softsolz.uk/api/v1/services/customer-auth/users

Recent Requests

Log in to see full request history
TimeStatusUser Agent
Make a request to see history.

Headers

Authorizationstringrequired

Bearer token: `Bearer sk_live_...` (or `sk_test_...` for sandbox). A login token will not work here.

Idempotency-Keystring

Optional idempotency key for safe retries.

Body Params

emailstring

End-user email (lower-cased, max 254 chars).

passwordstring

Plaintext password (bcrypt-hashed server-side).

namestring | null

Display name (max 200 chars).

verifiedboolean

When true, create the user active with email_verified_at set.

metadataobject

Arbitrary tenant-defined metadata.

Response

Response Body

idstringEnd-user id.
emailstringEnd-user email.
namestring | nullDisplay name.
profile_picture_urlstring | nullAvatar URL.
statusstringAccount status.
email_verified_atstring | nullWhen the email was verified.
mfa_enabledbooleanWhether TOTP MFA is enabled.
mfa_enabled_atstring | nullWhen TOTP MFA was enabled.
last_login_atstring | nullLast successful login.
created_atstringCreation timestamp.
updated_atstringLast update timestamp.
metadataobjectTenant-defined metadata bag.

Request

import { SoftSolz } from '@softsolz/sdk';
const client = new SoftSolz({ apiKey: process.env.SOFTSOLZ_API_KEY });
const result = await client.customerAuth.createUser({});
console.log(result);

Credentials

Sent as a Bearer token. Stored only in your browser.

Response · 201

{
"data": {
"id": "string",
"email": "string",
"name": "string",
"profile_picture_url": "string",
"status": "string",
"email_verified_at": "string",
"mfa_enabled": true,
"mfa_enabled_at": "string",
"last_login_at": "string",
"created_at": "string",
"updated_at": "string",
"metadata": {}
}
}