---
title: "Delivery API"
slug: "delivery-api"
abstract: "How to use the Delivery API to deliver approved content."
---
# Delivery API

The Delivery API is a [GraphQL](https://doc.sitecore.com/ch/en/developers/cloud-dev/graphql-apis.html "GraphQL APIs") endpoint that exposes approved and published content. Use this API for all production-related actions.

## Base URL

The base URL for the Delivery API is:

```http
https://edge.sitecorecloud.io/api/graphql

```

> [!note]
> If you're using a sandbox, the base URL is:
>
> https://edge-beta.sitecorecloud.io/api/graphql

## Delivery IDE

```http
https://edge.sitecorecloud.io/api/graphql/ide

```

## Endpoints

The Delivery API exposes a single endpoint:

| Endpoint | HTTP Verb |
| --- | --- |
| `https://edge.sitecorecloud.io/api/graphql/v1` | `POST` |

## Timestamp property

The `PublishedToEdgeOn` property is dynamically computed when an entity is published to Edge. This property stores a timestamp of the publication. It is not stored in Content Hub. Older entities will not have this property and must be republished for it to be generated.

## Headers

The API key you use to [authenticate](https://doc.sitecore.com/ch/en/developers/cloud-dev/authentication-1523482.html "Authentication") with the Delivery API can be added to the `HTTP HEADERS` tab of your Integrated Development Environment (IDE). Use the following format, but replace the sample value with your own unique key:

```json
{
  "X-GQL-Token":"aEtSNzBsTaEtSNzBMA"
}

```

## Get Delivery API data

To get the Delivery API data:

1. On the menu bar, click :mdiCogOutline: **Manage**.
2. On the **Manage** page, click **Settings**.
3. On the **Settings** page, click **PublishingSettings**.
4. On the **PublishingSettings** details page, click **Delivery API data**.
5. In the **Delivery API data** dialog, you can copy the contents of any fields you want, such as **Delivery URL**, **Authority URL**, **OAuth audience**, **Client ID**, or **Client secret**. These credentials let you access the Delivery API directly.