Update Contact
Updates an existing contact. Use this unified endpoint to update standard profile fields, add/remove tags by modifying the tagsId array, and update user-defined custom field values inside the customFields array.
id in the URL path. All body parameters are optional. You only need to send the specific fields you want to change.
This is a unified endpoint. You can update standard profile fields, assign or remove tags, and modify custom field values in a single request.
To update tags, you must provide the complete array of tagsId that the contact should have. To update custom fields, you only need to pass the specific fields you wish to update within the customFields array.Authorizations
Path Parameters
The unique 24-character ID of the contact to update.
Body
Contact's first name
2 - 50"John"
Contact's last name
50"Doe"
Formatted name used in active chats
100"John Doe"
Contact's email address
"john.doe@example.com"
Phone number without country code
"9876543210"
Country code including '+'
"+91"
Custom source identifier
50"website"
WhatsApp subscription status
Complete updated list of 24-character hexadecimal MongoDB Tag IDs.
["65e0bc51c12e4d70834b070e"]Complete list of custom fields to update/override. If a custom field is not supplied, its value is retained.
Date of Birth (YYYY-MM-DD)
"1990-01-15"
Anniversary date (YYYY-MM-DD)
"2020-06-20"
