Skip to content

Add Contact



wss contact_add

The contact_add request allows you to create a contact in the database and assign it to the appropriate users who match the specified data.

NameTypeDescription
first_namestringFirst name
last_namestringLast name
companystringCompany name
emailarray[object]List of email addresses
phonearray[object]List of phone numbers

All the same as in the request, but with the specified ID of the record, and the field matched_user_id will appear in the email & phone arrays if the data matches a specific user.

{
"request": {
"contact_add": {
"first_name": "Name",
"last_name": "Surname",
"company": "UserCompany",
"email": [
{ "type": "work", "value": "..." },
{ "type": "home", "value": "..." },
...
],
"phone": [
{ "type": "work", "value": "..." },
{ "type": "home", "value": "..." },
...
]
},
"id": "RequestId"
}
}
{
"response": {
"id": "RequestId",
"contact": {
"_id": "63480e68f4794709f802a2fa",
"first_name": "Name",
"last_name": "Surname",
"company": "UserCompany",
"email": [
{ "type": "work", "value": "...", "matched_user_id": "UID5" },
{ "type": "home", "value": "..." },
...
],
"phone": [
{ "type": "work", "value": "..." },
{ "type": "home", "value": "...", "matched_user_id": "UID7" },
...
],
"updated_at": "2025-08-13T05:51:44.733Z",
"created_at": "2025-08-13T05:51:44.733Z"
}
}
}