Documentation Index
Fetch the complete documentation index at: https://docs.grantiva.io/llms.txt
Use this file to discover all available pages before exploring further.
This endpoint is called automatically by the SDK. You typically don’t need to call it directly.
Request
Headers
| Header | Required | Description |
|---|---|---|
X-Bundle-ID | Yes | App bundle identifier |
X-Team-ID | Yes | Apple Developer Team ID |
Body
| Field | Type | Required | Description |
|---|---|---|---|
challenge | string | Yes | Challenge from the challenge endpoint |
keyId | string | Yes | App Attest key identifier |
attestationObject | string | Yes | Base64-encoded attestation object |
clientDataHash | string | Yes | Base64-encoded client data hash |
bundleId | string | Yes | App bundle identifier |
teamId | string | Yes | Apple Team ID |
deviceModel | string | No | Device model identifier |
osVersion | string | No | OS version |
appVersion | string | No | App version |
appBuildNumber | string | No | Build number |
platform | string | No | Platform (iOS, macOS) |
Response
| Field | Type | Description |
|---|---|---|
isValid | boolean | Whether the device passed attestation |
token | string | Signed JWT token |
expiresAt | string | Token expiration (ISO 8601) |
deviceIntelligence | object | Device risk and integrity data |
customClaims | object | Your configured custom claims |