---
title: "checkAuthorizationStatus(for:)"
framework: messages
role: symbol
role_heading: Instance Method
path: "messages/mscriticalsmsmessenger/checkauthorizationstatus(for:)"
---

# checkAuthorizationStatus(for:)

Confirms the current authorization status for sending critical messages from this app.

## Declaration

```swift
func checkAuthorizationStatus(for recipients: [MSRecipient]) async throws -> [MSRecipient : MSCriticalMessagingAuthorizationStatus]
```

## Parameters

- `recipients`: An array of recipients to check the authorization status for.

## Mentioned in

Sending SMS messages from an app

## Return Value

Return Value A dictionary that maps recipients to their corresponding authorization status.

## Discussion

Discussion You can call this method multiple times to check the authorization status for multiple recipients. Upon an error, the method throws an error of `MSCriticalMessagingErrorDomain``.
