Creates contact. Check "data" in example bellow.
Parameters
| Name | Type | Description |
data required | object | dictionary with contact data |
cb optional | function | callback function |
Example
this.createContact = function(data, cb){
return _request({
method: 'POST',
url: '/contact/create',
data: data,
callback: cb
});
};
Example Result
{
email: 'hello@world.net',
name : 'mr. Smith'
}
0 Comments