{ "opencollection": "1.0.0", "info": { "name": "Dixa Agents Teams API", "version": "beta" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "Teams", "type": "folder" }, "items": [ { "info": { "name": "List teams", "type": "http" }, "http": { "method": "GET", "url": "https://dev.dixa.io/beta/teams" }, "docs": "Lists all teams in an organization." }, { "info": { "name": "Create team", "type": "http" }, "http": { "method": "POST", "url": "https://dev.dixa.io/beta/teams", "body": { "type": "json", "data": "{}" } }, "docs": "Create a team." }, { "info": { "name": "List members", "type": "http" }, "http": { "method": "GET", "url": "https://dev.dixa.io/beta/teams/:teamId/agents", "params": [ { "name": "teamId", "value": "", "type": "path", "description": "The team id" } ] }, "docs": "Lists all agents/admins in a team." }, { "info": { "name": "Add members", "type": "http" }, "http": { "method": "PATCH", "url": "https://dev.dixa.io/beta/teams/:teamId/agents", "params": [ { "name": "teamId", "value": "", "type": "path", "description": "The team id" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Add agents/admins to a team." }, { "info": { "name": "Remove members", "type": "http" }, "http": { "method": "DELETE", "url": "https://dev.dixa.io/beta/teams/:teamId/agents", "params": [ { "name": "teamId", "value": "", "type": "path", "description": "The team id" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Remove agents/admins from a team." }, { "info": { "name": "List presence", "type": "http" }, "http": { "method": "GET", "url": "https://dev.dixa.io/beta/teams/:teamId/presence", "params": [ { "name": "teamId", "value": "", "type": "path", "description": "The team id" }, { "name": "pageLimit", "value": "", "type": "query", "description": "Maximum number of results per page. May be used in combination with pageKey to change the number of results in between page requests." }, { "name": "pageKey", "value": "", "type": "query", "description": "Base64 encoded form of pagination query parameters. Do not try to construct or change programmatically as the internal structure may change without notice." } ] }, "docs": "List the presence status of all agents/admins in a team." }, { "info": { "name": "Get team", "type": "http" }, "http": { "method": "GET", "url": "https://dev.dixa.io/beta/teams/:teamId", "params": [ { "name": "teamId", "value": "", "type": "path", "description": "The team id" } ] }, "docs": "Get a team by id." }, { "info": { "name": "Delete team", "type": "http" }, "http": { "method": "DELETE", "url": "https://dev.dixa.io/beta/teams/:teamId", "params": [ { "name": "teamId", "value": "", "type": "path", "description": "The team id" } ] }, "docs": "Delete a team." } ] } ], "bundled": true }