API v2 versioning is explicit as part of the API endpoint URI.
Versions
API v2 is composed of two version namespaces:
Namespace | Description |
---|---|
/beta/ | A monolithic version that houses all new APIs. |
/v2/ | A subset of v2 APIs that are considered "production" |
Auth tokens will be compatible across the v2 beta and v2 production namespaces
URL
An example of an API request to v2 beta:
curl --request GET \
--url https://api.webflow.com/beta/token/authorized_by \
--header 'accept: application/json'
Webflow SDK
If you're using the Webflow SDK, versioning is handled by the framework and no additional code is needed.