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

# environment

The server environment, either sandbox or production.

## Declaration

```data
string environment
```

## Possible Values

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

## Mentioned in

Retention Messaging API changelog

## See Also

### Real-time request body

- [signedPayload](retentionmessaging/signedpayload.md)
- [originalTransactionId](retentionmessaging/originaltransactionid.md)
- [appAppleId](retentionmessaging/appappleid.md)
- [requestIdentifier](retentionmessaging/requestidentifier.md)
- [signedDate](retentionmessaging/signeddate.md)
