Notion GraphQL
Notion does not expose a public GraphQL endpoint. Notion's public API is a versioned REST API (`api.notion.com/v1`). The GraphQL schema in `notion-schema.graphql` is a comprehensive conceptual model derived from Notion's REST API object types, suitable for tooling, catalog enrichment, code generation, and integration mapping.
Overview
Notion GraphQL is a GraphQL API specification published by Notion on the APIs.io network.
Notion does not expose a public GraphQL endpoint. Notion’s public API is a versioned REST API (api.notion.com/v1). The GraphQL schema in notion-schema.graphql is a comprehensive conceptual model derived from Notion’s REST API object types, suitable for tooling, catalog enrichment, code generation, and integration mapping.
The specification includes 13 reference links.
Tagged areas include Collaboration, Database, Ideas, Notes, and Productivity.
Endpoint
References
- REST API reference https://developers.notion.com/reference/intro
- Block object https://developers.notion.com/reference/block
- Page object https://developers.notion.com/reference/page
- Database object https://developers.notion.com/reference/database
- User object https://developers.notion.com/reference/user
- Comment object https://developers.notion.com/reference/comment-object
- Rich text object https://developers.notion.com/reference/rich-text
- File object https://developers.notion.com/reference/file-object
- Property object https://developers.notion.com/reference/property-object
- Page property values https://developers.notion.com/reference/page-property-values
- Data source object https://developers.notion.com/reference/data-source
- File upload object https://developers.notion.com/reference/file-upload
- JavaScript SDK https://github.com/makenotion/notion-sdk-js