Update Contact
Description
Section titled “Description”wss contact_update
The contact_update
request allows you to update the specified fields in the contact object.
Request & Response Fields
Section titled “Request & Response Fields”All the same as in the contact_add
request.
Example
Section titled “Example”{ "request": { "contact_update": { "id": "63480e68f4794709f802a2fa", "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" } }}
See Also
Section titled “See Also” SAMA chat server API: Address book Each of us has at least once faced a situation where we wanted to write to an friend from our contact list, but couldn’t find them on the platform. That is why...