The Contacts API allows you to create and manage contacts. When a new visitor first shares their contact information with a site, they're added to the site's contact list. You can then access contacts and their details using the Contacts API.
A site visitor becomes a contact when:
- They submit their contact details to a form, such as event registrations, customer support inquiries, or billing address submissions.
- They register as a member of the site.
- A Wix user imports a contact, adds a contact manually, or creates a contact with the Contacts API.
Learn more about how Wix users can manage a site's contact list.
With the Contacts API, you can:
- Create, manage, and categorize contacts.
- Retrieve information about existing contacts.
It is important to note the following points before starting to code:
- You can't label or unlabel a contact if the label doesn't exist. To retrieve or create a label, use the Labels API.
- Merging a contact is irreversible.
- Wix users can only be specified as the target contact when merging contacts.
- Label: A tag that enables Wix users to organize and group contacts.
- Extended field: An additional property that stores contact information.
- Source contact: A contact you intend to merge into a target contact. These contacts get deleted after being merged.
- Target contact: A contact that receives merged data from source contacts.