v1
latestOpenAPI 3.0.02026-07-2491237338.9 KBContacts
Update a contact
Updates a contact.
patch/contact/contacts/{id}
Path parameters
idstring required
Example:alice_01
Identifier of the contact. Supports a contact ID, a phone number in E.164 format starting with + (for example, +16315551111), or a Meta username without the leading @. A Meta username must contain 3 to 35 letters, digits, periods, or underscores. If a numeric value can be interpreted as both a Meta username and a contact ID, it is resolved as a Meta username first. If no contact has that Meta username, the value is resolved as a contact ID.
Request body
Example request
{
"remarkName": "remark name",
"nickname": "remark name",
"phoneNumber": "+16315551111",
"countryCode": "US",
"email": "support@example.com",
"ownerEmail": "support@example.com"
}Response
Successfully updated the contact.
Example response
{
"nickname": "nickname",
"countryCode": "US",
"phoneNumber": "+16315551111",
"email": "support@example.com",
"lastSeen": "2022-06-01T12:00:00.000Z",
"lastMessageToPhoneNumber": "+16315551111",
"createTime": "2022-06-01T12:00:00.000Z",
"ownerEmail": "support@example.com",
"sourceType": "API",
"sourceId": "batch_import_123",
"sourceUrl": "https://example.com/signup"
}