Delivery API
The Delivery API is a GraphQL 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:
https://edge.sitecorecloud.io/api/graphql
If you're using a sandbox, the base URL is:
https://edge-beta.sitecorecloud.io/api/graphql
Delivery IDE
https://edge.sitecorecloud.io/api/graphql/ide
Endpoints
The Delivery API exposes a single endpoint:
Endpoint |
HTTP Verb |
---|---|
|
|
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 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:
{
"X-GQL-Token":"aEtSNzBsTaEtSNzBMA"
}
Get Delivery API data
To get the Delivery API data:
-
On the menu bar, click
Manage.
-
On the Manage page, click Settings.
-
On the Settings page, click PublishingSettings.
-
On the PublishingSettings details page, click Delivery API data.
-
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.