Create a new contact

View as Markdown

Contacts belong to exactly one Lead (specified by lead_id). If you do not provide a lead_id then a new lead will be created, named after the contact.

Authentication

AuthorizationBasic

Basic authentication of the form Basic <base64(username:)>.

OR
AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Query parameters

_fieldsstringOptional

Comma-separated list of fields to include in the response.

Request

This endpoint expects any.

Response

Successful response
created_bystring or null
date_createddatetime
date_updateddatetime
display_namestring
idstring
namestring or null
organization_idstring
titlestring or null
updated_bystring or null
emailslist of objects
lead_idstring or null
lead_suggestions_operation_idstring or null
phoneslist of objects
recent_callslist of objects
subscriptionslist of objects
timezonestring or null
timezone_sourcestring or null
urlslist of objects

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error