For advanced use cases where Amplify does not provide the functionality, you can retrieve the escape hatch to access the underlying Amazon Pinpoint client. import ios0 from "/src/fragments/lib/ios-escape-hatch-warning.mdx"; Add the following import: ```swift import AWSPinpointAnalyticsPlugin ``` Then retrieve the escape hatch with this code: ```swift do { // Retrieve the reference to AWSPinpointAnalyticsPlugin let plugin = try Amplify.Analytics.getPlugin(for: "awsPinpointAnalyticsPlugin") guard let analyticsPlugin = plugin as? AWSPinpointAnalyticsPlugin else { return } // Retrieve the reference to PinpointClientProtocol let pinpointClient = analyticsPlugin.getEscapeHatch() // Make requests using pinpointClient... // ... } catch { print("Get escape hatch failed with error - \(error)") } ```