Contacts

Create or update a contact by email

Requires the contacts:write scope.

post/contacts

Request

  • Base URL: https://api.meetdarwin.ai/v1
  • URL: https://api.meetdarwin.ai/v1/contacts
  • Auth: HTTP bearer

Headers

Idempotency-Keystring

Retry safely: the first response is replayed for 24 hours (not for streamed answers).

Request body

emailstring required
first_namestring nullable
last_namestring nullable
companystring nullable
phonestring nullable
external_idstring nullable
attributesobject

Response

The contact existed and was updated.

idstring required
object'contact' required
emailstring required
first_namestring nullable required
last_namestring nullable required
namestring nullable required
companystring nullable required
phonestring nullable required
external_idstring nullable required

Your own id for this person (a CRM record id). Unique per workspace.

attributesobject required
identity_verifiedboolean required
sourcestring required
first_seen_atstring date-time nullable required
last_seen_atstring date-time nullable required
created_atstring date-time nullable required
updated_atstring date-time nullable required
conversation_countinteger
meeting_countinteger

Example response

{
  "id": "ct_4f8k2m9q1x7z3c5v"
}

Changes

No recorded changes to this operation across all 1 revision of this API.