{ "opencollection": "1.0.0", "info": { "name": "Trengo Channels Labels and Custom Fields API", "version": "2.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Labels and Custom Fields", "type": "folder" }, "items": [ { "info": { "name": "Attach a label to a ticket", "type": "http" }, "http": { "method": "POST", "url": "https://app.trengo.com/api/v2/tickets/:ticket_id/labels", "params": [ { "name": "ticket_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Attaches an existing label to a ticket." }, { "info": { "name": "Create a custom field", "type": "http" }, "http": { "method": "POST", "url": "https://app.trengo.com/api/v2/custom_fields", "body": { "type": "json", "data": "{}" } }, "docs": "Create a custom field" } ] } ], "bundled": true }