Skip to main content
This endpoint is called automatically by the SDK. You typically don’t need to call it directly.

Request

GET /api/v1/attestation/challenge

Headers

HeaderRequiredDescription
X-Bundle-IDYesApp bundle identifier
X-Team-IDYesApple Developer Team ID

Query parameters

ParameterTypeDescription
device_idstringOptional device identifier

Response

{
  "challenge": "a1b2c3d4e5f6...",
  "expiresAt": "2025-03-10T12:05:00Z"
}
FieldTypeDescription
challengestringCryptographic challenge token
expiresAtstringISO 8601 expiration timestamp
Challenges expire after a short window. The SDK handles expiration and retries automatically.