# Get metadata and download URL for a specific export file.

Returns metadata and a presigned download URL for a specific export file identified by its file ID. The file ID is obtained from the list exports endpoint.

Endpoint: GET /v2/data_exports/type/{type_name}/files/{file_id}
Version: 2026-05-01
Security: oauth2_as_a_server, oauth2_as_a_user

## Security:

  - `oauth2_as_a_server` (unknown)
    oauth2 scopes: data_exports.read

  - `oauth2_as_a_user` (unknown)
    oauth2 scopes: data_exports.read

## Path parameters:

  - `type_name` (string, required)
    The export type. One of: users, campaigns, activities.

  - `file_id` (string, required)
    The opaque file identifier returned by the list exports endpoint.

## Response 200:

  - `200` (unknown)
    Success

## Response 200 fields (application/json):

  - `data` (array)

  - `data.presigned_url` (string)
    A temporary presigned URL to download the file.

  - `data.presigned_url_ttl_seconds` (integer)
    The number of seconds until the presigned URL expires.
    Example: 900

  - `data.file_name` (string)
    The name of the file.
    Example: part-00000-abc123.csv.gz

  - `data.size_bytes` (integer)
    File size in bytes.

  - `data.checksum_function` (string)
    The checksum algorithm used (e.g. SHA256, CRC32, CRC64NVME).

  - `data.checksum` (string)
    The checksum value.

  - `data.generated_at` (string)
    Timestamp of when the export was generated (YYYY-MM-DD-HH).
    Example: 2025-01-15-06

## Response 400:

  - `400` (unknown)
    Bad Request

## Response 401:

  - `401` (unknown)
    Unauthenticated

## Response 404:

  - `404` (unknown)
    Not Found — file does not exist or does not belong to this program/type.

