# APIVersion property on API pages
> Version: _Available from runtime version 1.0._
Specifies one or more versions of the API endpoint that exposes the page. If you don't set the APIVersion property, the default value is beta.
## Applies to
 Page object
## Syntax
```al
APIVersion = 'beta', 'v1.0';
```
> NOTE
> You can set the APIVersion property only when the devenv-pagetype-property is set to API. See API page type<../devenv-api-pagetype>.
## Related information
devenv-properties
../devenv-page-object
APIVersion property for API queries<devenv-apiversion-query-property>

Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-apiversion-page-property, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact. https://jonas-paprotka.de/docs/dev-itpro/developer/properties/devenv-apiversion-page-property/
