Adds labels to a contact.
The labelContact()
function returns a Promise
that resolves when the specified labels are added to the contact.
findOrCreateLabel()
.findOrCreateLabel()
, getLabel()
, or queryLabels()
.
ID of the contact to add labels to.
List of label keys to add to the contact.
Label keys must exist to be added to the contact. Contact labels can be created with the findOrCreateLabel() function. You can use the queryLabels() function to view the currently existing labels.