---
title: "Delivery and gateway links"
slug: "delivery-and-gateway-links"
abstract: "Overview of delivery and gateway links."
---
# Delivery and gateway links

Sitecore Content Hub uses two types of links served from the respective endpoints: delivery and gateway. The difference between these relates to their security.

Delivery links are the standard way to access assets in Content Hub. The delivery URLs contain a SAS-token with an embedded expiration time recalculated on each API request. As a result, you can only use these URLs for a default duration of 20 minutes. Delivery links use the following format:

`https://contenthub-instance.cloud/en-us/asset/<id>`

The *id* is a system ID automatically generated by Content Hub upon creation of the asset.

Gateway links (or direct links) are another way to access assets using the gateway API. Gateway URLs require that a valid logged-in user makes the request. It needs an [OAuth token](https://doc.sitecore.com/ch/en/users/content-hub/create-an-oauth-client.html "Create an OAuth client") to authenticate. Gateway is mainly used in [Sitecore Content Hub Digital Apps integrations](https://doc.sitecore.com/ch/en/users/content-hub/sitecore-content-hub-digital-apps-connector.html "Sitecore Content Hub Digital Apps Connector"). Gateway links use the following format:

`https://contenthub-instance.cloud/api/gateway/identifier/<id>/preview`

The *id* is a system ID automatically generated by Content Hub upon creation of the asset.

To access the gateway link of an asset:

1. On the menu bar, click **Assets**.
2. On the **Assets** page, select the asset for which you want to create a gateway link.
3. On the asset details page, click **Use direct link** :mdiLink:.