Create a contact
Creates a contact in the workspace.
Tags are linked by id or name and must already exist in the workspace — unknown tags are ignored. Use PATCH /contacts/{contactId}/tags to create tags on demand.
customProperties are keyed by property name and only properties already defined in the workspace are persisted.
Request body
Response
Contact created successfully
Changes
Changed in 2 of the 9 revisions of this API.3115
- ▲
request body became required
request-body-became-required
- ▲
request property
agelist-of-types was narrowed by removing typesintegerfrom media typeapplication/jsonrequest-property-list-of-types-narrowed
- ▲
added 'propertyNames' constraint to the request property
customPropertiesrequest-property-property-names-added
- ●
removed the request property
waProfileNamerequest-property-removed
- ○
added the new optional request property
tagsnew-optional-request-property
- ○
request property
birthdatelist-of-types was widened by adding typesnullto media typeapplication/jsonrequest-property-list-of-types-widened
- ○
request property
customProperties/additionalProperties/list-of-types was widened by adding typesnumberto media typeapplication/jsonrequest-property-list-of-types-widened
- ○
request property
emaillist-of-types was widened by adding typesnullto media typeapplication/jsonrequest-property-list-of-types-widened
- ○
request property
firstNamelist-of-types was widened by adding typesnullto media typeapplication/jsonrequest-property-list-of-types-widened
- ○
request property
genderlist-of-types was widened by adding typesnullto media typeapplication/jsonrequest-property-list-of-types-widened
- ○
request property
lastNamelist-of-types was widened by adding typesnullto media typeapplication/jsonrequest-property-list-of-types-widened
- ○
request property
noteslist-of-types was widened by adding typesnullto media typeapplication/jsonrequest-property-list-of-types-widened
- ○
request property
occupationlist-of-types was widened by adding typesnullto media typeapplication/jsonrequest-property-list-of-types-widened
- ○
request property
phonelist-of-types was widened by adding typesnullto media typeapplication/jsonrequest-property-list-of-types-widened
- ○
added the non-success response with the status
400response-non-success-status-added
- ○
added the non-success response with the status
401response-non-success-status-added
- ○
the response property
idbecame required for the status201response-property-became-required
- ○
the
idresponse's property pattern^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$was added for the status201response-property-pattern-added
- ▲
- ○
added the new optional request property
customPropertiesnew-optional-request-property
- ○