Managing labels

These endpoints update all contacts in perspective from a label and return a summary of the label in question.

Add a label for multiple contacts

Endpoint: POST /v2/labels/{labelName}/contacts

This endpoint allows you to add a label to many contacts at once. It takes a collection of contact IDs

Exempel-input:

[ "5d8b19f972c0b7514c5b0f" "5d8b19f972c0b7515c5b0f" "5d8b19f972c0b7516c5b0f" ]

Delete a label

Endpoint: DELETE /v2/labels/{labelName}

This endpoint allows you to delete a label and can remove it from any contacts that have it. The contacts are otherwise intact.

Response data type

{ "labelName": "Coworker", "usageCount": 3 }