Instructure · GraphQL Specification

Instructure Canvas GraphQL API

The Canvas LMS GraphQL API provides a flexible query interface for Canvas LMS data, allowing developers to request exactly the fields they need and reduce over-fetching. It follows the Relay Object Identification spec (node/legacyNode patterns) and supports cursor-based pagination via connections. An interactive GraphiQL browser is accessible by appending `/graphiql` to any Canvas domain URL. Authentication is handled via the same OAuth2 tokens used for the REST API, passed as a Bearer token in the Authorization header.

Documentation Endpoint View on GitHub EdTechEducationLMSCanvasCoursesEnrollmentsAssignmentsGradesDiscussionsGraphQLLTILearning ManagementGraphQL

Overview

Instructure Canvas GraphQL API is a GraphQL API specification published by Instructure on the APIs.io network.

The Canvas LMS GraphQL API provides a flexible query interface for Canvas LMS data, allowing developers to request exactly the fields they need and reduce over-fetching. It follows the Relay Object Identification spec (node/legacyNode patterns) and supports cursor-based pagination via connections. An interactive GraphiQL browser is accessible by appending /graphiql to any Canvas domain URL. Authentication is handled via the same OAuth2 tokens used for the REST API, passed as a Bearer token in the Authorization header.

The GraphQL endpoint is available at https://{canvas_domain}/api/graphql. documentation is published at https://developerdocs.instructure.com/services/canvas/basics/file.graphql.

The specification includes 4 reference links.

Tagged areas include EdTech, Education, LMS, Canvas, and Courses.

Endpoint

https://{canvas_domain}/api/graphql

References

Related API Specs

Canvas LMS REST API (OpenAPI) Canvas LTI 1.3 API (OpenAPI)
Back to Instructure · All GraphQL Specs · GitHub