Humanitech - CRM icon

Humanitech - CRM

CRM da conta (API hut_) — /api/dashboard/crm

Contact → Create or Update

AI-generated

Summary

Create a new contact or update an existing one by sending a POST request to the /contacts/upsert endpoint. At least one of the fields name, email, or phone must be provided.

Inputs

  • email — Email address of the contact (optional, but at least one of name, email, or phone is required).
  • phone — Phone number of the contact (optional, but at least one of name, email, or phone is required).
  • nameUpsert — Name of the contact (optional, but at least one of name, email, or phone is required).
  • requestOptions — Optional settings for the HTTP request such as batching, proxy, timeout, and SSL certificate validation.

Output shape

a single record representing the created or updated contact

The operation returns the contact data as received from the /contacts/upsert API endpoint. The contact is created if it does not exist or updated if it already exists according to the API's upsert logic.

Links

Discussion