---
title: "requestPersonalVoiceAuthorization(completionHandler:)"
framework: avfaudio
role: symbol
role_heading: Type Method
path: "avfaudio/avspeechsynthesizer/requestpersonalvoiceauthorization(completionhandler:)"
---

# requestPersonalVoiceAuthorization(completionHandler:)

Prompts the user to authorize your app to use personal voices.

## Declaration

```swift
class func requestPersonalVoiceAuthorization(completionHandler handler: @escaping @Sendable (AVSpeechSynthesizer.PersonalVoiceAuthorizationStatus) -> Void)
```

```swift
class func requestPersonalVoiceAuthorization() async -> AVSpeechSynthesizer.PersonalVoiceAuthorizationStatus
```

## Parameters

- `handler`: A completion handler that the system calls after the user responds to a request to authorize use of personal voices, which receives the authorization status as an argument.

## Discussion

Discussion

## See Also

### Enabling personal voices

- [personalVoiceAuthorizationStatus](avfaudio/avspeechsynthesizer/personalvoiceauthorizationstatus-swift.type.property.md)
- [availableVoicesDidChangeNotification](avfaudio/avspeechsynthesizer/availablevoicesdidchangenotification.md)
- [AVSpeechSynthesizer.PersonalVoiceAuthorizationStatus](avfaudio/avspeechsynthesizer/personalvoiceauthorizationstatus-swift.enum.md)
