Contentful (GraphQL Content)

The GraphQL Content API provides a GraphQL interface to the content from Contentful

Go to site
Explore
/
Apps
/
Contentful (GraphQL Content)

Contentful (GraphQL Content) API Integrations

Build and run workflows using the Contentful (GraphQL Content) API. Use 1000s of open source triggers and actions across 500+ apps. Or write custom code to integrate any app or API in seconds.

return await require("@pipedreamhq/platform").axios(this, {
  url: `https://graphql.contentful.com/content/v1/spaces/[SPACE]/environments/[ENVIRONMENT]`,
  headers: {
    Authorization: `Bearer ${auths.contentful_graphql.access_token}`,
  },
  params: {
    query: `query($preview: Boolean){
  assetCollection(preview: $preview){
    items{
      title
    }
  }
}`,
  },
})

Authentication

Contentful (GraphQL Content) uses API keys for authentication. When you connect your Contentful (GraphQL Content) account, Pipedream securely stores the keys so you can easily authenticate to Contentful (GraphQL Content) APIs in both code and no-code steps.

Any client using the Contentful GraphQL API needs to provide an access token. See docs.
Note: The GraphQL API is built on top of the Contentful Delivery API (CDA), so you can use any of your existing CDA keys.