{ "opencollection": "1.0.0", "info": { "name": "Helpcenter ContactAttachment API", "version": "1.0.0" }, "items": [ { "info": { "name": "ContactAttachment", "type": "folder" }, "items": [ { "info": { "name": "List Contact Attachments", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/v1/contacts/:contactId/attachments", "params": [ { "name": "include", "value": "", "type": "query" }, { "name": "limit", "value": "", "type": "query" }, { "name": "from", "value": "", "type": "query" }, { "name": "sortBy", "value": "", "type": "query" }, { "name": "contactId", "value": "", "type": "path" } ] }, "docs": "This API lists the files attached to a contact." }, { "info": { "name": "Create Contact Attachment", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/v1/contacts/:contactId/attachments", "params": [ { "name": "contactId", "value": "", "type": "path" } ], "body": { "type": "multipart-form", "data": [ { "name": "file", "type": "text", "value": "" } ] } }, "docs": "This API attaches a file to a contact." }, { "info": { "name": "Delete Contact attachment", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/api/v1/contacts/:contactId/attachments/:attachmentId", "params": [ { "name": "contactId", "value": "", "type": "path" }, { "name": "attachmentId", "value": "", "type": "path" } ] }, "docs": "This API removes an attachment from a contact." } ] } ], "bundled": true }