post https://{appid}.api-{region}.cometchat.io/v3/users
Creates a new user
UIDs would be automatically converted to lowercase while creating a user.
For a detailed description of the User properties please visit here
Request Syntax:
POST /users HTTP/1.1
Content-type: application/json
Accept: application/json
{
"uid": "string",
"name": "string",
"avatar": "URL string",
"link": "URL string",
"role": "string",
"metadata": {
"any key": "value pair",
"@private":{
"email": "string",
"contactNumber": "string"
},
},
"tags":["array of string"],
"withAuthToken": boolean
}