---
id: gk-foundation-secure-download-endpoint
title: "Filter - gk/foundation/secure-download/endpoint"
sidebar_label: "gk/foundation/secure-download/endpoint"
---

# Filter: gk/foundation/secure-download/endpoint

Filters the secure download endpoint.

Allows customizing the URL path used for secure downloads. Default is 'gk-download', resulting in URLs like /gk-download/\{token\}/.

Important: changing this requires flushing rewrite rules.

## Parameters

| Name | Type | Description |
|------|------|-------------|
| $endpoint | `string` | The download endpoint. Default 'gk-download'. |

### Since

- TBD: TBD

### Source

Defined in `Components/SecureDownload.php` at line 207

