Skip to main content

Add a label to contacts

POST 

/api/labels/:label/contacts

Adds the label to each contact in the body. A contact that already has the label is left unchanged. Contacts the caller cannot edit, and contacts that do not exist, are skipped. The caller's own label row is created when they do not have one yet. Returns how many contacts changed. Requires editor or admin on each address book. A body without contacts returns 400.

Request​

Responses​

How many contacts gained the label.