Skip to main content

Add contact

Create new contact account, if password is provided you can use provided email addres to login as that contact.

HTTP Request

POST /contact

Auth: true

QUERY PARAMETERS

ParameterTypeDescription
passwordstringOptional, allows you to login as contact
privilegesarrayArray with privileges that you want to enable. Formatted the same way as output from GET /contact/privileges
typestringAccount Type
companynamestringOrganization
taxidstringMã số thuế
genderstringDanh xưng
lastnamestringLast Name
firstnamestringFirst Name
emailstringEmail Address
phonenumberstringPhone
nationalidstringCCCD/Passport
birthdaystringBirthday
countrystringCountry
statestringState
citystringCity
wardstringXã/Phường
address1stringAddress 1
verificationstringVerification

Example Response


{
"contact_id": "1",
"info": [
"profile_added"
]
}