Updates an existing contact. Only provided fields are updated. Set fields to null to clear them.
apiKeyAuth API key authentication. Create an API key in your user profile and include it in the x-api-key header.
In: header
Which contact to address. Must be ONE of: the contact's UUID (e.g. '3fa85f64-5717-4562-b3fc-2c963f66afa6'); an email address (e.g. 'jane@example.com', matched across mail/Google/Outlook); a phone number (e.g. '+491234567890', matched across WhatsApp/Telegram); or 'provider:value' for a messaging handle where provider is one of linkedin, telegram, instagram (e.g. 'linkedin:john-doe', 'telegram:jdoe', 'instagram:jane'). The contact must already exist; unknown or malformed keys are rejected.
1 <= length <= 400application/json
TypeScript Definitions
Use the request body type in TypeScript.
length <= 2551 <= length <= 255Markdown content
Messaging channels for this contact. REPLACE semantics like the relation arrays: when provided, this array becomes the complete channel set (channels not listed are unlinked, their message history detached). Omit the field to leave channels untouched. Each item is { provider, value, messagingId? }; messagingId is the provider-internal id needed to start chats for linkedin, telegram and instagram; without it the channel is view-only.
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://customermates.com/api/v1/contacts/string" \ -H "Content-Type: application/json" \ -d '{}'{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"firstName": "string",
"lastName": "string",
"avatarUrl": "string",
"notes": {},
"identifiers": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"provider": "google",
"value": "string",
"messagingId": "string",
"displayName": "string",
"profileUrl": "string"
}
],
"createdAt": "string",
"updatedAt": "string",
"organizations": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string"
}
],
"users": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"firstName": "string",
"lastName": "string",
"avatarUrl": "string",
"email": "user@example.com"
}
],
"deals": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string"
}
],
"tasks": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"type": "userPendingAuthorization"
}
],
"customFieldValues": [
{
"columnId": "b0676e1a-d8a0-4c5f-99e7-a0ee8909f6dd",
"value": "string"
}
]
}"string""string""string""string"