<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 10.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CallKit",
  "identifier" : "/documentation/CallKit/CXCallController/request(_:completion:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "CallKit"
    ],
    "preciseIdentifier" : "c:objc(cs)CXCallController(im)requestTransaction:completion:"
  },
  "title" : "request(_:completion:)"
}
-->

# request(_:completion:)

Requests that the actions in the specified transaction be asynchronously performed by the telephony provider.

```
func request(_ transaction: CXTransaction, completion: @escaping @Sendable ((any Error)?) -> Void)
```

## Parameters

`transaction`

A transaction that contains actions to be performed.

`completion`

Code to be executed after the transaction is completed. The callback is executed on the queue specified when the call controller was initialized.

- error: If an error occurred, an error object indicating how the transaction failed, otherwise `nil`.

## Discussion

> Important:
> You can call this method from synchronous code using a completion handler, as shown on this page, or you can call it as an asynchronous method that has the following declaration:
> 
> ```swift
> func request(_ transaction: CXTransaction) async throws
> ```
> 
> For information about concurrency and asynchronous code in Swift, see <doc://com.apple.documentation/documentation/Swift/calling-objective-c-apis-asynchronously>.

---

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)