{ "opencollection": "1.0.0", "info": { "name": "Engagedly Activities Departments API", "version": "beta" }, "request": { "auth": { "type": "apikey", "key": "ClientKey", "value": "{{ClientKey}}", "placement": "header" } }, "items": [ { "info": { "name": "Departments", "type": "folder" }, "items": [ { "info": { "name": "List all departments", "type": "http" }, "http": { "method": "GET", "url": "https://api.engagedly.com/beta/departments", "params": [ { "name": "page", "value": "", "type": "query", "description": "Page number (starts at 1)" }, { "name": "size", "value": "", "type": "query", "description": "Number of records per page (maximum 50)" } ] }, "docs": "Returns a paginated list of all departments in the organization." }, { "info": { "name": "Create a new department", "type": "http" }, "http": { "method": "POST", "url": "https://api.engagedly.com/beta/departments", "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new department in the organization." }, { "info": { "name": "Get a single department", "type": "http" }, "http": { "method": "GET", "url": "https://api.engagedly.com/beta/departments/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The unique identifier of the resource" } ] }, "docs": "Returns details for a single department including its members." }, { "info": { "name": "Update an existing department", "type": "http" }, "http": { "method": "PUT", "url": "https://api.engagedly.com/beta/departments/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The unique identifier of the resource" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates the name and/or members of an existing department." }, { "info": { "name": "Delete a department", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.engagedly.com/beta/departments/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The unique identifier of the resource" } ] }, "docs": "Permanently deletes the specified department." } ] } ], "bundled": true }