<!--
{
  "availability" : [
    "iOS: 27.3.0 -",
    "iPadOS: 27.3.0 -",
    "macCatalyst: -"
  ],
  "documentType" : "symbol",
  "framework" : "IdentityDocumentServicesUI",
  "identifier" : "/documentation/IdentityDocumentServicesUI/ISO18013MobileDocumentRawRequestContext/sendResponse(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "IdentityDocumentServicesUI"
    ],
    "preciseIdentifier" : "s:26IdentityDocumentServicesUI014ISO18013MobileB17RawRequestContextV12sendResponseyy0abC00efbK0VF"
  },
  "title" : "sendResponse(_:)"
}
-->

# sendResponse(_:)

Sends a document response to the relying party.

```
func sendResponse(_ response: ISO18013MobileDocumentResponse)
```

## Parameters

`response`

An <doc://com.apple.documentation/documentation/IdentityDocumentServices/ISO18013MobileDocumentResponse> that contains the response data to send to the relying party.

## Discussion

Call this method after the person using your app authorizes the release of the requested data. To decline the request, call [`cancel()`](/documentation/IdentityDocumentServicesUI/ISO18013MobileDocumentRawRequestContext/cancel()).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)