---
title: requestID
framework: trustinsights
role: symbol
role_heading: Instance Property
path: trustinsights/insightevaluation/requestid
---

# requestID

An app defined identifier.

## Declaration

```swift
final var requestID: String? { get }
```

## Discussion

Discussion Provide this as the requestID in the InsightEvaluator.InsightContext for the evaluation request If provided in the InsightEvaluator.InsightContext this is non-nil and should match the value included in the context for the request. Any mismatch indicates that your app shouldn’t trust the payload and may have been injected by an attacker in some way. An app can also use this ID to link requests or as a wider app specific ID for the active operation.

## See Also

### Evaluation properties

- [additionalInfo](trustinsights/insightevaluation/additionalinfo.md)
- [generationTimestamp](trustinsights/insightevaluation/generationtimestamp.md)
- [insight](trustinsights/insightevaluation/insight.md)
- [serverTimestamp](trustinsights/insightevaluation/servertimestamp.md)
- [signedPayload](trustinsights/insightevaluation/signedpayload.md)
