Skip to main content

Create User


Register a new end-customer user under your partner account.

Endpoint

PropertyValue
URLPOST /white-label-partner/create-user
MethodPOST
AuthR-Auth: <partner-jwt>
Content-Typeapplication/json

Example Request

curl --location '{{baseUrl}}/white-label-partner/create-user' \
--header 'Content-Type: application/json' \
--header 'R-Auth: {{partnerJwt}}' \
--data-raw '{
"email": "alice@customer.com",
"firstName": "Alice",
"lastName": "Smith"
}'

Request body

{
"email": "alice@customer.com",
"firstName": "Alice",
"lastName": "Smith"
}

Request fields

FieldTypeRequiredDescription
emailstringYesUnique email address for the user
firstNamestringYesUser's first name
lastNamestringYesUser's last name

Response

{
"userId": "1a2b3c4d-5e6f-7890-abcd-ef0123456789"
}

Response fields

FieldDescription
userIdUUID of the newly created user

Notes

note

The user authenticates using the company API key returned from Create company, not a personal password.

Duplicate email

A duplicate email returns 409 USER_EXISTS_BY_MAIL.