cURL
curl --request POST \ --url https://api.lemlist.com/api/inbox/conversations/labels/{contactId} \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data ' { "labelIds": [ "lbl_3bgE97gvicZ888wz4", "lbl_5kfD28hvjdA777xy9" ], "appendLabels": true } '
{ "ok": true }
Attaches one or more labels to one or more conversations.
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
Contact ID
Array of label IDs to attach
If true, appends labels to existing ones. If false, replaces all labels.
Success
Was this page helpful?