POST

https://api.neobrain.io/{version}

/
users

Authorizations

Authorization
string
headerrequired

API token for the Authorization header parameter.

Body

application/json
firstName
string
required
lastName
string
required
email
string
required
gender
integer | null

For accepted values please access /v1/genders

secondaryEmail
string | null
phone
string | null
secondaryPhone
string | null
address
string | null
city
string | null
zipcode
string | null
country
string | null
locale
string

Only accepts values available for your account. For available languges please access /v1/locales

birthday
string | null

Date format is YYYY-MM-DD

photo
string | null

It can accept image URL or "data" URL scheme usign the RFC-2397 specifications. If this attribute is not set it will default to https://smartmobility.io/upload/profil.jpg. Maximum file size is 5 MB.

entity
string | null

Check /v1/entities to see what existing names are present for your account.

businessUnit
string | null
nationality
string | null
seniority
number | null
status
boolean | null

If none provided it will default to status 1 (active)

employeeId
string | null
additionalFields
object[]

Response

201 - application/json
id
integer
firstName
string
lastName
string
gender
integer
email
string
secondaryEmail
string
phone
string
secondaryPhone
string
address
string
city
string
zipcode
string
country
string
locale
string
birthday
object
photo
string
entity
string
businessUnit
string
nationality
string
seniority
number
status
boolean | null
employeeId
string
managerId
integer
managerProfileId
integer
employeeProfileId
integer
job
object
additionalFields
object[]