Coghub icon

Coghub

Interagir com a API do Coghub

Actions129

Contacts → Contact Update

AI-generated

Summary

Update an existing contact in Coghub by specifying the unique identifier and providing updated values for fields such as name, email, phone number, avatar, and additional or custom attributes.

Inputs

  • identifier (required) — A unique identifier for the contact in the external system to specify which contact to update.
  • name — The contact's name to update.
  • email — The contact's email address to update.
  • blocked — Boolean flag indicating whether the contact is blocked.
  • phone_number — The contact's phone number to update.
  • avatar — Binary data for the contact's avatar image or image data to be sent as form data.
  • avatar_url — URL to an image file (jpeg or png) for the contact's avatar.
  • additional_attributes — A JSON object with additional attributes for the contact (e.g., {"type":"customer", "age":30}).
  • custom_attributes — A JSON object with custom attributes for the contact according to custom attribute definitions.
  • requestOptions — Configuration options including batching, proxy, timeout, and SSL certificate validation handling.

Output shape

a single updated contact record

The operation returns the updated contact object reflecting the changes. The request requires the contact's unique identifier. Optional fields can be omitted to leave them unchanged. Supports JSON inputs for additional and custom attributes.

Links

Discussion