{
  "id": "@itentialopensource/adapter-slack",
  "type": "Adapter",
  "export": "Slack",
  "title": "Slack",
  "src": "adapter.js",
  "roles": [
    "admin"
  ],
  "methods": [
    {
      "name": "iapUpdateAdapterConfiguration",
      "summary": "Updates the adapter configuration",
      "description": "Updates the adapter configuration file with the provided changes",
      "input": [
        {
          "name": "configFile",
          "type": "string",
          "info": "The name of the file to change",
          "required": true,
          "schema": {
            "title": "configFile",
            "type": "string"
          }
        },
        {
          "name": "changes",
          "type": "object",
          "info": "JSON object containing the configuration changes",
          "required": true,
          "schema": {
            "title": "changes",
            "type": "object"
          }
        },
        {
          "name": "entity",
          "type": "string",
          "info": "The entity in which the changes are being made",
          "required": false,
          "schema": {
            "title": "entity",
            "type": "string"
          }
        },
        {
          "name": "type",
          "type": "string",
          "info": "The type of file to change - action, schema, or mock",
          "required": false,
          "schema": {
            "title": "type",
            "type": "string"
          }
        },
        {
          "name": "action",
          "type": "string",
          "info": "The action to be changed",
          "required": false,
          "schema": {
            "title": "action",
            "type": "string"
          }
        },
        {
          "name" : "replace",
          "type": "boolean",
          "info": "True to replace entire mock data, false to merge/append",
          "required": false,
          "schema": {
            "title": "replace",
            "type" : "boolean"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/iapUpdateAdapterConfiguration"
      },
      "task": true
    },
    {
      "name": "iapSuspendAdapter",
      "summary": "Suspends the adapter",
      "description": "Suspends the adapter",
      "input": [
        {
          "name": "mode",
          "type": "enum",
          "enumerals": [
            "pause",
            "error"
          ],
          "info": "How incoming requests are handled. Defaults to 'pause'",
          "description": "How incoming requests are handled. Defaults to 'pause'",
          "schema": {
            "title": "mode",
            "type": "string"
          },
          "required": false
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing the adapter suspended status",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/iapSuspendAdapter"
      },
      "task": true
    },
    {
      "name": "iapUnsuspendAdapter",
      "summary": "Unsuspends the adapter",
      "description": "Unsuspends the adapter",
      "input": [],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing the adapter suspended status",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/iapUnsuspendAdapter"
      },
      "task": true
    },
    {
      "name": "iapGetAdapterQueue",
      "summary": "Return the requests that are waiting in the queue if throttling is enabled",
      "description": "Return the requests that are waiting in the queue if throttling is enabled",
      "input": [],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing the adapter queue",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/iapGetAdapterQueue"
      },
      "task": true
    },
    {
      "name": "iapFindAdapterPath",
      "summary": "Provides the ability to see if a particular API path is supported by the adapter",
      "description": "Provides the ability to see if a particular API path is supported by the adapter",
      "input": [
        {
          "name": "apiPath",
          "type": "string",
          "info": "The API Path you want to check - make sure to not include base path and version",
          "description": "The API Path you want to check - make sure to not include base path and version",
          "schema": {
            "title": "apiPath",
            "type": "string"
          },
          "required": true
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/iapFindAdapterPath"
      },
      "task": true
    },
    {
      "name": "iapTroubleshootAdapter",
      "summary": "Runs troubleshoot script for adapter",
      "description": "Runs troubleshoot script for adapter",
      "input": [
        {
          "name": "props",
          "type": "object",
          "info": "Object containing configuration, healthcheck and auth properties {'connProps':{'host': 'api.service.com', 'base_path': '/', 'protocol': 'http', 'port': 443, 'version': 'v1'},'healthCheckEndpoint': '/healthcheck', 'auth': {'auth_method': 'no authentication', 'username': 'username', 'password': 'password'}}",
          "required": true,
          "schema": {
            "title": "props",
            "type": "object"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing the test results",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/iapTroubleshootAdapter"
      },
      "task": true
    },
    {
      "name": "iapRunAdapterHealthcheck",
      "summary": "Runs healthcheck script for adapter",
      "description": "Runs healthcheck script for adapter",
      "input": [],
      "output": {
        "name": "result",
        "type": "boolean",
        "description": "Whether healthcheck passed or failed",
        "schema": {
          "title": "result",
          "type": "boolean"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/iapRunAdapterHealthcheck"
      },
      "task": true
    },
    {
      "name": "iapRunAdapterConnectivity",
      "summary": "Runs connectivity check script for adapter",
      "description": "Runs connectivity check script for adapter",
      "input": [],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing the test results",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/iapRunAdapterConnectivity"
      },
      "task": true
    },
    {
      "name": "iapRunAdapterBasicGet",
      "summary": "Runs basicGet script for adapter",
      "description": "Runs basicGet script for adapter",
      "input": [
        {
          "name": "maxCalls",
          "required": false,
          "type": "number", 
          "info": "How many GET endpoints to test (defaults to 5)",
          "schema": {
            "title": "maxCalls",
            "type": "number", 
            "default": 5
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing the test results",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/iapRunAdapterBasicGet"
      },
      "task": true
    },
    {
      "name": "iapMoveAdapterEntitiesToDB",
      "summary": "Moves entities from an adapter into the Itential Platform database",
      "description": "Moves entities from an adapter into the Itential Platform database",
      "input": [],
      "output": {
        "name": "res",
        "type": "object",
        "description": "A JSON Object containing status, code and the response from the mongo transaction",
        "schema": {
          "title": "res",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/iapMoveAdapterEntitiesToDB"
      },
      "task": true
    },
    {
      "name": "iapDeactivateTasks",
      "summary": "Deactivate the inputted tasks",
      "description": "Deactivate the inputted tasks",
      "input": [
        {
          "name": "tasks",
          "type": "array",
          "description": "Tasks to deactivate",
          "schema": {
            "title": "tasks",
            "type": "array"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing success status",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/iapDeactivateTasks"
      },
      "task": true
    },
    {
      "name": "iapActivateTasks",
      "summary": "Activate the inputted tasks",
      "description": "activate the inputted tasks",
      "input": [
        {
          "name": "tasks",
          "type": "array",
          "description": "Tasks to activate",
          "schema": {
            "title": "tasks",
            "type": "array"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing success status",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/iapActivateTasks"
      },
      "task": true
    },
    {
      "name": "iapPopulateEntityCache",
      "summary": "Populate the cache for the given entities",
      "description": "Populate the cache for the given entities",
      "input": [
        {
          "name": "entityTypes",
          "type": "array",
          "info": "the entity type(s) to populate",
          "required": true,
          "schema": {
            "title": "entityTypes",
            "type": "array"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/iapPopulateEntityCache"
      },
      "task": true
    },
    {
      "name": "iapRetrieveEntitiesCache",
      "summary": "Retrieves data from cache for specified entity type",
      "description": "Retrieves data from cache for specified entity type",
      "input": [
        {
          "name": "entityType",
          "type": "string",
          "info": "entity of which to retrieve",
          "required": true,
          "schema": {
            "title": "entityType",
            "type": "string"
          }
        },
        {
          "name": "options",
          "type": "object",
          "info": "settings of which data to return and how to return it",
          "required": false,
          "schema": {
            "title": "options",
            "type": "object"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/iapRetrieveEntitiesCache"
      },
      "task": true
    },
    {
      "name": "getDevice",
      "summary": "Get the Appliance",
      "description": "Get the Appliance",
      "input": [
        {
          "name": "deviceName",
          "type": "string",
          "info": "An Appliance Device Name",
          "required": true,
          "schema": {
            "title": "deviceName",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getDevice"
      },
      "task": false
    },
    {
      "name": "getDevicesFiltered",
      "summary": "Get Appliances that match the filter",
      "description": "Get Appliances that match the filter",
      "input": [
        {
          "name": "options",
          "type": "object",
          "info": "options - e.g. { 'start': 1, 'limit': 20, 'filter': { 'name': 'abc123' } }",
          "required": true,
          "schema": {
            "title": "options",
            "type": "object"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "array",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "array"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getDevicesFiltered"
      },
      "task": false
    },
    {
      "name": "isAlive",
      "summary": "Checks the status for the provided Appliance",
      "description": "Checks the status for the provided Appliance",
      "input": [
        {
          "name": "deviceName",
          "type": "string",
          "info": "An Appliance Device Name",
          "required": true,
          "schema": {
            "title": "deviceName",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "boolean",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "boolean"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/isAlive"
      },
      "task": false
    },
    {
      "name": "getConfig",
      "summary": "Gets a config for the provided Appliance",
      "description": "Gets a config for the provided Appliance",
      "input": [
        {
          "name": "deviceName",
          "type": "string",
          "info": "An Appliance Device Name",
          "required": true,
          "schema": {
            "title": "deviceName",
            "type": "string"
          }
        },
        {
          "name": "format",
          "type": "string",
          "info": "The format to be returned - this is ignored as we always return json",
          "required": false,
          "schema": {
            "title": "format",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getConfig"
      },
      "task": false
    },
    {
      "name": "iapGetDeviceCount",
      "summary": "Gets a device count from the system",
      "description": "Gets a device count from the system",
      "input": [],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/iapGetDeviceCount"
      },
      "task": false
    },
    {
      "name": "iapExpandedGenericAdapterRequest",
      "summary": "Makes the requested generic call with additional options",
      "description": "Makes the requested generic call with additional options via metadata",
      "input": [
        {
          "name": "metadata",
          "type": "object",
          "info": "metadata for the call (optional)",
          "description": "metadata for the call - allows for many enhancements (optional)",
          "schema": {
            "title": "metadata",
            "type": "object"
          },
          "required": false
        },
        {
          "name": "uriPath",
          "type": "string",
          "info": "the path of the api call - do not include the host, port, base path or version",
          "description": "the path of the api call",
          "schema": {
            "title": "uriPath",
            "type": "string"
          },
          "required": false
        },
        {
          "name": "restMethod",
          "type": "string",
          "info": "the rest method (GET, POST, PUT, PATCH, DELETE)",
          "description": "the rest method (GET, POST, PUT, PATCH, DELETE)",
          "schema": {
            "title": "restMethod",
            "type": "string"
          },
          "required": false
        },
        {
          "name": "pathVars",
          "type": "object",
          "info": "the parameters to be put within the url path (optional)",
          "description": "the parameters to be put within the url path (optional)",
          "schema": {
            "title": "pathVars",
            "type": "object"
          },
          "required": false
        },
        {
          "name": "queryData",
          "type": "object",
          "info": "the query parameters to be put on the url (optional)",
          "description": "the query parameters to be put on the url (optional)",
          "schema": {
            "title": "queryData",
            "type": "object"
          },
          "required": false
        },
        {
          "name": "requestBody",
          "type": "object",
          "info": "the payload to be sent with the request (optional)",
          "description": "the payload to be sent with the request (optional)",
          "schema": {
            "title": "requestBody",
            "type": "object"
          },
          "required": false
        },
        {
          "name": "addlHeaders",
          "type": "object",
          "info": "additional headers to be put on the call (optional)",
          "description": "additional headers to be put on the call (optional)",
          "schema": {
            "title": "addlHeaders",
            "type": "object"
          },
          "required": false
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/iapExpandedGenericAdapterRequest"
      },
      "task": true
    },
    {
      "name": "genericAdapterRequest",
      "summary": "Makes the requested generic call",
      "description": "Makes the requested generic call",
      "input": [
        {
          "name": "uriPath",
          "type": "string",
          "info": "the path of the api call - do not include the host, port, base path or version",
          "description": "the path of the api call",
          "schema": {
            "title": "uriPath",
            "type": "string"
          },
          "required": true
        },
        {
          "name": "restMethod",
          "type": "string",
          "info": "the rest method (GET, POST, PUT, PATCH, DELETE)",
          "description": "the rest method (GET, POST, PUT, PATCH, DELETE)",
          "schema": {
            "title": "restMethod",
            "type": "string"
          },
          "required": true
        },
        {
          "name": "queryData",
          "type": "object",
          "info": "the query parameters to be put on the url (optional)",
          "description": "the query parameters to be put on the url (optional)",
          "schema": {
            "title": "queryData",
            "type": "object"
          },
          "required": false
        },
        {
          "name": "requestBody",
          "type": "object",
          "info": "the payload to be sent with the request (optional)",
          "description": "the payload to be sent with the request (optional)",
          "schema": {
            "title": "requestBody",
            "type": "object"
          },
          "required": false
        },
        {
          "name": "addlHeaders",
          "type": "object",
          "info": "additional headers to be put on the call (optional)",
          "description": "additional headers to be put on the call (optional)",
          "schema": {
            "title": "addlHeaders",
            "type": "object"
          },
          "required": false
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/genericAdapterRequest"
      },
      "task": true
    },
    {
      "name": "genericAdapterRequestNoBasePath",
      "summary": "Makes the requested generic call",
      "description": "Makes the requested generic call",
      "input": [
        {
          "name": "uriPath",
          "type": "string",
          "info": "the path of the api call - do not include the host, port, base path or version",
          "description": "the path of the api call",
          "schema": {
            "title": "uriPath",
            "type": "string"
          },
          "required": true
        },
        {
          "name": "restMethod",
          "type": "string",
          "info": "the rest method (GET, POST, PUT, PATCH, DELETE)",
          "description": "the rest method (GET, POST, PUT, PATCH, DELETE)",
          "schema": {
            "title": "restMethod",
            "type": "string"
          },
          "required": true
        },
        {
          "name": "queryData",
          "type": "object",
          "info": "the query parameters to be put on the url (optional)",
          "description": "the query parameters to be put on the url (optional)",
          "schema": {
            "title": "queryData",
            "type": "object"
          },
          "required": false
        },
        {
          "name": "requestBody",
          "type": "object",
          "info": "the payload to be sent with the request (optional)",
          "description": "the payload to be sent with the request (optional)",
          "schema": {
            "title": "requestBody",
            "type": "object"
          },
          "required": false
        },
        {
          "name": "addlHeaders",
          "type": "object",
          "info": "additional headers to be put on the call (optional)",
          "description": "additional headers to be put on the call (optional)",
          "schema": {
            "title": "addlHeaders",
            "type": "object"
          },
          "required": false
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/genericAdapterRequestNoBasePath"
      },
      "task": true
    },
    {
      "name": "iapRunAdapterLint",
      "summary": "Run the adapter lint script to return the results",
      "description": "Run the adapter lint script to return the results",
      "input": [],
      "output": {
        "name": "result",
        "type": "string",
        "description": "A string containing the run results",
        "schema": {
          "title": "result",
          "type": "string"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "GET",
        "path": "/iapRunAdapterLint"
      },
      "task": true
    },
    {
      "name": "iapRunAdapterTests",
      "summary": "Run the adapter test scripts (baseunit and unit) to return the results",
      "description": "Run the adapter test scripts (baseunit and unit) to return the results",
      "input": [],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "GET",
        "path": "/iapRunAdapterTests"
      },
      "task": true
    },
    {
      "name": "iapGetAdapterInventory",
      "summary": "Provide inventory information abbout the adapter",
      "description": "Provide inventory information abbout the adapter",
      "input": [],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "GET",
        "path": "/iapGetAdapterInventory"
      },
      "task": true
    },
    {
      "name": "getApitest",
      "summary": "",
      "description": "Checks API calling code.",
      "input": [
        {
          "name": "foo",
          "type": "string",
          "info": "example property to return",
          "required": false,
          "schema": {
            "title": "foo",
            "type": "string"
          }
        },
        {
          "name": "error",
          "type": "string",
          "info": "Error response to return",
          "required": false,
          "schema": {
            "title": "error",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getApitest"
      },
      "task": true
    },
    {
      "name": "getAppspermissionsinfo",
      "summary": "",
      "description": "Returns list of permissions this app has on a team.",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `none`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getAppspermissionsinfo"
      },
      "task": true
    },
    {
      "name": "getAppspermissionsrequest",
      "summary": "",
      "description": "Allows an app to request additional scopes",
      "input": [
        {
          "name": "scopes",
          "type": "string",
          "info": "A comma separated list of scopes to request for",
          "required": false,
          "schema": {
            "title": "scopes",
            "type": "string"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `none`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "triggerId",
          "type": "string",
          "info": "Token used to trigger the permissions API",
          "required": false,
          "schema": {
            "title": "triggerId",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getAppspermissionsrequest"
      },
      "task": true
    },
    {
      "name": "getAppspermissionsresourceslist",
      "summary": "",
      "description": "Returns list of resource grants this app has on a team.",
      "input": [
        {
          "name": "cursor",
          "type": "string",
          "info": "Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`. Default value fetches the first \"page\" of the collection. See [pagination](/docs/pagination) for more detail.",
          "required": false,
          "schema": {
            "title": "cursor",
            "type": "string"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `none`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "limit",
          "type": "number",
          "info": "The maximum number of items to return.",
          "required": false,
          "schema": {
            "title": "limit",
            "type": "number"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getAppspermissionsresourceslist"
      },
      "task": true
    },
    {
      "name": "getAppspermissionsscopeslist",
      "summary": "",
      "description": "Returns list of scopes this app has on a team.",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `none`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getAppspermissionsscopeslist"
      },
      "task": true
    },
    {
      "name": "getAuthrevoke",
      "summary": "",
      "description": "Revokes a token.",
      "input": [
        {
          "name": "test",
          "type": "boolean",
          "info": "Setting this parameter to `1` triggers a _testing mode_ where the specified token will not actually be revoked.",
          "required": false,
          "schema": {
            "title": "test",
            "type": "boolean"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `none`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getAuthrevoke"
      },
      "task": true
    },
    {
      "name": "getAuthtest",
      "summary": "",
      "description": "Checks authentication & identity.",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `none`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getAuthtest"
      },
      "task": true
    },
    {
      "name": "getBotsinfo",
      "summary": "",
      "description": "Gets information about a bot user.",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `users:read`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "bot",
          "type": "string",
          "info": "Bot user to get info on",
          "required": false,
          "schema": {
            "title": "bot",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getBotsinfo"
      },
      "task": true
    },
    {
      "name": "postChannelsarchive",
      "summary": "",
      "description": "Archives a channel.",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `channels:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "Channel to archive",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postChannelsarchive"
      },
      "task": true
    },
    {
      "name": "postChannelscreate",
      "summary": "",
      "description": "Creates a channel.",
      "input": [
        {
          "name": "validate",
          "type": "boolean",
          "info": "Whether to return errors on invalid channel name instead of modifying it to meet the specified criteria.",
          "required": false,
          "schema": {
            "title": "validate",
            "type": "boolean"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `channels:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "name",
          "type": "string",
          "info": "Name of channel to create",
          "required": false,
          "schema": {
            "title": "name",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postChannelscreate"
      },
      "task": true
    },
    {
      "name": "getChannelshistory",
      "summary": "",
      "description": "Fetches history of messages and events from a channel.",
      "input": [
        {
          "name": "count",
          "type": "number",
          "info": "Number of messages to return, between 1 and 1000.",
          "required": false,
          "schema": {
            "title": "count",
            "type": "number"
          }
        },
        {
          "name": "unreads",
          "type": "boolean",
          "info": "Include `unread_count_display` in the output?",
          "required": false,
          "schema": {
            "title": "unreads",
            "type": "boolean"
          }
        },
        {
          "name": "inclusive",
          "type": "boolean",
          "info": "Include messages with latest or oldest timestamp in results.",
          "required": false,
          "schema": {
            "title": "inclusive",
            "type": "boolean"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `channels:history`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "oldest",
          "type": "number",
          "info": "Start of time range of messages to include in results.",
          "required": false,
          "schema": {
            "title": "oldest",
            "type": "number"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "Channel to fetch history for.",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        },
        {
          "name": "latest",
          "type": "number",
          "info": "End of time range of messages to include in results.",
          "required": false,
          "schema": {
            "title": "latest",
            "type": "number"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getChannelshistory"
      },
      "task": true
    },
    {
      "name": "getChannelsinfo",
      "summary": "",
      "description": "Gets information about a channel.",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `channels:read`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "includeLocale",
          "type": "boolean",
          "info": "Set this to `true` to receive the locale for this channel. Defaults to `false`",
          "required": false,
          "schema": {
            "title": "includeLocale",
            "type": "boolean"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "Channel to get info on",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getChannelsinfo"
      },
      "task": true
    },
    {
      "name": "postChannelsinvite",
      "summary": "",
      "description": "Invites a user to a channel.",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `channels:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "user",
          "type": "string",
          "info": "User to invite to channel.",
          "required": false,
          "schema": {
            "title": "user",
            "type": "string"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "Channel to invite user to.",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postChannelsinvite"
      },
      "task": true
    },
    {
      "name": "postChannelsjoin",
      "summary": "",
      "description": "Joins a channel, creating it if needed.",
      "input": [
        {
          "name": "validate",
          "type": "boolean",
          "info": "Whether to return errors on invalid channel name instead of modifying it to meet the specified criteria.",
          "required": false,
          "schema": {
            "title": "validate",
            "type": "boolean"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `channels:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "name",
          "type": "string",
          "info": "Name of channel to join",
          "required": false,
          "schema": {
            "title": "name",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postChannelsjoin"
      },
      "task": true
    },
    {
      "name": "postChannelskick",
      "summary": "",
      "description": "Removes a user from a channel.",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `channels:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "user",
          "type": "string",
          "info": "User to remove from channel.",
          "required": false,
          "schema": {
            "title": "user",
            "type": "string"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "Channel to remove user from.",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postChannelskick"
      },
      "task": true
    },
    {
      "name": "postChannelsleave",
      "summary": "",
      "description": "Leaves a channel.",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `channels:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "Channel to leave",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postChannelsleave"
      },
      "task": true
    },
    {
      "name": "getChannelslist",
      "summary": "",
      "description": "Lists all channels in a Slack team.",
      "input": [
        {
          "name": "excludeMembers",
          "type": "boolean",
          "info": "Exclude the `members` collection from each `channel`",
          "required": false,
          "schema": {
            "title": "excludeMembers",
            "type": "boolean"
          }
        },
        {
          "name": "cursor",
          "type": "string",
          "info": "Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`. Default value fetches the first \"page\" of the collection. See [pagination](/docs/pagination) for more detail.",
          "required": false,
          "schema": {
            "title": "cursor",
            "type": "string"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `channels:read`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "limit",
          "type": "number",
          "info": "The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the users list hasn't been reached.",
          "required": false,
          "schema": {
            "title": "limit",
            "type": "number"
          }
        },
        {
          "name": "excludeArchived",
          "type": "boolean",
          "info": "Exclude archived channels from the list",
          "required": false,
          "schema": {
            "title": "excludeArchived",
            "type": "boolean"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getChannelslist"
      },
      "task": true
    },
    {
      "name": "postChannelsmark",
      "summary": "",
      "description": "Sets the read cursor in a channel.",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `channels:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "ts",
          "type": "number",
          "info": "Timestamp of the most recently seen message.",
          "required": false,
          "schema": {
            "title": "ts",
            "type": "number"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "Channel to set reading cursor in.",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postChannelsmark"
      },
      "task": true
    },
    {
      "name": "postChannelsrename",
      "summary": "",
      "description": "Renames a channel.",
      "input": [
        {
          "name": "validate",
          "type": "boolean",
          "info": "Whether to return errors on invalid channel name instead of modifying it to meet the specified criteria.",
          "required": false,
          "schema": {
            "title": "validate",
            "type": "boolean"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `channels:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "name",
          "type": "string",
          "info": "New name for channel.",
          "required": false,
          "schema": {
            "title": "name",
            "type": "string"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "Channel to rename",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postChannelsrename"
      },
      "task": true
    },
    {
      "name": "getChannelsreplies",
      "summary": "",
      "description": "Retrieve a thread of messages posted to a channel",
      "input": [
        {
          "name": "threadTs",
          "type": "number",
          "info": "Unique identifier of a thread's parent message",
          "required": false,
          "schema": {
            "title": "threadTs",
            "type": "number"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `channels:history`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "Channel to fetch thread from",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getChannelsreplies"
      },
      "task": true
    },
    {
      "name": "postChannelssetPurpose",
      "summary": "",
      "description": "Sets the purpose for a channel.",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `channels:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "purpose",
          "type": "string",
          "info": "The new purpose",
          "required": false,
          "schema": {
            "title": "purpose",
            "type": "string"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "Channel to set the purpose of",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postChannelssetPurpose"
      },
      "task": true
    },
    {
      "name": "postChannelssetTopic",
      "summary": "",
      "description": "Sets the topic for a channel.",
      "input": [
        {
          "name": "topic",
          "type": "string",
          "info": "The new topic",
          "required": false,
          "schema": {
            "title": "topic",
            "type": "string"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `channels:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "Channel to set the topic of",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postChannelssetTopic"
      },
      "task": true
    },
    {
      "name": "postChannelsunarchive",
      "summary": "",
      "description": "Unarchives a channel.",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `channels:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "Channel to unarchive",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postChannelsunarchive"
      },
      "task": true
    },
    {
      "name": "postChatdelete",
      "summary": "",
      "description": "Deletes a message.",
      "input": [
        {
          "name": "asUser",
          "type": "boolean",
          "info": "Pass true to delete the message as the authed user with `chat:write:user` scope. [Bot users](/bot-users) in this context are considered authed users. If unused or false, the message will be deleted with `chat:write:bot` scope.",
          "required": false,
          "schema": {
            "title": "asUser",
            "type": "boolean"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `chat:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "ts",
          "type": "number",
          "info": "Timestamp of the message to be deleted.",
          "required": false,
          "schema": {
            "title": "ts",
            "type": "number"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "Channel containing the message to be deleted.",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postChatdelete"
      },
      "task": true
    },
    {
      "name": "getChatgetPermalink",
      "summary": "",
      "description": "Retrieve a permalink URL for a specific extant message",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `none`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "messageTs",
          "type": "number",
          "info": "A message's `ts` value, uniquely identifying it within a channel",
          "required": false,
          "schema": {
            "title": "messageTs",
            "type": "number"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "The ID of the conversation or channel containing the message",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getChatgetPermalink"
      },
      "task": true
    },
    {
      "name": "postChatmeMessage",
      "summary": "",
      "description": "Share a me message into a channel.",
      "input": [
        {
          "name": "text",
          "type": "string",
          "info": "Text of the message to send.",
          "required": false,
          "schema": {
            "title": "text",
            "type": "string"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `chat:write:user`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "Channel to send message to. Can be a public channel, private group or IM channel. Can be an encoded ID, or a name.",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postChatmeMessage"
      },
      "task": true
    },
    {
      "name": "postChatpostEphemeral",
      "summary": "",
      "description": "Sends an ephemeral message to a user in a channel.",
      "input": [
        {
          "name": "attachments",
          "type": "string",
          "info": "A JSON-based array of structured attachments, presented as a URL-encoded string.",
          "required": false,
          "schema": {
            "title": "attachments",
            "type": "string"
          }
        },
        {
          "name": "text",
          "type": "string",
          "info": "Text of the message to send. See below for an explanation of [formatting](#formatting). This field is usually required, unless you're providing only `attachments` instead.",
          "required": false,
          "schema": {
            "title": "text",
            "type": "string"
          }
        },
        {
          "name": "linkNames",
          "type": "boolean",
          "info": "Find and link channel names and usernames.",
          "required": false,
          "schema": {
            "title": "linkNames",
            "type": "boolean"
          }
        },
        {
          "name": "parse",
          "type": "string",
          "info": "Change how messages are treated. Defaults to `none`. See [below](#formatting).",
          "required": false,
          "schema": {
            "title": "parse",
            "type": "string"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `chat:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "user",
          "type": "string",
          "info": "`id` of the user who will receive the ephemeral message. The user should be in the channel specified by the `channel` argument.",
          "required": false,
          "schema": {
            "title": "user",
            "type": "string"
          }
        },
        {
          "name": "asUser",
          "type": "boolean",
          "info": "Pass true to post the message as the authed bot. Defaults to false.",
          "required": false,
          "schema": {
            "title": "asUser",
            "type": "boolean"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "Channel, private group, or IM channel to send message to. Can be an encoded ID, or a name.",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postChatpostEphemeral"
      },
      "task": true
    },
    {
      "name": "postChatpostMessage",
      "summary": "",
      "description": "Sends a message to a channel.",
      "input": [
        {
          "name": "username",
          "type": "string",
          "info": "Set your bot's user name. Must be used in conjunction with `as_user` set to false, otherwise ignored. See [authorship](#authorship) below.",
          "required": false,
          "schema": {
            "title": "username",
            "type": "string"
          }
        },
        {
          "name": "threadTs",
          "type": "number",
          "info": "Provide another message's `ts` value to make this message a reply. Avoid using a reply's `ts` value; use its parent instead.",
          "required": false,
          "schema": {
            "title": "threadTs",
            "type": "number"
          }
        },
        {
          "name": "attachments",
          "type": "string",
          "info": "A JSON-based array of structured attachments, presented as a URL-encoded string.",
          "required": false,
          "schema": {
            "title": "attachments",
            "type": "string"
          }
        },
        {
          "name": "unfurlLinks",
          "type": "boolean",
          "info": "Pass true to enable unfurling of primarily text-based content.",
          "required": false,
          "schema": {
            "title": "unfurlLinks",
            "type": "boolean"
          }
        },
        {
          "name": "text",
          "type": "string",
          "info": "Text of the message to send. See below for an explanation of [formatting](#formatting). This field is usually required, unless you're providing only `attachments` instead. Provide no more than 40,000 characters or [risk truncation](/changelog/2018-04-truncating-really-long-messages).",
          "required": false,
          "schema": {
            "title": "text",
            "type": "string"
          }
        },
        {
          "name": "unfurlMedia",
          "type": "boolean",
          "info": "Pass false to disable unfurling of media content.",
          "required": false,
          "schema": {
            "title": "unfurlMedia",
            "type": "boolean"
          }
        },
        {
          "name": "parse",
          "type": "string",
          "info": "Change how messages are treated. Defaults to `none`. See [below](#formatting).",
          "required": false,
          "schema": {
            "title": "parse",
            "type": "string"
          }
        },
        {
          "name": "asUser",
          "type": "boolean",
          "info": "Pass true to post the message as the authed user, instead of as a bot. Defaults to false. See [authorship](#authorship) below.",
          "required": false,
          "schema": {
            "title": "asUser",
            "type": "boolean"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `chat:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "mrkdwn",
          "type": "boolean",
          "info": "Disable Slack markup parsing by setting to `false`. Enabled by default.",
          "required": false,
          "schema": {
            "title": "mrkdwn",
            "type": "boolean"
          }
        },
        {
          "name": "iconEmoji",
          "type": "string",
          "info": "Emoji to use as the icon for this message. Overrides `icon_url`. Must be used in conjunction with `as_user` set to `false`, otherwise ignored. See [authorship](#authorship) below.",
          "required": false,
          "schema": {
            "title": "iconEmoji",
            "type": "string"
          }
        },
        {
          "name": "linkNames",
          "type": "boolean",
          "info": "Find and link channel names and usernames.",
          "required": false,
          "schema": {
            "title": "linkNames",
            "type": "boolean"
          }
        },
        {
          "name": "iconUrl",
          "type": "string",
          "info": "URL to an image to use as the icon for this message. Must be used in conjunction with `as_user` set to false, otherwise ignored. See [authorship](#authorship) below.",
          "required": false,
          "schema": {
            "title": "iconUrl",
            "type": "string"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "Channel, private group, or IM channel to send message to. Can be an encoded ID, or a name. See [below](#channels) for more details.",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        },
        {
          "name": "replyBroadcast",
          "type": "boolean",
          "info": "Used in conjunction with `thread_ts` and indicates whether reply should be made visible to everyone in the channel or conversation. Defaults to `false`.",
          "required": false,
          "schema": {
            "title": "replyBroadcast",
            "type": "boolean"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postChatpostMessage"
      },
      "task": true
    },
    {
      "name": "postChatunfurl",
      "summary": "",
      "description": "Provide custom unfurl behavior for user-posted URLs",
      "input": [
        {
          "name": "userAuthMessage",
          "type": "string",
          "info": "Provide a simply-formatted string to send as an ephemeral message to the user as invitation to authenticate further and enable full unfurling behavior",
          "required": false,
          "schema": {
            "title": "userAuthMessage",
            "type": "string"
          }
        },
        {
          "name": "userAuthRequired",
          "type": "boolean",
          "info": "Set to `true` or `1` to indicate the user must install your Slack app to trigger unfurls for this domain",
          "required": false,
          "schema": {
            "title": "userAuthRequired",
            "type": "boolean"
          }
        },
        {
          "name": "unfurls",
          "type": "string",
          "info": "URL-encoded JSON map with keys set to URLs featured in the the message, pointing to their unfurl message attachments.",
          "required": false,
          "schema": {
            "title": "unfurls",
            "type": "string"
          }
        },
        {
          "name": "ts",
          "type": "string",
          "info": "Timestamp of the message to add unfurl behavior to.",
          "required": false,
          "schema": {
            "title": "ts",
            "type": "string"
          }
        },
        {
          "name": "userAuthUrl",
          "type": "string",
          "info": "Send users to this custom URL where they will complete authentication in your app to fully trigger unfurling. Value should be properly URL-encoded.",
          "required": false,
          "schema": {
            "title": "userAuthUrl",
            "type": "string"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `links:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "Channel ID of the message",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postChatunfurl"
      },
      "task": true
    },
    {
      "name": "postChatupdate",
      "summary": "",
      "description": "Updates a message.",
      "input": [
        {
          "name": "attachments",
          "type": "string",
          "info": "A JSON-based array of structured attachments, presented as a URL-encoded string. This field is required when not presenting `text`.",
          "required": false,
          "schema": {
            "title": "attachments",
            "type": "string"
          }
        },
        {
          "name": "text",
          "type": "string",
          "info": "New text for the message, using the [default formatting rules](/docs/formatting). It's not required when presenting `attachments`.",
          "required": false,
          "schema": {
            "title": "text",
            "type": "string"
          }
        },
        {
          "name": "ts",
          "type": "number",
          "info": "Timestamp of the message to be updated.",
          "required": false,
          "schema": {
            "title": "ts",
            "type": "number"
          }
        },
        {
          "name": "parse",
          "type": "string",
          "info": "Change how messages are treated. Defaults to `client`, unlike `chat.postMessage`. See [below](#formatting).",
          "required": false,
          "schema": {
            "title": "parse",
            "type": "string"
          }
        },
        {
          "name": "asUser",
          "type": "boolean",
          "info": "Pass true to update the message as the authed user. [Bot users](/bot-users) in this context are considered authed users.",
          "required": false,
          "schema": {
            "title": "asUser",
            "type": "boolean"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `chat:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "linkNames",
          "type": "boolean",
          "info": "Find and link channel names and usernames. Defaults to `none`. See [below](#formatting).",
          "required": false,
          "schema": {
            "title": "linkNames",
            "type": "boolean"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "Channel containing the message to be updated.",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postChatupdate"
      },
      "task": true
    },
    {
      "name": "postConversationsarchive",
      "summary": "",
      "description": "Archives a conversation.",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `conversations:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "ID of conversation to archive",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postConversationsarchive"
      },
      "task": true
    },
    {
      "name": "postConversationsclose",
      "summary": "",
      "description": "Closes a direct message or multi-person direct message.",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `conversations:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "Conversation to close.",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postConversationsclose"
      },
      "task": true
    },
    {
      "name": "postConversationscreate",
      "summary": "",
      "description": "Initiates a public or private channel-based conversation",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `conversations:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "name",
          "type": "string",
          "info": "Name of the public or private channel to create",
          "required": false,
          "schema": {
            "title": "name",
            "type": "string"
          }
        },
        {
          "name": "isPrivate",
          "type": "boolean",
          "info": "Create a private channel instead of a public one",
          "required": false,
          "schema": {
            "title": "isPrivate",
            "type": "boolean"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postConversationscreate"
      },
      "task": true
    },
    {
      "name": "getConversationshistory",
      "summary": "",
      "description": "Fetches a conversation's history of messages and events.",
      "input": [
        {
          "name": "inclusive",
          "type": "boolean",
          "info": "Include messages with latest or oldest timestamp in results only when either timestamp is specified.",
          "required": false,
          "schema": {
            "title": "inclusive",
            "type": "boolean"
          }
        },
        {
          "name": "cursor",
          "type": "string",
          "info": "Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`. Default value fetches the first \"page\" of the collection. See [pagination](/docs/pagination) for more detail.",
          "required": false,
          "schema": {
            "title": "cursor",
            "type": "string"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `conversations:history`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "limit",
          "type": "number",
          "info": "The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the users list hasn't been reached.",
          "required": false,
          "schema": {
            "title": "limit",
            "type": "number"
          }
        },
        {
          "name": "oldest",
          "type": "number",
          "info": "Start of time range of messages to include in results.",
          "required": false,
          "schema": {
            "title": "oldest",
            "type": "number"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "Conversation ID to fetch history for.",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        },
        {
          "name": "latest",
          "type": "number",
          "info": "End of time range of messages to include in results.",
          "required": false,
          "schema": {
            "title": "latest",
            "type": "number"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getConversationshistory"
      },
      "task": true
    },
    {
      "name": "getConversationsinfo",
      "summary": "",
      "description": "Retrieve information about a conversation.",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `conversations:read`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "Conversation ID to learn more about",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        },
        {
          "name": "includeLocale",
          "type": "boolean",
          "info": "Set this to `true` to receive the locale for this conversation. Defaults to `false`",
          "required": false,
          "schema": {
            "title": "includeLocale",
            "type": "boolean"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getConversationsinfo"
      },
      "task": true
    },
    {
      "name": "postConversationsinvite",
      "summary": "",
      "description": "Invites users to a channel.",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `conversations:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "users",
          "type": "string",
          "info": "A comma separated list of user IDs. Up to 30 users may be listed.",
          "required": false,
          "schema": {
            "title": "users",
            "type": "string"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "The ID of the public or private channel to invite user(s) to.",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postConversationsinvite"
      },
      "task": true
    },
    {
      "name": "postConversationsjoin",
      "summary": "",
      "description": "Joins an existing conversation.",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `channels:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "ID of conversation to join",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postConversationsjoin"
      },
      "task": true
    },
    {
      "name": "postConversationskick",
      "summary": "",
      "description": "Removes a user from a conversation.",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `conversations:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "user",
          "type": "string",
          "info": "User ID to be removed.",
          "required": false,
          "schema": {
            "title": "user",
            "type": "string"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "ID of conversation to remove user from.",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postConversationskick"
      },
      "task": true
    },
    {
      "name": "postConversationsleave",
      "summary": "",
      "description": "Leaves a conversation.",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `conversations:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "Conversation to leave",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postConversationsleave"
      },
      "task": true
    },
    {
      "name": "getConversationslist",
      "summary": "",
      "description": "Lists all channels in a Slack team.",
      "input": [
        {
          "name": "cursor",
          "type": "string",
          "info": "Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`. Default value fetches the first \"page\" of the collection. See [pagination](/docs/pagination) for more detail.",
          "required": false,
          "schema": {
            "title": "cursor",
            "type": "string"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `conversations:read`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "limit",
          "type": "number",
          "info": "The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the list hasn't been reached. Must be an integer no larger than 1000.",
          "required": false,
          "schema": {
            "title": "limit",
            "type": "number"
          }
        },
        {
          "name": "excludeArchived",
          "type": "boolean",
          "info": "Set to `true` to exclude archived channels from the list",
          "required": false,
          "schema": {
            "title": "excludeArchived",
            "type": "boolean"
          }
        },
        {
          "name": "types",
          "type": "string",
          "info": "Mix and match channel types by providing a comma-separated list of any combination of `public_channel`, `private_channel`, `mpim`, `im`",
          "required": false,
          "schema": {
            "title": "types",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getConversationslist"
      },
      "task": true
    },
    {
      "name": "getConversationsmembers",
      "summary": "",
      "description": "Retrieve members of a conversation.",
      "input": [
        {
          "name": "cursor",
          "type": "string",
          "info": "Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`. Default value fetches the first \"page\" of the collection. See [pagination](/docs/pagination) for more detail.",
          "required": false,
          "schema": {
            "title": "cursor",
            "type": "string"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `conversations:read`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "limit",
          "type": "number",
          "info": "The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the users list hasn't been reached.",
          "required": false,
          "schema": {
            "title": "limit",
            "type": "number"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "ID of the conversation to retrieve members for",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getConversationsmembers"
      },
      "task": true
    },
    {
      "name": "postConversationsopen",
      "summary": "",
      "description": "Opens or resumes a direct message or multi-person direct message.",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `conversations:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "returnIm",
          "type": "boolean",
          "info": "Boolean, indicates you want the full IM channel definition in the response.",
          "required": false,
          "schema": {
            "title": "returnIm",
            "type": "boolean"
          }
        },
        {
          "name": "users",
          "type": "string",
          "info": "Comma separated lists of users. If only one user is included, this creates a 1:1 DM.  The ordering of the users is preserved whenever a multi-person direct message is returned. Supply a `channel` when not supplying `users`.",
          "required": false,
          "schema": {
            "title": "users",
            "type": "string"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "Resume a conversation by supplying an `im` or `mpim`'s ID. Or provide the `users` field instead.",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postConversationsopen"
      },
      "task": true
    },
    {
      "name": "postConversationsrename",
      "summary": "",
      "description": "Renames a conversation.",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `conversations:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "name",
          "type": "string",
          "info": "New name for conversation.",
          "required": false,
          "schema": {
            "title": "name",
            "type": "string"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "ID of conversation to rename",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postConversationsrename"
      },
      "task": true
    },
    {
      "name": "getConversationsreplies",
      "summary": "",
      "description": "Retrieve a thread of messages posted to a conversation",
      "input": [
        {
          "name": "inclusive",
          "type": "boolean",
          "info": "Include messages with latest or oldest timestamp in results only when either timestamp is specified.",
          "required": false,
          "schema": {
            "title": "inclusive",
            "type": "boolean"
          }
        },
        {
          "name": "ts",
          "type": "number",
          "info": "Unique identifier of a thread's parent message.",
          "required": false,
          "schema": {
            "title": "ts",
            "type": "number"
          }
        },
        {
          "name": "cursor",
          "type": "string",
          "info": "Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`. Default value fetches the first \"page\" of the collection. See [pagination](/docs/pagination) for more detail.",
          "required": false,
          "schema": {
            "title": "cursor",
            "type": "string"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `conversations:history`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "limit",
          "type": "number",
          "info": "The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the users list hasn't been reached.",
          "required": false,
          "schema": {
            "title": "limit",
            "type": "number"
          }
        },
        {
          "name": "oldest",
          "type": "number",
          "info": "Start of time range of messages to include in results.",
          "required": false,
          "schema": {
            "title": "oldest",
            "type": "number"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "Conversation ID to fetch thread from.",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        },
        {
          "name": "latest",
          "type": "number",
          "info": "End of time range of messages to include in results.",
          "required": false,
          "schema": {
            "title": "latest",
            "type": "number"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getConversationsreplies"
      },
      "task": true
    },
    {
      "name": "postConversationssetPurpose",
      "summary": "",
      "description": "Sets the purpose for a conversation.",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `conversations:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "purpose",
          "type": "string",
          "info": "A new, specialer purpose",
          "required": false,
          "schema": {
            "title": "purpose",
            "type": "string"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "Conversation to set the purpose of",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postConversationssetPurpose"
      },
      "task": true
    },
    {
      "name": "postConversationssetTopic",
      "summary": "",
      "description": "Sets the topic for a conversation.",
      "input": [
        {
          "name": "topic",
          "type": "string",
          "info": "The new topic string. Does not support formatting or linkification.",
          "required": false,
          "schema": {
            "title": "topic",
            "type": "string"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `conversations:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "Conversation to set the topic of",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postConversationssetTopic"
      },
      "task": true
    },
    {
      "name": "postConversationsunarchive",
      "summary": "",
      "description": "Reverses conversation archival.",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `conversations:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "ID of conversation to unarchive",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postConversationsunarchive"
      },
      "task": true
    },
    {
      "name": "getDialogopen",
      "summary": "",
      "description": "Open a dialog with a user",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `none`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "dialog",
          "type": "string",
          "info": "The dialog definition. This must be a JSON-encoded string.",
          "required": false,
          "schema": {
            "title": "dialog",
            "type": "string"
          }
        },
        {
          "name": "triggerId",
          "type": "string",
          "info": "Exchange a trigger to post to the user.",
          "required": false,
          "schema": {
            "title": "triggerId",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getDialogopen"
      },
      "task": true
    },
    {
      "name": "postDndendDnd",
      "summary": "",
      "description": "Ends the current user's Do Not Disturb session immediately.",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `dnd:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postDndendDnd"
      },
      "task": true
    },
    {
      "name": "postDndendSnooze",
      "summary": "",
      "description": "Ends the current user's snooze mode immediately.",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `dnd:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postDndendSnooze"
      },
      "task": true
    },
    {
      "name": "getDndinfo",
      "summary": "",
      "description": "Retrieves a user's current Do Not Disturb status.",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `dnd:read`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "user",
          "type": "string",
          "info": "User to fetch status for (defaults to current user)",
          "required": false,
          "schema": {
            "title": "user",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getDndinfo"
      },
      "task": true
    },
    {
      "name": "postDndsetSnooze",
      "summary": "",
      "description": "Turns on Do Not Disturb mode for the current user, or changes its duration.",
      "input": [
        {
          "name": "numMinutes",
          "type": "number",
          "info": "Number of minutes, from now, to snooze until.",
          "required": false,
          "schema": {
            "title": "numMinutes",
            "type": "number"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `dnd:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postDndsetSnooze"
      },
      "task": true
    },
    {
      "name": "getDndteamInfo",
      "summary": "",
      "description": "Retrieves the Do Not Disturb status for users on a team.",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `dnd:read`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "users",
          "type": "string",
          "info": "Comma-separated list of users to fetch Do Not Disturb status for",
          "required": false,
          "schema": {
            "title": "users",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getDndteamInfo"
      },
      "task": true
    },
    {
      "name": "getEmojilist",
      "summary": "",
      "description": "Lists custom emoji for a team.",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `emoji:read`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getEmojilist"
      },
      "task": true
    },
    {
      "name": "postFilescommentsadd",
      "summary": "",
      "description": "Add a comment to an existing file.",
      "input": [
        {
          "name": "comment",
          "type": "string",
          "info": "Text of the comment to add.",
          "required": false,
          "schema": {
            "title": "comment",
            "type": "string"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `files:write:user`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "file",
          "type": "string",
          "info": "File to add a comment to.",
          "required": false,
          "schema": {
            "title": "file",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postFilescommentsadd"
      },
      "task": true
    },
    {
      "name": "postFilescommentsdelete",
      "summary": "",
      "description": "Deletes an existing comment on a file.",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `files:write:user`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "id",
          "type": "string",
          "info": "The comment to delete.",
          "required": false,
          "schema": {
            "title": "id",
            "type": "string"
          }
        },
        {
          "name": "file",
          "type": "string",
          "info": "File to delete a comment from.",
          "required": false,
          "schema": {
            "title": "file",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postFilescommentsdelete"
      },
      "task": true
    },
    {
      "name": "postFilescommentsedit",
      "summary": "",
      "description": "Edit an existing file comment.",
      "input": [
        {
          "name": "comment",
          "type": "string",
          "info": "Text of the comment to edit.",
          "required": false,
          "schema": {
            "title": "comment",
            "type": "string"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `files:write:user`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "id",
          "type": "string",
          "info": "The comment to edit.",
          "required": false,
          "schema": {
            "title": "id",
            "type": "string"
          }
        },
        {
          "name": "file",
          "type": "string",
          "info": "File containing the comment to edit.",
          "required": false,
          "schema": {
            "title": "file",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postFilescommentsedit"
      },
      "task": true
    },
    {
      "name": "postFilesdelete",
      "summary": "",
      "description": "Deletes a file.",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `files:write:user`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "file",
          "type": "string",
          "info": "ID of file to delete.",
          "required": false,
          "schema": {
            "title": "file",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postFilesdelete"
      },
      "task": true
    },
    {
      "name": "getFilesinfo",
      "summary": "",
      "description": "Gets information about a team file.",
      "input": [
        {
          "name": "count",
          "type": "string",
          "info": "",
          "required": false,
          "schema": {
            "title": "count",
            "type": "string"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `files:read`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "file",
          "type": "string",
          "info": "Specify a file by providing its ID.",
          "required": false,
          "schema": {
            "title": "file",
            "type": "string"
          }
        },
        {
          "name": "page",
          "type": "string",
          "info": "",
          "required": false,
          "schema": {
            "title": "page",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getFilesinfo"
      },
      "task": true
    },
    {
      "name": "getFileslist",
      "summary": "",
      "description": "Lists & filters team files.",
      "input": [
        {
          "name": "count",
          "type": "string",
          "info": "",
          "required": false,
          "schema": {
            "title": "count",
            "type": "string"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "Filter files appearing in a specific channel, indicated by its ID.",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        },
        {
          "name": "tsTo",
          "type": "number",
          "info": "Filter files created before this timestamp (inclusive).",
          "required": false,
          "schema": {
            "title": "tsTo",
            "type": "number"
          }
        },
        {
          "name": "tsFrom",
          "type": "number",
          "info": "Filter files created after this timestamp (inclusive).",
          "required": false,
          "schema": {
            "title": "tsFrom",
            "type": "number"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `files:read`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "user",
          "type": "string",
          "info": "Filter files created by a single user.",
          "required": false,
          "schema": {
            "title": "user",
            "type": "string"
          }
        },
        {
          "name": "page",
          "type": "string",
          "info": "",
          "required": false,
          "schema": {
            "title": "page",
            "type": "string"
          }
        },
        {
          "name": "types",
          "type": "string",
          "info": "Filter files by type:\n\n* `all` - All files\n* `spaces` - Posts\n* `snippets` - Snippets\n* `images` - Image files\n* `gdocs` - Google docs\n* `zips` - Zip files\n* `pdfs` - PDF files\n\nYou can pass multiple values in the types argument, like `types=spaces,snippets`.The default value is `all`, which does not filter the list.",
          "required": false,
          "schema": {
            "title": "types",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getFileslist"
      },
      "task": true
    },
    {
      "name": "postFilesrevokePublicURL",
      "summary": "",
      "description": "Revokes public/external sharing access for a file",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `files:write:user`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "file",
          "type": "string",
          "info": "File to revoke",
          "required": false,
          "schema": {
            "title": "file",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postFilesrevokePublicURL"
      },
      "task": true
    },
    {
      "name": "postFilessharedPublicURL",
      "summary": "",
      "description": "Enables a file for public/external sharing.",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `files:write:user`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "file",
          "type": "string",
          "info": "File to share",
          "required": false,
          "schema": {
            "title": "file",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postFilessharedPublicURL"
      },
      "task": true
    },
    {
      "name": "postFilesupload",
      "summary": "",
      "description": "Uploads or creates a file.",
      "input": [
        {
          "name": "channels",
          "type": "string",
          "info": "Comma-separated list of channel names or IDs where the file will be shared.",
          "required": false,
          "schema": {
            "title": "channels",
            "type": "string"
          }
        },
        {
          "name": "title",
          "type": "string",
          "info": "Title of file.",
          "required": false,
          "schema": {
            "title": "title",
            "type": "string"
          }
        },
        {
          "name": "initialComment",
          "type": "string",
          "info": "Initial comment to add to file.",
          "required": false,
          "schema": {
            "title": "initialComment",
            "type": "string"
          }
        },
        {
          "name": "filetype",
          "type": "string",
          "info": "A [file type](/types/file#file_types) identifier.",
          "required": false,
          "schema": {
            "title": "filetype",
            "type": "string"
          }
        },
        {
          "name": "filename",
          "type": "string",
          "info": "Filename of file.",
          "required": false,
          "schema": {
            "title": "filename",
            "type": "string"
          }
        },
        {
          "name": "content",
          "type": "string",
          "info": "File contents via a POST variable. If omitting this parameter, you must provide a `file`.",
          "required": false,
          "schema": {
            "title": "content",
            "type": "string"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `files:write:user`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "file",
          "type": "string",
          "info": "File contents via `multipart/form-data`. If omitting this parameter, you must submit `content`.",
          "required": false,
          "schema": {
            "title": "file",
            "type": "string"
          }
        },
        {
          "name": "threadTs",
          "type": "number",
          "info": "Unique identifier of a thread's parent message",
          "required": false,
          "schema": {
            "title": "threadTs",
            "type": "number"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postFilesupload"
      },
      "task": true
    },
    {
      "name": "postGroupsarchive",
      "summary": "",
      "description": "Archives a private channel.",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `groups:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "Private channel to archive",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postGroupsarchive"
      },
      "task": true
    },
    {
      "name": "postGroupscreate",
      "summary": "",
      "description": "Creates a private channel.",
      "input": [
        {
          "name": "validate",
          "type": "boolean",
          "info": "Whether to return errors on invalid channel name instead of modifying it to meet the specified criteria.",
          "required": false,
          "schema": {
            "title": "validate",
            "type": "boolean"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `groups:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "name",
          "type": "string",
          "info": "Name of private channel to create",
          "required": false,
          "schema": {
            "title": "name",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postGroupscreate"
      },
      "task": true
    },
    {
      "name": "postGroupscreateChild",
      "summary": "",
      "description": "Clones and archives a private channel.",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `groups:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "Private channel to clone and archive.",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postGroupscreateChild"
      },
      "task": true
    },
    {
      "name": "getGroupshistory",
      "summary": "",
      "description": "Fetches history of messages and events from a private channel.",
      "input": [
        {
          "name": "count",
          "type": "number",
          "info": "Number of messages to return, between 1 and 1000.",
          "required": false,
          "schema": {
            "title": "count",
            "type": "number"
          }
        },
        {
          "name": "unreads",
          "type": "boolean",
          "info": "Include `unread_count_display` in the output?",
          "required": false,
          "schema": {
            "title": "unreads",
            "type": "boolean"
          }
        },
        {
          "name": "inclusive",
          "type": "boolean",
          "info": "Include messages with latest or oldest timestamp in results.",
          "required": false,
          "schema": {
            "title": "inclusive",
            "type": "boolean"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `groups:history`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "oldest",
          "type": "number",
          "info": "Start of time range of messages to include in results.",
          "required": false,
          "schema": {
            "title": "oldest",
            "type": "number"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "Private channel to fetch history for.",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        },
        {
          "name": "latest",
          "type": "number",
          "info": "End of time range of messages to include in results.",
          "required": false,
          "schema": {
            "title": "latest",
            "type": "number"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getGroupshistory"
      },
      "task": true
    },
    {
      "name": "getGroupsinfo",
      "summary": "",
      "description": "Gets information about a private channel.",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `groups:read`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "includeLocale",
          "type": "boolean",
          "info": "Set this to `true` to receive the locale for this group. Defaults to `false`",
          "required": false,
          "schema": {
            "title": "includeLocale",
            "type": "boolean"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "Private channel to get info on",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getGroupsinfo"
      },
      "task": true
    },
    {
      "name": "postGroupsinvite",
      "summary": "",
      "description": "Invites a user to a private channel.",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `groups:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "user",
          "type": "string",
          "info": "User to invite.",
          "required": false,
          "schema": {
            "title": "user",
            "type": "string"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "Private channel to invite user to.",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postGroupsinvite"
      },
      "task": true
    },
    {
      "name": "postGroupskick",
      "summary": "",
      "description": "Removes a user from a private channel.",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `groups:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "user",
          "type": "string",
          "info": "User to remove from private channel.",
          "required": false,
          "schema": {
            "title": "user",
            "type": "string"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "Private channel to remove user from.",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postGroupskick"
      },
      "task": true
    },
    {
      "name": "postGroupsleave",
      "summary": "",
      "description": "Leaves a private channel.",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `groups:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "Private channel to leave",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postGroupsleave"
      },
      "task": true
    },
    {
      "name": "getGroupslist",
      "summary": "",
      "description": "Lists private channels that the calling user has access to.",
      "input": [
        {
          "name": "excludeMembers",
          "type": "boolean",
          "info": "Exclude the `members` from each `group`",
          "required": false,
          "schema": {
            "title": "excludeMembers",
            "type": "boolean"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `groups:read`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "excludeArchived",
          "type": "boolean",
          "info": "Don't return archived private channels.",
          "required": false,
          "schema": {
            "title": "excludeArchived",
            "type": "boolean"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getGroupslist"
      },
      "task": true
    },
    {
      "name": "postGroupsmark",
      "summary": "",
      "description": "Sets the read cursor in a private channel.",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `groups:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "ts",
          "type": "number",
          "info": "Timestamp of the most recently seen message.",
          "required": false,
          "schema": {
            "title": "ts",
            "type": "number"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "Private channel to set reading cursor in.",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postGroupsmark"
      },
      "task": true
    },
    {
      "name": "postGroupsopen",
      "summary": "",
      "description": "Opens a private channel.",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `groups:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "Private channel to open.",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postGroupsopen"
      },
      "task": true
    },
    {
      "name": "postGroupsrename",
      "summary": "",
      "description": "Renames a private channel.",
      "input": [
        {
          "name": "validate",
          "type": "boolean",
          "info": "Whether to return errors on invalid channel name instead of modifying it to meet the specified criteria.",
          "required": false,
          "schema": {
            "title": "validate",
            "type": "boolean"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `groups:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "name",
          "type": "string",
          "info": "New name for private channel.",
          "required": false,
          "schema": {
            "title": "name",
            "type": "string"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "Private channel to rename",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postGroupsrename"
      },
      "task": true
    },
    {
      "name": "getGroupsreplies",
      "summary": "",
      "description": "Retrieve a thread of messages posted to a private channel",
      "input": [
        {
          "name": "threadTs",
          "type": "number",
          "info": "Unique identifier of a thread's parent message",
          "required": false,
          "schema": {
            "title": "threadTs",
            "type": "number"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `groups:history`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "Private channel to fetch thread from",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getGroupsreplies"
      },
      "task": true
    },
    {
      "name": "postGroupssetPurpose",
      "summary": "",
      "description": "Sets the purpose for a private channel.",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `groups:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "purpose",
          "type": "string",
          "info": "The new purpose",
          "required": false,
          "schema": {
            "title": "purpose",
            "type": "string"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "Private channel to set the purpose of",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postGroupssetPurpose"
      },
      "task": true
    },
    {
      "name": "postGroupssetTopic",
      "summary": "",
      "description": "Sets the topic for a private channel.",
      "input": [
        {
          "name": "topic",
          "type": "string",
          "info": "The new topic",
          "required": false,
          "schema": {
            "title": "topic",
            "type": "string"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `groups:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "Private channel to set the topic of",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postGroupssetTopic"
      },
      "task": true
    },
    {
      "name": "postGroupsunarchive",
      "summary": "",
      "description": "Unarchives a private channel.",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `groups:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "Private channel to unarchive",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postGroupsunarchive"
      },
      "task": true
    },
    {
      "name": "postImclose",
      "summary": "",
      "description": "Close a direct message channel.",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `im:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "Direct message channel to close.",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postImclose"
      },
      "task": true
    },
    {
      "name": "getImhistory",
      "summary": "",
      "description": "Fetches history of messages and events from direct message channel.",
      "input": [
        {
          "name": "count",
          "type": "number",
          "info": "Number of messages to return, between 1 and 1000.",
          "required": false,
          "schema": {
            "title": "count",
            "type": "number"
          }
        },
        {
          "name": "unreads",
          "type": "boolean",
          "info": "Include `unread_count_display` in the output?",
          "required": false,
          "schema": {
            "title": "unreads",
            "type": "boolean"
          }
        },
        {
          "name": "inclusive",
          "type": "boolean",
          "info": "Include messages with latest or oldest timestamp in results.",
          "required": false,
          "schema": {
            "title": "inclusive",
            "type": "boolean"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `im:history`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "oldest",
          "type": "number",
          "info": "Start of time range of messages to include in results.",
          "required": false,
          "schema": {
            "title": "oldest",
            "type": "number"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "Direct message channel to fetch history for.",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        },
        {
          "name": "latest",
          "type": "number",
          "info": "End of time range of messages to include in results.",
          "required": false,
          "schema": {
            "title": "latest",
            "type": "number"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getImhistory"
      },
      "task": true
    },
    {
      "name": "getImlist",
      "summary": "",
      "description": "Lists direct message channels for the calling user.",
      "input": [
        {
          "name": "cursor",
          "type": "string",
          "info": "Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`. Default value fetches the first \"page\" of the collection. See [pagination](/docs/pagination) for more detail.",
          "required": false,
          "schema": {
            "title": "cursor",
            "type": "string"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `im:read`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "limit",
          "type": "number",
          "info": "The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the users list hasn't been reached.",
          "required": false,
          "schema": {
            "title": "limit",
            "type": "number"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getImlist"
      },
      "task": true
    },
    {
      "name": "postImmark",
      "summary": "",
      "description": "Sets the read cursor in a direct message channel.",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `im:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "ts",
          "type": "number",
          "info": "Timestamp of the most recently seen message.",
          "required": false,
          "schema": {
            "title": "ts",
            "type": "number"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "Direct message channel to set reading cursor in.",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postImmark"
      },
      "task": true
    },
    {
      "name": "postImopen",
      "summary": "",
      "description": "Opens a direct message channel.",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `im:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "returnIm",
          "type": "boolean",
          "info": "Boolean, indicates you want the full IM channel definition in the response.",
          "required": false,
          "schema": {
            "title": "returnIm",
            "type": "boolean"
          }
        },
        {
          "name": "user",
          "type": "string",
          "info": "User to open a direct message channel with.",
          "required": false,
          "schema": {
            "title": "user",
            "type": "string"
          }
        },
        {
          "name": "includeLocale",
          "type": "boolean",
          "info": "Set this to `true` to receive the locale for this im. Defaults to `false`",
          "required": false,
          "schema": {
            "title": "includeLocale",
            "type": "boolean"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postImopen"
      },
      "task": true
    },
    {
      "name": "getImreplies",
      "summary": "",
      "description": "Retrieve a thread of messages posted to a direct message conversation",
      "input": [
        {
          "name": "threadTs",
          "type": "number",
          "info": "Unique identifier of a thread's parent message",
          "required": false,
          "schema": {
            "title": "threadTs",
            "type": "number"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `im:history`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "Direct message channel to fetch thread from",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getImreplies"
      },
      "task": true
    },
    {
      "name": "getMigrationexchange",
      "summary": "",
      "description": "For Enterprise Grid workspaces, map local user IDs to global user IDs",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `tokens.basic`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "toOld",
          "type": "boolean",
          "info": "Specify `true` to convert `W` global user IDs to workspace-specific `U` IDs. Defaults to `false`.",
          "required": false,
          "schema": {
            "title": "toOld",
            "type": "boolean"
          }
        },
        {
          "name": "users",
          "type": "string",
          "info": "A comma-separated list of user ids, up to 400 per request",
          "required": false,
          "schema": {
            "title": "users",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getMigrationexchange"
      },
      "task": true
    },
    {
      "name": "postMpimclose",
      "summary": "",
      "description": "Closes a multiparty direct message channel.",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `mpim:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "MPIM to close.",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postMpimclose"
      },
      "task": true
    },
    {
      "name": "getMpimhistory",
      "summary": "",
      "description": "Fetches history of messages and events from a multiparty direct message.",
      "input": [
        {
          "name": "count",
          "type": "number",
          "info": "Number of messages to return, between 1 and 1000.",
          "required": false,
          "schema": {
            "title": "count",
            "type": "number"
          }
        },
        {
          "name": "unreads",
          "type": "boolean",
          "info": "Include `unread_count_display` in the output?",
          "required": false,
          "schema": {
            "title": "unreads",
            "type": "boolean"
          }
        },
        {
          "name": "inclusive",
          "type": "boolean",
          "info": "Include messages with latest or oldest timestamp in results.",
          "required": false,
          "schema": {
            "title": "inclusive",
            "type": "boolean"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `mpim:history`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "oldest",
          "type": "number",
          "info": "Start of time range of messages to include in results.",
          "required": false,
          "schema": {
            "title": "oldest",
            "type": "number"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "Multiparty direct message to fetch history for.",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        },
        {
          "name": "latest",
          "type": "number",
          "info": "End of time range of messages to include in results.",
          "required": false,
          "schema": {
            "title": "latest",
            "type": "number"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getMpimhistory"
      },
      "task": true
    },
    {
      "name": "getMpimlist",
      "summary": "",
      "description": "Lists multiparty direct message channels for the calling user.",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `mpim:read`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getMpimlist"
      },
      "task": true
    },
    {
      "name": "postMpimmark",
      "summary": "",
      "description": "Sets the read cursor in a multiparty direct message channel.",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `mpim:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "ts",
          "type": "number",
          "info": "Timestamp of the most recently seen message.",
          "required": false,
          "schema": {
            "title": "ts",
            "type": "number"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "multiparty direct message channel to set reading cursor in.",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postMpimmark"
      },
      "task": true
    },
    {
      "name": "postMpimopen",
      "summary": "",
      "description": "This method opens a multiparty direct message.",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `mpim:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "users",
          "type": "string",
          "info": "Comma separated lists of users.  The ordering of the users is preserved whenever a MPIM group is returned.",
          "required": false,
          "schema": {
            "title": "users",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postMpimopen"
      },
      "task": true
    },
    {
      "name": "getMpimreplies",
      "summary": "",
      "description": "Retrieve a thread of messages posted to a direct message conversation from a multiparty direct message.",
      "input": [
        {
          "name": "threadTs",
          "type": "number",
          "info": "Unique identifier of a thread's parent message.",
          "required": false,
          "schema": {
            "title": "threadTs",
            "type": "number"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `mpim:history`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "Multiparty direct message channel to fetch thread from.",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getMpimreplies"
      },
      "task": true
    },
    {
      "name": "getOauthaccess",
      "summary": "",
      "description": "Exchanges a temporary OAuth verifier code for an access token.",
      "input": [
        {
          "name": "clientSecret",
          "type": "string",
          "info": "Issued when you created your application.",
          "required": false,
          "schema": {
            "title": "clientSecret",
            "type": "string"
          }
        },
        {
          "name": "code",
          "type": "string",
          "info": "The `code` param returned via the OAuth callback.",
          "required": false,
          "schema": {
            "title": "code",
            "type": "string"
          }
        },
        {
          "name": "singleChannel",
          "type": "boolean",
          "info": "Request the user to add your app only to a single channel.",
          "required": false,
          "schema": {
            "title": "singleChannel",
            "type": "boolean"
          }
        },
        {
          "name": "clientId",
          "type": "string",
          "info": "Issued when you created your application.",
          "required": false,
          "schema": {
            "title": "clientId",
            "type": "string"
          }
        },
        {
          "name": "redirectUri",
          "type": "string",
          "info": "This must match the originally submitted URI (if one was sent).",
          "required": false,
          "schema": {
            "title": "redirectUri",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getOauthaccess"
      },
      "task": true
    },
    {
      "name": "getOauthtoken",
      "summary": "",
      "description": "Exchanges a temporary OAuth verifier code for a workspace token.",
      "input": [
        {
          "name": "clientSecret",
          "type": "string",
          "info": "Issued when you created your application.",
          "required": false,
          "schema": {
            "title": "clientSecret",
            "type": "string"
          }
        },
        {
          "name": "code",
          "type": "string",
          "info": "The `code` param returned via the OAuth callback.",
          "required": false,
          "schema": {
            "title": "code",
            "type": "string"
          }
        },
        {
          "name": "singleChannel",
          "type": "boolean",
          "info": "Request the user to add your app only to a single channel.",
          "required": false,
          "schema": {
            "title": "singleChannel",
            "type": "boolean"
          }
        },
        {
          "name": "clientId",
          "type": "string",
          "info": "Issued when you created your application.",
          "required": false,
          "schema": {
            "title": "clientId",
            "type": "string"
          }
        },
        {
          "name": "redirectUri",
          "type": "string",
          "info": "This must match the originally submitted URI (if one was sent).",
          "required": false,
          "schema": {
            "title": "redirectUri",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getOauthtoken"
      },
      "task": true
    },
    {
      "name": "postPinsadd",
      "summary": "",
      "description": "Pins an item to a channel.",
      "input": [
        {
          "name": "fileComment",
          "type": "string",
          "info": "File comment to pin.",
          "required": false,
          "schema": {
            "title": "fileComment",
            "type": "string"
          }
        },
        {
          "name": "timestamp",
          "type": "number",
          "info": "Timestamp of the message to pin.",
          "required": false,
          "schema": {
            "title": "timestamp",
            "type": "number"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `pins:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "file",
          "type": "string",
          "info": "File to pin.",
          "required": false,
          "schema": {
            "title": "file",
            "type": "string"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "Channel to pin the item in.",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postPinsadd"
      },
      "task": true
    },
    {
      "name": "getPinslist",
      "summary": "",
      "description": "Lists items pinned to a channel.",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `pins:read`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "Channel to get pinned items for.",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getPinslist"
      },
      "task": true
    },
    {
      "name": "postPinsremove",
      "summary": "",
      "description": "Un-pins an item from a channel.",
      "input": [
        {
          "name": "fileComment",
          "type": "string",
          "info": "File comment to un-pin.",
          "required": false,
          "schema": {
            "title": "fileComment",
            "type": "string"
          }
        },
        {
          "name": "timestamp",
          "type": "number",
          "info": "Timestamp of the message to un-pin.",
          "required": false,
          "schema": {
            "title": "timestamp",
            "type": "number"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `pins:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "file",
          "type": "string",
          "info": "File to un-pin.",
          "required": false,
          "schema": {
            "title": "file",
            "type": "string"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "Channel where the item is pinned to.",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postPinsremove"
      },
      "task": true
    },
    {
      "name": "postReactionsadd",
      "summary": "",
      "description": "Adds a reaction to an item.",
      "input": [
        {
          "name": "name",
          "type": "string",
          "info": "Reaction (emoji) name.",
          "required": false,
          "schema": {
            "title": "name",
            "type": "string"
          }
        },
        {
          "name": "fileComment",
          "type": "string",
          "info": "File comment to add reaction to.",
          "required": false,
          "schema": {
            "title": "fileComment",
            "type": "string"
          }
        },
        {
          "name": "timestamp",
          "type": "number",
          "info": "Timestamp of the message to add reaction to.",
          "required": false,
          "schema": {
            "title": "timestamp",
            "type": "number"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `reactions:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "file",
          "type": "string",
          "info": "File to add reaction to.",
          "required": false,
          "schema": {
            "title": "file",
            "type": "string"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "Channel where the message to add reaction to was posted.",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postReactionsadd"
      },
      "task": true
    },
    {
      "name": "getReactionsget",
      "summary": "",
      "description": "Gets reactions for an item.",
      "input": [
        {
          "name": "full",
          "type": "boolean",
          "info": "If true always return the complete reaction list.",
          "required": false,
          "schema": {
            "title": "full",
            "type": "boolean"
          }
        },
        {
          "name": "fileComment",
          "type": "string",
          "info": "File comment to get reactions for.",
          "required": false,
          "schema": {
            "title": "fileComment",
            "type": "string"
          }
        },
        {
          "name": "timestamp",
          "type": "number",
          "info": "Timestamp of the message to get reactions for.",
          "required": false,
          "schema": {
            "title": "timestamp",
            "type": "number"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `reactions:read`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "file",
          "type": "string",
          "info": "File to get reactions for.",
          "required": false,
          "schema": {
            "title": "file",
            "type": "string"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "Channel where the message to get reactions for was posted.",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getReactionsget"
      },
      "task": true
    },
    {
      "name": "getReactionslist",
      "summary": "",
      "description": "Lists reactions made by a user.",
      "input": [
        {
          "name": "count",
          "type": "string",
          "info": "",
          "required": false,
          "schema": {
            "title": "count",
            "type": "string"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `reactions:read`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "full",
          "type": "boolean",
          "info": "If true always return the complete reaction list.",
          "required": false,
          "schema": {
            "title": "full",
            "type": "boolean"
          }
        },
        {
          "name": "user",
          "type": "string",
          "info": "Show reactions made by this user. Defaults to the authed user.",
          "required": false,
          "schema": {
            "title": "user",
            "type": "string"
          }
        },
        {
          "name": "page",
          "type": "string",
          "info": "",
          "required": false,
          "schema": {
            "title": "page",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getReactionslist"
      },
      "task": true
    },
    {
      "name": "postReactionsremove",
      "summary": "",
      "description": "Removes a reaction from an item.",
      "input": [
        {
          "name": "name",
          "type": "string",
          "info": "Reaction (emoji) name.",
          "required": false,
          "schema": {
            "title": "name",
            "type": "string"
          }
        },
        {
          "name": "fileComment",
          "type": "string",
          "info": "File comment to remove reaction from.",
          "required": false,
          "schema": {
            "title": "fileComment",
            "type": "string"
          }
        },
        {
          "name": "timestamp",
          "type": "number",
          "info": "Timestamp of the message to remove reaction from.",
          "required": false,
          "schema": {
            "title": "timestamp",
            "type": "number"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `reactions:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "file",
          "type": "string",
          "info": "File to remove reaction from.",
          "required": false,
          "schema": {
            "title": "file",
            "type": "string"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "Channel where the message to remove reaction from was posted.",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postReactionsremove"
      },
      "task": true
    },
    {
      "name": "postRemindersadd",
      "summary": "",
      "description": "Creates a reminder.",
      "input": [
        {
          "name": "text",
          "type": "string",
          "info": "The content of the reminder",
          "required": false,
          "schema": {
            "title": "text",
            "type": "string"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `reminders:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "user",
          "type": "string",
          "info": "The user who will receive the reminder. If no user is specified, the reminder will go to user who created it.",
          "required": false,
          "schema": {
            "title": "user",
            "type": "string"
          }
        },
        {
          "name": "time",
          "type": "string",
          "info": "When this reminder should happen: the Unix timestamp (up to five years from now), the number of seconds until the reminder (if within 24 hours), or a natural language description (Ex. \"in 15 minutes,\" or \"every Thursday\")",
          "required": false,
          "schema": {
            "title": "time",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postRemindersadd"
      },
      "task": true
    },
    {
      "name": "postReminderscomplete",
      "summary": "",
      "description": "Marks a reminder as complete.",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `reminders:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "reminder",
          "type": "string",
          "info": "The ID of the reminder to be marked as complete",
          "required": false,
          "schema": {
            "title": "reminder",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postReminderscomplete"
      },
      "task": true
    },
    {
      "name": "postRemindersdelete",
      "summary": "",
      "description": "Deletes a reminder.",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `reminders:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "reminder",
          "type": "string",
          "info": "The ID of the reminder",
          "required": false,
          "schema": {
            "title": "reminder",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postRemindersdelete"
      },
      "task": true
    },
    {
      "name": "getRemindersinfo",
      "summary": "",
      "description": "Gets information about a reminder.",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `reminders:read`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "reminder",
          "type": "string",
          "info": "The ID of the reminder",
          "required": false,
          "schema": {
            "title": "reminder",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getRemindersinfo"
      },
      "task": true
    },
    {
      "name": "getReminderslist",
      "summary": "",
      "description": "Lists all reminders created by or for a given user.",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `reminders:read`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getReminderslist"
      },
      "task": true
    },
    {
      "name": "getRtmconnect",
      "summary": "",
      "description": "Starts a Real Time Messaging session.",
      "input": [
        {
          "name": "presenceSub",
          "type": "boolean",
          "info": "Only deliver presence events when requested by subscription. See [presence subscriptions](/docs/presence-and-status#subscriptions).",
          "required": false,
          "schema": {
            "title": "presenceSub",
            "type": "boolean"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `rtm:stream`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "batchPresenceAware",
          "type": "boolean",
          "info": "Batch presence deliveries via subscription. Enabling changes the shape of `presence_change` events. See [batch presence](/docs/presence-and-status#batching).",
          "required": false,
          "schema": {
            "title": "batchPresenceAware",
            "type": "boolean"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getRtmconnect"
      },
      "task": true
    },
    {
      "name": "getRtmstart",
      "summary": "",
      "description": "Starts a Real Time Messaging session.",
      "input": [
        {
          "name": "noLatest",
          "type": "boolean",
          "info": "Exclude latest timestamps for channels, groups, mpims, and ims. Automatically sets `no_unreads` to `1`",
          "required": false,
          "schema": {
            "title": "noLatest",
            "type": "boolean"
          }
        },
        {
          "name": "simpleLatest",
          "type": "boolean",
          "info": "Return timestamp only for latest message object of each channel (improves performance).",
          "required": false,
          "schema": {
            "title": "simpleLatest",
            "type": "boolean"
          }
        },
        {
          "name": "includeLocale",
          "type": "boolean",
          "info": "Set this to `true` to receive the locale for users and channels. Defaults to `false`",
          "required": false,
          "schema": {
            "title": "includeLocale",
            "type": "boolean"
          }
        },
        {
          "name": "presenceSub",
          "type": "boolean",
          "info": "Only deliver presence events when requested by subscription. See [presence subscriptions](/docs/presence-and-status#subscriptions).",
          "required": false,
          "schema": {
            "title": "presenceSub",
            "type": "boolean"
          }
        },
        {
          "name": "noUnreads",
          "type": "boolean",
          "info": "Skip unread counts for each channel (improves performance).",
          "required": false,
          "schema": {
            "title": "noUnreads",
            "type": "boolean"
          }
        },
        {
          "name": "batchPresenceAware",
          "type": "boolean",
          "info": "Batch presence deliveries via subscription. Enabling changes the shape of `presence_change` events. See [batch presence](/docs/presence-and-status#batching).",
          "required": false,
          "schema": {
            "title": "batchPresenceAware",
            "type": "boolean"
          }
        },
        {
          "name": "mpimAware",
          "type": "boolean",
          "info": "Returns MPIMs to the client in the API response.",
          "required": false,
          "schema": {
            "title": "mpimAware",
            "type": "boolean"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `rtm:stream`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getRtmstart"
      },
      "task": true
    },
    {
      "name": "getSearchall",
      "summary": "",
      "description": "Searches for messages and files matching a query.",
      "input": [
        {
          "name": "sortDir",
          "type": "string",
          "info": "Change sort direction to ascending (`asc`) or descending (`desc`).",
          "required": false,
          "schema": {
            "title": "sortDir",
            "type": "string"
          }
        },
        {
          "name": "query",
          "type": "string",
          "info": "Search query. May contains booleans, etc.",
          "required": false,
          "schema": {
            "title": "query",
            "type": "string"
          }
        },
        {
          "name": "sort",
          "type": "string",
          "info": "Return matches sorted by either `score` or `timestamp`.",
          "required": false,
          "schema": {
            "title": "sort",
            "type": "string"
          }
        },
        {
          "name": "count",
          "type": "string",
          "info": "",
          "required": false,
          "schema": {
            "title": "count",
            "type": "string"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `search:read`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "highlight",
          "type": "boolean",
          "info": "Pass a value of `true` to enable query highlight markers (see below).",
          "required": false,
          "schema": {
            "title": "highlight",
            "type": "boolean"
          }
        },
        {
          "name": "page",
          "type": "string",
          "info": "",
          "required": false,
          "schema": {
            "title": "page",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getSearchall"
      },
      "task": true
    },
    {
      "name": "getSearchfiles",
      "summary": "",
      "description": "Searches for files matching a query.",
      "input": [
        {
          "name": "sortDir",
          "type": "string",
          "info": "Change sort direction to ascending (`asc`) or descending (`desc`).",
          "required": false,
          "schema": {
            "title": "sortDir",
            "type": "string"
          }
        },
        {
          "name": "query",
          "type": "string",
          "info": "Search query.",
          "required": false,
          "schema": {
            "title": "query",
            "type": "string"
          }
        },
        {
          "name": "sort",
          "type": "string",
          "info": "Return matches sorted by either `score` or `timestamp`.",
          "required": false,
          "schema": {
            "title": "sort",
            "type": "string"
          }
        },
        {
          "name": "highlight",
          "type": "boolean",
          "info": "Pass a value of `true` to enable query highlight markers (see below).",
          "required": false,
          "schema": {
            "title": "highlight",
            "type": "boolean"
          }
        },
        {
          "name": "count",
          "type": "string",
          "info": "",
          "required": false,
          "schema": {
            "title": "count",
            "type": "string"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `search:read`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "page",
          "type": "string",
          "info": "",
          "required": false,
          "schema": {
            "title": "page",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getSearchfiles"
      },
      "task": true
    },
    {
      "name": "getSearchmessages",
      "summary": "",
      "description": "Searches for messages matching a query.",
      "input": [
        {
          "name": "sortDir",
          "type": "string",
          "info": "Change sort direction to ascending (`asc`) or descending (`desc`).",
          "required": false,
          "schema": {
            "title": "sortDir",
            "type": "string"
          }
        },
        {
          "name": "query",
          "type": "string",
          "info": "Search query.",
          "required": false,
          "schema": {
            "title": "query",
            "type": "string"
          }
        },
        {
          "name": "sort",
          "type": "string",
          "info": "Return matches sorted by either `score` or `timestamp`.",
          "required": false,
          "schema": {
            "title": "sort",
            "type": "string"
          }
        },
        {
          "name": "count",
          "type": "string",
          "info": "Pass the number of results you want per \"page\". Maximum of `100`.",
          "required": false,
          "schema": {
            "title": "count",
            "type": "string"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `search:read`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "highlight",
          "type": "boolean",
          "info": "Pass a value of `true` to enable query highlight markers (see below).",
          "required": false,
          "schema": {
            "title": "highlight",
            "type": "boolean"
          }
        },
        {
          "name": "page",
          "type": "string",
          "info": "",
          "required": false,
          "schema": {
            "title": "page",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getSearchmessages"
      },
      "task": true
    },
    {
      "name": "postStarsadd",
      "summary": "",
      "description": "Adds a star to an item.",
      "input": [
        {
          "name": "fileComment",
          "type": "string",
          "info": "File comment to add star to.",
          "required": false,
          "schema": {
            "title": "fileComment",
            "type": "string"
          }
        },
        {
          "name": "timestamp",
          "type": "number",
          "info": "Timestamp of the message to add star to.",
          "required": false,
          "schema": {
            "title": "timestamp",
            "type": "number"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `stars:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "Channel to add star to, or channel where the message to add star to was posted (used with `timestamp`).",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        },
        {
          "name": "file",
          "type": "string",
          "info": "File to add star to.",
          "required": false,
          "schema": {
            "title": "file",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postStarsadd"
      },
      "task": true
    },
    {
      "name": "getStarslist",
      "summary": "",
      "description": "Lists stars for a user.",
      "input": [
        {
          "name": "count",
          "type": "string",
          "info": "",
          "required": false,
          "schema": {
            "title": "count",
            "type": "string"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `stars:read`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "page",
          "type": "string",
          "info": "",
          "required": false,
          "schema": {
            "title": "page",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getStarslist"
      },
      "task": true
    },
    {
      "name": "postStarsremove",
      "summary": "",
      "description": "Removes a star from an item.",
      "input": [
        {
          "name": "fileComment",
          "type": "string",
          "info": "File comment to remove star from.",
          "required": false,
          "schema": {
            "title": "fileComment",
            "type": "string"
          }
        },
        {
          "name": "timestamp",
          "type": "number",
          "info": "Timestamp of the message to remove star from.",
          "required": false,
          "schema": {
            "title": "timestamp",
            "type": "number"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `stars:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "channel",
          "type": "string",
          "info": "Channel to remove star from, or channel where the message to remove star from was posted (used with `timestamp`).",
          "required": false,
          "schema": {
            "title": "channel",
            "type": "string"
          }
        },
        {
          "name": "file",
          "type": "string",
          "info": "File to remove star from.",
          "required": false,
          "schema": {
            "title": "file",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postStarsremove"
      },
      "task": true
    },
    {
      "name": "getTeamaccessLogs",
      "summary": "",
      "description": "Gets the access logs for the current team.",
      "input": [
        {
          "name": "count",
          "type": "string",
          "info": "",
          "required": false,
          "schema": {
            "title": "count",
            "type": "string"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `admin`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "page",
          "type": "string",
          "info": "",
          "required": false,
          "schema": {
            "title": "page",
            "type": "string"
          }
        },
        {
          "name": "before",
          "type": "number",
          "info": "End of time range of logs to include in results (inclusive).",
          "required": false,
          "schema": {
            "title": "before",
            "type": "number"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getTeamaccessLogs"
      },
      "task": true
    },
    {
      "name": "getTeambillableInfo",
      "summary": "",
      "description": "Gets billable users information for the current team.",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `admin`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "user",
          "type": "string",
          "info": "A user to retrieve the billable information for. Defaults to all users.",
          "required": false,
          "schema": {
            "title": "user",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getTeambillableInfo"
      },
      "task": true
    },
    {
      "name": "getTeaminfo",
      "summary": "",
      "description": "Gets information about the current team.",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `team:read`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getTeaminfo"
      },
      "task": true
    },
    {
      "name": "getTeamintegrationLogs",
      "summary": "",
      "description": "Gets the integration logs for the current team.",
      "input": [
        {
          "name": "count",
          "type": "string",
          "info": "",
          "required": false,
          "schema": {
            "title": "count",
            "type": "string"
          }
        },
        {
          "name": "changeType",
          "type": "string",
          "info": "Filter logs with this change type. Defaults to all logs.",
          "required": false,
          "schema": {
            "title": "changeType",
            "type": "string"
          }
        },
        {
          "name": "appId",
          "type": "number",
          "info": "Filter logs to this Slack app. Defaults to all logs.",
          "required": false,
          "schema": {
            "title": "appId",
            "type": "number"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `admin`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "user",
          "type": "string",
          "info": "Filter logs generated by this user’s actions. Defaults to all logs.",
          "required": false,
          "schema": {
            "title": "user",
            "type": "string"
          }
        },
        {
          "name": "serviceId",
          "type": "number",
          "info": "Filter logs to this service. Defaults to all logs.",
          "required": false,
          "schema": {
            "title": "serviceId",
            "type": "number"
          }
        },
        {
          "name": "page",
          "type": "string",
          "info": "",
          "required": false,
          "schema": {
            "title": "page",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getTeamintegrationLogs"
      },
      "task": true
    },
    {
      "name": "getTeamprofileget",
      "summary": "",
      "description": "Retrieve a team's profile.",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `users.profile:read`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "visibility",
          "type": "string",
          "info": "Filter by visibility.",
          "required": false,
          "schema": {
            "title": "visibility",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getTeamprofileget"
      },
      "task": true
    },
    {
      "name": "postUsergroupscreate",
      "summary": "",
      "description": "Create a User Group",
      "input": [
        {
          "name": "handle",
          "type": "string",
          "info": "A mention handle. Must be unique among channels, users and User Groups.",
          "required": false,
          "schema": {
            "title": "handle",
            "type": "string"
          }
        },
        {
          "name": "name",
          "type": "string",
          "info": "A name for the User Group. Must be unique among User Groups.",
          "required": false,
          "schema": {
            "title": "name",
            "type": "string"
          }
        },
        {
          "name": "channels",
          "type": "string",
          "info": "A comma separated string of encoded channel IDs for which the User Group uses as a default.",
          "required": false,
          "schema": {
            "title": "channels",
            "type": "string"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `usergroups:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "includeCount",
          "type": "boolean",
          "info": "Include the number of users in each User Group.",
          "required": false,
          "schema": {
            "title": "includeCount",
            "type": "boolean"
          }
        },
        {
          "name": "description",
          "type": "string",
          "info": "A short description of the User Group.",
          "required": false,
          "schema": {
            "title": "description",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postUsergroupscreate"
      },
      "task": true
    },
    {
      "name": "postUsergroupsdisable",
      "summary": "",
      "description": "Disable an existing User Group",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `usergroups:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "includeCount",
          "type": "boolean",
          "info": "Include the number of users in the User Group.",
          "required": false,
          "schema": {
            "title": "includeCount",
            "type": "boolean"
          }
        },
        {
          "name": "usergroup",
          "type": "string",
          "info": "The encoded ID of the User Group to disable.",
          "required": false,
          "schema": {
            "title": "usergroup",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postUsergroupsdisable"
      },
      "task": true
    },
    {
      "name": "postUsergroupsenable",
      "summary": "",
      "description": "Enable a User Group",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `usergroups:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "includeCount",
          "type": "boolean",
          "info": "Include the number of users in the User Group.",
          "required": false,
          "schema": {
            "title": "includeCount",
            "type": "boolean"
          }
        },
        {
          "name": "usergroup",
          "type": "string",
          "info": "The encoded ID of the User Group to enable.",
          "required": false,
          "schema": {
            "title": "usergroup",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postUsergroupsenable"
      },
      "task": true
    },
    {
      "name": "getUsergroupslist",
      "summary": "",
      "description": "List all User Groups for a team",
      "input": [
        {
          "name": "includeUsers",
          "type": "boolean",
          "info": "Include the list of users for each User Group.",
          "required": false,
          "schema": {
            "title": "includeUsers",
            "type": "boolean"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `usergroups:read`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "includeCount",
          "type": "boolean",
          "info": "Include the number of users in each User Group.",
          "required": false,
          "schema": {
            "title": "includeCount",
            "type": "boolean"
          }
        },
        {
          "name": "includeDisabled",
          "type": "boolean",
          "info": "Include disabled User Groups.",
          "required": false,
          "schema": {
            "title": "includeDisabled",
            "type": "boolean"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getUsergroupslist"
      },
      "task": true
    },
    {
      "name": "postUsergroupsupdate",
      "summary": "",
      "description": "Update an existing User Group",
      "input": [
        {
          "name": "handle",
          "type": "string",
          "info": "A mention handle. Must be unique among channels, users and User Groups.",
          "required": false,
          "schema": {
            "title": "handle",
            "type": "string"
          }
        },
        {
          "name": "description",
          "type": "string",
          "info": "A short description of the User Group.",
          "required": false,
          "schema": {
            "title": "description",
            "type": "string"
          }
        },
        {
          "name": "channels",
          "type": "string",
          "info": "A comma separated string of encoded channel IDs for which the User Group uses as a default.",
          "required": false,
          "schema": {
            "title": "channels",
            "type": "string"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `usergroups:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "includeCount",
          "type": "boolean",
          "info": "Include the number of users in the User Group.",
          "required": false,
          "schema": {
            "title": "includeCount",
            "type": "boolean"
          }
        },
        {
          "name": "usergroup",
          "type": "string",
          "info": "The encoded ID of the User Group to update.",
          "required": false,
          "schema": {
            "title": "usergroup",
            "type": "string"
          }
        },
        {
          "name": "name",
          "type": "string",
          "info": "A name for the User Group. Must be unique among User Groups.",
          "required": false,
          "schema": {
            "title": "name",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postUsergroupsupdate"
      },
      "task": true
    },
    {
      "name": "getUsergroupsuserslist",
      "summary": "",
      "description": "List all users in a User Group",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `usergroups:read`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "includeDisabled",
          "type": "boolean",
          "info": "Allow results that involve disabled User Groups.",
          "required": false,
          "schema": {
            "title": "includeDisabled",
            "type": "boolean"
          }
        },
        {
          "name": "usergroup",
          "type": "string",
          "info": "The encoded ID of the User Group to update.",
          "required": false,
          "schema": {
            "title": "usergroup",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getUsergroupsuserslist"
      },
      "task": true
    },
    {
      "name": "postUsergroupsusersupdate",
      "summary": "",
      "description": "Update the list of users for a User Group",
      "input": [
        {
          "name": "includeCount",
          "type": "boolean",
          "info": "Include the number of users in the User Group.",
          "required": false,
          "schema": {
            "title": "includeCount",
            "type": "boolean"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `usergroups:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "users",
          "type": "string",
          "info": "A comma separated string of encoded user IDs that represent the entire list of users for the User Group.",
          "required": false,
          "schema": {
            "title": "users",
            "type": "string"
          }
        },
        {
          "name": "usergroup",
          "type": "string",
          "info": "The encoded ID of the User Group to update.",
          "required": false,
          "schema": {
            "title": "usergroup",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postUsergroupsusersupdate"
      },
      "task": true
    },
    {
      "name": "getUsersconversations",
      "summary": "",
      "description": "List conversations the calling user may access.",
      "input": [
        {
          "name": "cursor",
          "type": "string",
          "info": "Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`. Default value fetches the first \"page\" of the collection. See [pagination](/docs/pagination) for more detail.",
          "required": false,
          "schema": {
            "title": "cursor",
            "type": "string"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `conversations:read`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "limit",
          "type": "number",
          "info": "The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the list hasn't been reached. Must be an integer no larger than 1000.",
          "required": false,
          "schema": {
            "title": "limit",
            "type": "number"
          }
        },
        {
          "name": "user",
          "type": "string",
          "info": "Browse conversations by a specific user ID's membership. Non-public channels are restricted to those where the calling user shares membership.",
          "required": false,
          "schema": {
            "title": "user",
            "type": "string"
          }
        },
        {
          "name": "excludeArchived",
          "type": "boolean",
          "info": "Set to `true` to exclude archived channels from the list",
          "required": false,
          "schema": {
            "title": "excludeArchived",
            "type": "boolean"
          }
        },
        {
          "name": "types",
          "type": "string",
          "info": "Mix and match channel types by providing a comma-separated list of any combination of `public_channel`, `private_channel`, `mpim`, `im`",
          "required": false,
          "schema": {
            "title": "types",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getUsersconversations"
      },
      "task": true
    },
    {
      "name": "postUsersdeletePhoto",
      "summary": "",
      "description": "Delete the user profile photo",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `users.profile:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postUsersdeletePhoto"
      },
      "task": true
    },
    {
      "name": "getUsersgetPresence",
      "summary": "",
      "description": "Gets user presence information.",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `users:read`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "user",
          "type": "string",
          "info": "User to get presence info on. Defaults to the authed user.",
          "required": false,
          "schema": {
            "title": "user",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getUsersgetPresence"
      },
      "task": true
    },
    {
      "name": "getUsersidentity",
      "summary": "",
      "description": "Get a user's identity.",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `identity.basic`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getUsersidentity"
      },
      "task": true
    },
    {
      "name": "getUsersinfo",
      "summary": "",
      "description": "Gets information about a user.",
      "input": [
        {
          "name": "includeLocale",
          "type": "boolean",
          "info": "Set this to `true` to receive the locale for this user. Defaults to `false`",
          "required": false,
          "schema": {
            "title": "includeLocale",
            "type": "boolean"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `users:read`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "user",
          "type": "string",
          "info": "User to get info on",
          "required": false,
          "schema": {
            "title": "user",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getUsersinfo"
      },
      "task": true
    },
    {
      "name": "getUserslist",
      "summary": "",
      "description": "Lists all users in a Slack team.",
      "input": [
        {
          "name": "presence",
          "type": "boolean",
          "info": "Deprecated. Whether to include presence data in the output. Defaults to `false`. Setting this to `true` reduces performance, especially with large teams.",
          "required": false,
          "schema": {
            "title": "presence",
            "type": "boolean"
          }
        },
        {
          "name": "cursor",
          "type": "string",
          "info": "Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`. Default value fetches the first \"page\" of the collection. See [pagination](/docs/pagination) for more detail.",
          "required": false,
          "schema": {
            "title": "cursor",
            "type": "string"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `users:read`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "limit",
          "type": "number",
          "info": "The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the users list hasn't been reached.",
          "required": false,
          "schema": {
            "title": "limit",
            "type": "number"
          }
        },
        {
          "name": "includeLocale",
          "type": "boolean",
          "info": "Set this to `true` to receive the locale for users. Defaults to `false`",
          "required": false,
          "schema": {
            "title": "includeLocale",
            "type": "boolean"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getUserslist"
      },
      "task": true
    },
    {
      "name": "getUserslookupByEmail",
      "summary": "",
      "description": "Find a user with an email address.",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `users:read.email`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "email",
          "type": "string",
          "info": "An email address belonging to a user in the workspace",
          "required": false,
          "schema": {
            "title": "email",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getUserslookupByEmail"
      },
      "task": true
    },
    {
      "name": "postUserssetActive",
      "summary": "",
      "description": "Marked a user as active. Deprecated and non-functional.",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `users:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postUserssetActive"
      },
      "task": true
    },
    {
      "name": "postUserssetPhoto",
      "summary": "",
      "description": "Set the user profile photo",
      "input": [
        {
          "name": "image",
          "type": "string",
          "info": "File contents via `multipart/form-data`.",
          "required": false,
          "schema": {
            "title": "image",
            "type": "string"
          }
        },
        {
          "name": "cropW",
          "type": "number",
          "info": "Width/height of crop box (always square)",
          "required": false,
          "schema": {
            "title": "cropW",
            "type": "number"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `users.profile:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "cropY",
          "type": "number",
          "info": "Y coordinate of top-left corner of crop box",
          "required": false,
          "schema": {
            "title": "cropY",
            "type": "number"
          }
        },
        {
          "name": "cropX",
          "type": "number",
          "info": "X coordinate of top-left corner of crop box",
          "required": false,
          "schema": {
            "title": "cropX",
            "type": "number"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postUserssetPhoto"
      },
      "task": true
    },
    {
      "name": "postUserssetPresence",
      "summary": "",
      "description": "Manually sets user presence.",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `users:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "presence",
          "type": "string",
          "info": "Either `auto` or `away`",
          "required": false,
          "schema": {
            "title": "presence",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postUserssetPresence"
      },
      "task": true
    },
    {
      "name": "getUsersprofileget",
      "summary": "",
      "description": "Retrieves a user's profile information.",
      "input": [
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `users.profile:read`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "includeLabels",
          "type": "boolean",
          "info": "Include labels for each ID in custom profile fields",
          "required": false,
          "schema": {
            "title": "includeLabels",
            "type": "boolean"
          }
        },
        {
          "name": "user",
          "type": "string",
          "info": "User to retrieve profile info for",
          "required": false,
          "schema": {
            "title": "user",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/getUsersprofileget"
      },
      "task": true
    },
    {
      "name": "postUsersprofileset",
      "summary": "",
      "description": "Set the profile information for a user.",
      "input": [
        {
          "name": "profile",
          "type": "string",
          "info": "Collection of key:value pairs presented as a URL-encoded JSON hash.",
          "required": false,
          "schema": {
            "title": "profile",
            "type": "string"
          }
        },
        {
          "name": "token",
          "type": "string",
          "info": "Authentication token. Requires scope: `users.profile:write`",
          "required": false,
          "schema": {
            "title": "token",
            "type": "string"
          }
        },
        {
          "name": "user",
          "type": "string",
          "info": "ID of user to change. This argument may only be specified by team admins on paid teams.",
          "required": false,
          "schema": {
            "title": "user",
            "type": "string"
          }
        },
        {
          "name": "value",
          "type": "string",
          "info": "Value to set a single key to. Usable only if `profile` is not passed.",
          "required": false,
          "schema": {
            "title": "value",
            "type": "string"
          }
        },
        {
          "name": "name",
          "type": "string",
          "info": "Name of a single key to set. Usable only if `profile` is not passed.",
          "required": false,
          "schema": {
            "title": "name",
            "type": "string"
          }
        }
      ],
      "output": {
        "name": "result",
        "type": "object",
        "description": "A JSON Object containing status, code and the result",
        "schema": {
          "title": "result",
          "type": "object"
        }
      },
      "roles": [
        "admin"
      ],
      "route": {
        "verb": "POST",
        "path": "/postUsersprofileset"
      },
      "task": true
    }
  ]
}