London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Loading...

Using the GraphQL API

This section describes how to work with the GraphQL API used in the Optimizely querying service, for retrieving content in Optimizely solutions.

How it works

GraphQL APIs are organized in terms of types and fields, and data can be accessed from a single endpoint. GraphQL uses types to ensure querying applications only ask for what is available.

The GraphQL API generates a schema based on the content that has been synchronized from the site. A "public key" is needed to access the schema and content. When generating a service account, you will receive the public key.

Published content will be available near real-time for searches and queries. The content is normally available within a minute after it has been published.

blobid0.png

Related topics

Last updated: Jan 04, 2021