Coreo GraphQL API – Overview

More information about GraphQL can be found at https://graphql.org/.

Coreo’s graphql API is accessible at https://api.coreo.io/graphql. If you visit the API in the browser you will also be able to access the documentation in the top right corner.

Generating an API key

See How to add an API key for instructions on how to create API keys

Authentication

Coreo uses JWT to authenticate its requests. Without authenticating your requests you’ll be restricted to viewing only a few public projects with restricted access.

To authenticate your requests set the ‘Authorization’ header to ‘JWT YOUR_PROJECT_API_KEY’. A valid Authorisation header will look like:

JWT eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c

Now that your requests are authenticated you should be able to query your project.

Was this article helpful?

Thanks for your feedback!