The Notion API is versioned. Our API versions are named for the date the version is released. For example, our latest version is . Set the version by including aDocumentation Index
Fetch the complete documentation index at: https://developers.notion.com/llms.txt
Use this file to discover all available pages before exploring further.
Notion-Version header. Setting this header is required.
text when creating or updating a page. Once you upgrade to the new version, you will need to use rich_text to set that same text property.
Similarly, the page response will be returned with the property type text on the old version, while on the new version, the response will say rich_text.
Versioning is only for backwards incompatible changesFor new features and additions to the API, such as adding a new API endpoint, or including a new object in an existing API endpoint’s response, there won’t be a new version. You’ll be able to take advantage of any new functionality on the version of the API you’re currently using.
What we consider backwards compatible
The following types of changes are made without a new API version. Your integration should be resilient to them:- Additive changes — new endpoints, new optional request parameters, new fields in response objects.
- Opaque identifier format changes — pagination cursors, request IDs, and other values not documented as stable identifiers may change in length, format, or structure at any time. Cursors may embed metadata such as session keys or timestamps. Do not parse, validate, or store cursors beyond passing them back as
start_cursor. Only record identifiers (page IDs, database IDs, user IDs, block IDs, etc.) are guaranteed to be stable UUIDs. - Error message text improvements — human-readable
messagestrings in error responses may be reworded for clarity. Programmatic errorcodevalues (e.g.validation_error,object_not_found) are stable and will not change without a version bump. - Rate limit adjustments — rate limits may change. Always respect
Retry-Afterheaders. - Performance and ordering improvements — result ordering for endpoints that don’t guarantee a specific sort order may change. Pagination behavior may change to improve reliability.
v1. This is not related to the versioning described above. We don’t intend to change these URLs.
Frequently asked questions
How do releases of the JavaScript SDK work?
How do releases of the JavaScript SDK work?
Releases of the Notion SDK for JavaScript are published to NPM as
@notionhq/client
and use a separate semantic versioning scheme.
View the GitHub release notes for the latest version and changes over time. Some SDK changes are also
featured in the API changelog.When upgrading to a new “minor” or “patch” version of the SDK, you generally won’t need to make any code changes to your connection. These updates contain backwards-compatible
improvements and fixes.However, new “major” versions of the SDK are not backwards-compatible, and you may need to make updates to your connection.Some major releases drop support for older Notion API versions and update the default version used to make requests when no
For example,
See the upgrade guides for 2026-03-11 and 2025-09-03. See the compatibility table in the README to see which versions of the SDK are compatible with which versions of the API.
notionVersion is provided to
the SDK Client constructor.For example,
v5.0.0 and above dropped support for 2022-06-28 and earlier. Starting with v5.12.0, the SDK also supports 2026-03-11.
See the upgrade guides for 2026-03-11 and 2025-09-03. See the compatibility table in the README to see which versions of the SDK are compatible with which versions of the API.
Will staying on an older API version work indefinitely?
Will staying on an older API version work indefinitely?
We don’t currently have any plans to stop supporting older API versions. If this changes in the future, we’ll communicate this with all affected
users and provide a time window and migration guidance. However, we recommend upgrading to the latest version
to take advantage of the latest features and improvements.