Endpoint Downloads API

We have just added an API route to the Endpoint API to help you automate the deployment of the Sophos Endpoint agent.

Call the endpoint API in your data region to get installer download links:

GET https://api-{dataRegion}.central.sophos.com/endpoint/v1/downloads

Pass the tenant ID in the X-Tenant-ID header.

The response looks like this:

{
  "licensedProducts": [     // Products this tenant is licensed for
    "deviceEncryption",
    "interceptX",
    "mtr",
    "endpointProtection"
  ],
  "installers": [
    {
      "productName": "Sophos Endpoint Protection",
      "platform": "windows",
      "type": "computer",
      // Licensed products that are supported on this platform
      "supportedProducts": [
        "endpointProtection",
        "interceptX",
        "deviceEncryption",
        "mtr"
      ],
      // Full link to the installer including a tenant-specific installer token
      "downloadUrl": "https://a.subdomain.sophos.com/api/download/...(omitted).../SophosSetup.exe"
    },
    {
      "productName": "Sophos Endpoint Protection",
      "platform": "windows",
      "type": "server",
      "supportedProducts": [
        "endpointProtection",
        "interceptX",
        "mtr"
      ],
      "downloadUrl": "https://a.subdomain.sophos.com/api/download/...(omitted).../SophosSetup.exe"
    },
    {
      "productName": "Sophos Server Protection Linux",
      "platform": "linux",
      "type": "server",
      "supportedProducts": [
        "endpointProtection",
        "mtr"
      ],
      "downloadUrl": "https://a.subdomain.sophos.com/api/download/...(omitted).../SophosSetup.sh"
    },
    {
      "productName": "Sophos Server Protection",
      "platform": "linux",
      "type": "server",
      "supportedProducts": [
        "endpointProtection",
        "mtr"
      ],
      "downloadUrl": "https://a.subdomain.sophos.com/api/download/...(omitted).../SophosInstall.sh"
    },
    {
      "productName": "Sophos Endpoint Protection",
      "platform": "macOS",
      "type": "computer",
      "supportedProducts": [
        "endpointProtection",
        "interceptX",
        "deviceEncryption",
        "mtr"
      ],
      "downloadUrl": "https://a.subdomain.sophos.com/api/download/...(omitted).../SophosInstall.zip"
    }
  ],
  "tenant": {
    "id": "5a095fe6-02ee-4cbf-ba3d-fef0b2bcf122"  // The tenant ID passed in
  }
}

Use downloadUrl above to securely download each installer executable and run it. Refer to this article for the command-line arguments you can pass to the installer executable. See the API reference here for more details. As always, we welcome your feedback.