Toggle Label on Contact
Contacts
Toggle Contact Label
Attach or detach a label from a contact. If the label is already attached, it will be detached, and vice versa.
POST
Toggle Label on Contact
JSON Example
📝 Field Requirements
| Field | Type | Required | Notes |
|---|---|---|---|
label_id | integer | Yes | ID of the label to toggle (must exist in workspace) |
🔄 Behavior
This endpoint toggles a label on a contact:- If the label is not currently assigned to the contact, it will be added
- If the label is already assigned to the contact, it will be removed
✅ Success Response
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
ID of the workspace.
ID of the contact.
Body
application/json
ID of the label to toggle.