---
title: "requestAuthorization(forPhoneNumber:completion:)"
framework: Core Telephony
role: symbol
role_heading: Type Method
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+]
path: "coretelephony/ctcellularplanstatus/requestauthorization(forphonenumber:completion:)"
---

# requestAuthorization(forPhoneNumber:completion:)

Presents a prompt that asks the person to allow cellular plan checks for their phone number.

## Declaration

```swift
class func requestAuthorization(forPhoneNumber phoneNumber: String, completion completionHandler: @escaping @Sendable (CTCellularPlanStatusAuthorization, (any Error)?) -> Void)
```

```swift
class func requestAuthorization(forPhoneNumber phoneNumber: String) async throws -> CTCellularPlanStatusAuthorization
```

## Parameters

- `phoneNumber`: A phone number in https://www.itu.int/rec/T-REC-E.164 (for example, +15550001234).
- `completionHandler`: A closure the framework calls with the authorization result and any error that occurs.

## Discussion

Discussion The completion handler receives a CTCellularPlanStatusAuthorization value in the following circumstances: Only call getHintForPhoneNumber(_:completion:) after receiving an CTCellularPlanStatusAuthorization.authorized result.

## See Also

### Requesting phone number authorization

- [CTCellularPlanStatusAuthorization](coretelephony/ctcellularplanstatusauthorization.md)
