<!--
{
  "availability" : [
    "iOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "TelephonyMessagingKit",
  "identifier" : "/documentation/TelephonyMessagingKit/MMSService/configuration(for:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "TelephonyMessagingKit"
    ],
    "preciseIdentifier" : "s:21TelephonyMessagingKit10MMSServiceC13configuration3forAC13ConfigurationVAA17CellularServiceIDV_tYaKF"
  },
  "title" : "configuration(for:)"
}
-->

# configuration(for:)

Retrieves the MMS configuration for the carrier.

```
final func configuration(for cellularServiceID: CellularServiceID) async throws -> MMSService.Configuration
```

## Parameters

`cellularServiceID`

The cellular service identifier for which to fetch the MMS configuration.

## Return Value

An [`MMSService.Configuration`](/documentation/TelephonyMessagingKit/MMSService/Configuration) instance that describes the MMS configuration.

## Discussion

Fetch the MMS configuration when your app launches and during susbscription change events.

> Throws:
> 
> - ``doc://com.apple.telephonymessagingkit/documentation/TelephonyMessagingKit/TelephonyMessagingSession/Error/invalidSession`` if the session isn’t valid.

---

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)