# Get the latest export file for a given type.

Returns metadata and a presigned download URL for the most recent export file of the specified type within the caller's program. Valid type names: users, campaigns, activities.

Endpoint: GET /v2/data_exports/type/{type_name}/latest
Version: 2026-04-10
Security: oauth2_as_a_server, oauth2_as_a_user

## Path parameters:

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

## Response 200 fields (application/json):

  - `data` (object)

  - `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,null)
    File size in bytes.

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

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

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


