updateContact
updateContact: Update an existing contact's information. Requires authentication. Only the fields you provide are changed; omitted fields keep their current values. Get the contactId from listContacts. Returns the updated contact.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | New city name. | |
| No | New email address. | ||
| phone | No | New phone number in '+CC.number' format, e.g. '+1.5551234567'. | |
| state | No | New state, province, or region. | |
| country | No | New country as a 2-letter ISO 3166-1 alpha-2 code, e.g. 'US'. | |
| street1 | No | New first street address line. | |
| street2 | No | New second street address line. | |
| lastName | No | New last name. | |
| contactId | Yes | Identifier of the contact to update, as returned by listContacts. | |
| firstName | No | New first name. | |
| postalCode | No | New postal or ZIP code. | |
| sessionKey | No | Session key (osk_...) returned by checkDeviceLoginStatus. Pass it on every call when logged in via the in-chat device flow; omit when connected via OAuth. | |
| organization | No | New organization or company name. |