Skip to content

Create a user

Request

Creates a new user.

Security
ZephrHmacHttp
Bodyapplication/json
validatorsobject(legacy-validators)

Validators are not required for user creation, users created without validators won't be able to sign into Zephr unless they follow a password reset flow, or being mapped as shadow users identified by a JWT.

identifiersobject(identifiers)required
Example:
{ "email_address": "joe.blow@company.com" }
attributesobject(attributes)
Example:
{ "first_name": "Joe", "surname": "Blow", "email_verified": true }
accountMembershipCodestring
email_verifiedboolean
last_loginstring
tracking_idstring
registeredstring
registration_stateobject
registration_tenantstring
session_limitinteger
foreign_keysArray of objects
product_sharing_idstring
created_atstring
{ "user_id": "123456789ABCD", "identifiers": { "email_address": "joe.blow@company.com" }, "attributes": { "first_name": "Joe", "surname": "Blow", "email_verified": true } }

Responses

Created

Headers
any
Bodyapplication/json
resultsArray of objects(user-response)
Response
{ "data": { "user_id": "123456789ABCD", "identifiers": { … }, "attributes": { … }, "email_verified": true } }