---
title: environment
framework: appstoreserverapi
role: symbol
role_heading: Type
path: appstoreserverapi/environment
---

# environment

The server environment, either sandbox or production.

## Declaration

```data
string environment
```

## Possible Values

Sandbox: Indicates that the data applies to testing in the sandbox environment. Production: Indicates that the data applies to the production environment.

## Mentioned in

App Store Server API changelog

## Discussion

Discussion You receive data from the App Store Server API for the sandbox environment when you send test requests to the endpoints using the sandbox base URL: https://api.storekit-sandbox.apple.com/

## See Also

### Response data types

- [appAppleId](appstoreserverapi/appappleid.md)
- [bundleId](appstoreserverapi/bundleid.md)
- [hasMore](appstoreserverapi/hasmore.md)
- [revision](appstoreserverapi/revision.md)
- [JWSTransaction](appstoreserverapi/jwstransaction.md)
