---
updatedAt: 2026-04-21T08:57:19.000Z
agentTools:
  projectIndex: https://docs.mesh.complyadvantage.com/llms.txt
---

# Get a download url for a given export

This endpoint will return the download url for the requested export. For security reasons, the returned download URL is valid for only 5 seconds (TTL) from the moment it is issued, so the download must be started immediately or a new URL requested via this endpoint.


You need the "View and download insights" permission to use this endpoint.

# OpenAPI definition

```json
{
  "components": {
    "schemas": {
      "exports_DownloadExportResponseBody": {
        "properties": {
          "download_url": {
            "description": "Download url",
            "example": "s3://export.csv",
            "type": "string"
          }
        },
        "required": [
          "download_url"
        ],
        "type": "object"
      },
      "exports_ProblemDetailErrorResponse": {
        "additionalProperties": true,
        "properties": {
          "detail": {
            "nullable": true,
            "type": "string"
          },
          "identifier": {
            "format": "uuid",
            "type": "string"
          },
          "instance": {
            "format": "uri",
            "nullable": true,
            "type": "string"
          },
          "status": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "timestamp": {
            "format": "date-time",
            "type": "string"
          },
          "title": {
            "nullable": true,
            "type": "string"
          },
          "type": {
            "format": "uri",
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "identifier",
          "timestamp"
        ],
        "type": "object"
      }
    },
    "securitySchemes": {
      "BearerAuth": {
        "description": "HTTP Bearer Token Authentication",
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "info": {
    "title": "Mesh API",
    "version": "v2.0"
  },
  "openapi": "3.0.3",
  "paths": {
    "/v2/exports/{export_identifier}/download": {
      "get": {
        "description": "This endpoint will return the download url for the requested export. For security reasons, the returned download URL is valid for only 5 seconds (TTL) from the moment it is issued, so the download must be started immediately or a new URL requested via this endpoint.\n\n\nYou need the \"View and download insights\" permission to use this endpoint.",
        "operationId": "exportsServiceGetExportDownloadUrl",
        "parameters": [
          {
            "description": "The `uuid` of the `Export`.",
            "example": "01566c37-576b-7677-b41a-9c6fdbd3abc9",
            "in": "path",
            "name": "export_identifier",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/exports_DownloadExportResponseBody"
                }
              }
            },
            "description": "Download url for the export successfully returned."
          },
          "404": {
            "content": {
              "application/json": {
                "examples": {
                  "Export generation has failed": {
                    "description": "Export generation has failed",
                    "value": {
                      "detail": "Export with ID of 550e8400-e29b-41d4-a716-446655440000 generation has failed.",
                      "identifier": "018d5563-3da8-794b-8dca-388804d4331f",
                      "instance": "https://docs.mesh.complyadvantage.com/reference/errors",
                      "status": 404,
                      "timestamp": "2024-01-29T13:24:35.998Z",
                      "title": "Export generation has failed.",
                      "type": "about:blank"
                    }
                  },
                  "Export generation is still pending": {
                    "description": "Export generation is still pending",
                    "value": {
                      "detail": "Export with ID of 550e8400-e29b-41d4-a716-446655440000 generation is still pending.",
                      "identifier": "018d5563-3da8-794b-8dca-388804d4331f",
                      "instance": "https://docs.mesh.complyadvantage.com/reference/errors",
                      "status": 404,
                      "timestamp": "2024-01-29T13:24:35.998Z",
                      "title": "Export generation is still pending.",
                      "type": "about:blank"
                    }
                  },
                  "Export object does not exist": {
                    "description": "Export object does not exist",
                    "value": {
                      "detail": "Export with ID of 550e8400-e29b-41d4-a716-446655440000 identifier does not exist.",
                      "identifier": "018d5563-3da8-794b-8dca-388804d4331f",
                      "instance": "https://docs.mesh.complyadvantage.com/reference/errors",
                      "status": 404,
                      "timestamp": "2024-01-29T13:24:35.998Z",
                      "title": "Export object does not exist.",
                      "type": "about:blank"
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/exports_ProblemDetailErrorResponse"
                }
              }
            },
            "description": "Export not found."
          },
          "503": {
            "content": {
              "application/json": {
                "examples": {
                  "Generating presigned url failed": {
                    "description": "Generating presigned url failed",
                    "value": {
                      "detail": "Generating presigned url for Export with ID of 450e8400-e29b-41d4-a716-446655440000 failed.",
                      "identifier": "dc9f5c1a-915e-4860-ba57-bed23494a6ee",
                      "instance": "https://docs.mesh.complyadvantage.com/reference/errors/503",
                      "status": 503,
                      "timestamp": "2024-01-30T14:26:25.998Z",
                      "title": "Generating presigned url failed.",
                      "type": "about:blank"
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/exports_ProblemDetailErrorResponse"
                }
              }
            },
            "description": "Service unavailable due to problems encountered while generating the presigned url."
          }
        },
        "summary": "Get a download url for a given export",
        "tags": [
          "Exports"
        ]
      }
    }
  },
  "security": [
    {
      "BearerAuth": []
    }
  ],
  "servers": [
    {
      "description": "ComplyAdvantage Mesh API",
      "url": "https://api.mesh.complyadvantage.com"
    }
  ],
  "tags": [
    {
      "name": "Exports"
    }
  ]
}
```