curl --request PATCH \
--url https://messenger-public-api.cogfy.com/contacts/{contactId} \
--header 'Content-Type: application/json' \
--header 'api-key: <api-key>' \
--data '
{
"firstName": "John",
"occupation": "Engineering Manager"
}
'Contacts
Update a contact
Updates 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.
PATCH
/
contacts
/
{contactId}
curl --request PATCH \
--url https://messenger-public-api.cogfy.com/contacts/{contactId} \
--header 'Content-Type: application/json' \
--header 'api-key: <api-key>' \
--data '
{
"firstName": "John",
"occupation": "Engineering Manager"
}
'Authorizations
Path Parameters
Pattern:
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Body
application/json
Only tags that already exist in the workspace are linked
Show child attributes
Show child attributes
Values for the custom contact properties of the workspace, keyed by property name
Show child attributes
Show child attributes
Response
Contact updated successfully