Update a contact
Changed onUpdates the given fields of a contact. Omitted fields are left untouched; sending null clears the field.
Tags are linked by id or name and must already exist in the workspace — unknown tags are ignored. Use PATCH /contacts/{contactId}/tags to create tags on demand.
Request
- Base URLhttps://messenger-public-api.cogfy.com
- AuthAPI key in header api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Request body
Response
Contact updated successfully
Changes
- breaking
added the new path request parameter
contactId
- breaking
- breaking
request body became required
- breaking
request property
list-of-types was narrowed by removing typesintegerfrom media typeapplication/json - breaking
added 'propertyNames' constraint to the request property
- breaking
removed the media type
application/jsonfor the response with the status - breaking
removed the success response with the status
- warning
deleted the
pathrequest parametercontactId - info
added the new optional request property
- info
request property
list-of-types was widened by adding typesnullto media typeapplication/json - info
request property
/list-of-types was widened by adding typesnumberto media typeapplication/json - info
request property
list-of-types was widened by adding typesnullto media typeapplication/json - info
request property
list-of-types was widened by adding typesnullto media typeapplication/json - info
request property
list-of-types was widened by adding typesnullto media typeapplication/json - info
request property
list-of-types was widened by adding typesnullto media typeapplication/json - info
request property
list-of-types was widened by adding typesnullto media typeapplication/json - info
request property
list-of-types was widened by adding typesnullto media typeapplication/json - info
request property
list-of-types was widened by adding typesnullto media typeapplication/json - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the success response with the status
- breaking