{ "opencollection": "1.0.0", "info": { "name": "Chatwoot Account AgentBots Contact Labels API", "version": "1.1.0" }, "items": [ { "info": { "name": "Contact Labels", "type": "folder" }, "items": [ { "info": { "name": "List Labels", "type": "http" }, "http": { "method": "GET", "url": "https://app.chatwoot.com/api/v1/accounts/:account_id/contacts/:id/labels", "params": [ { "name": "account_id", "value": "", "type": "path", "description": "The numeric ID of the account" }, { "name": "id", "value": "", "type": "path", "description": "ID of the contact" } ], "auth": { "type": "apikey", "key": "api_access_token", "value": "{{api_access_token}}", "placement": "header" } }, "docs": "Lists all the labels of a contact" }, { "info": { "name": "Add Labels", "type": "http" }, "http": { "method": "POST", "url": "https://app.chatwoot.com/api/v1/accounts/:account_id/contacts/:id/labels", "params": [ { "name": "account_id", "value": "", "type": "path", "description": "The numeric ID of the account" }, { "name": "id", "value": "", "type": "path", "description": "ID of the contact" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "api_access_token", "value": "{{api_access_token}}", "placement": "header" } }, "docs": "Add labels to a contact. Note that this API would overwrite the existing list of labels associated to the conversation." } ] } ], "bundled": true }