Â
Â
The Contacts API provides functionality for adding and managing contacts on your site. When a new visitor shares contact information with your site, they're added to your Contact List. You can then access their contact details using the API.
A site visitor can become a contact through various methods, including but not limited to:
With the Contacts API, you can:
It is important to note the following points before you begin to code:
To use the Contacts API, import { contacts }
from the wix-crm.v2
module.
1
Functions in the Labels API are restricted and only run if you elevate permissions using the wix-auth
elevate()
function.
Warning: Elevating a function allows it to be called by any site visitor. Exercise caution to prevent security vulnerabilities.