Skip to main content

Create a user

API operation: Open the endpoint in Scalar

Use POST /users to create a user. The operation documented here is User.register.users.

The documented schema defaults a requested user level to customer level 3, but allowed roles depend on the authenticated caller and project signup settings. Do not infer that only administrators can create every non-customer role.

A standard registration requires contact and password data according to the current schema. Privileged flows can accept either email or cellphone and can create a user without a password so the user can complete credentials later. Project settings can also allow configured business, driver, or professional signup flows.

{
"name": "Example",
"lastname": "User",
"email": "user@example.com",
"password": "[REDACTED]"
}

The example is synthetic.

Legacy SDK example​

const response = await ordering.users().save()

Confirm the SDK package and version before using this helper. For role and field context, see User model.

OpenAPI reference​

Operation: POST /users

Request body fields

NameTypeRequired
cellphonestringNo
city_idintegerNo
country_codestringNo
country_phone_codestringNo
emailstringNo
lastnamestringNo
levelintegerNo
locationobjectNo
namestringNo
passwordstringNo
scheduleobjectNo
settingsobjectNo

Responses

CodeDescription
200OK
400Bad Request (ErrorResponse)
401Unauthorized
404Not Found
429Too Many Requests (ErrorResponse)
500Internal Server Error (ErrorResponse)
503Service Unavailable (ErrorResponse)
Open this operation in the API reference