<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: -",
    "macOS: 15.0.0 -",
    "tvOS: 18.0.0 -",
    "visionOS: 2.0.0 -",
    "watchOS: 11.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppIntents",
  "identifier" : "/documentation/AppIntents/OpenURLIntent",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "App Intents"
    ],
    "preciseIdentifier" : "s:10AppIntents13OpenURLIntentV"
  },
  "title" : "OpenURLIntent"
}
-->

# OpenURLIntent

An app intent that opens one of your universal links and displays its contents.

```
struct OpenURLIntent
```

## Overview

This app intent uses your app’s existing universal link support to open the specified URL. Universal links are a stable and
consistent way to refer to the same content in your app or website. Apps that support universal links can return this type
as the result of another app intent’s [`perform()`](/documentation/AppIntents/AppIntent/perform()) method to display specific content. You can also place
the app intent on a button in an interactive widget or Live Activity. When the app intent runs, the system sends the URL to
your app’s URL handling code so you can open the referenced content.

The system automatically brings your app to the foreground to run an app intent of this type. If your app intent adopts the
[`TargetContentProvidingIntent`](/documentation/AppIntents/TargetContentProvidingIntent) or [`UISceneAppIntent`](/documentation/AppIntents/UISceneAppIntent) protocol, the system directs the app intent to one
of your app’s scenes first so you can configure the scene’s views. If your app intent type doesn’t support these protocols,
use the [`perform()`](/documentation/AppIntents/AppIntent/perform()) method to update your app’s interface.

For information about how to adopt universal links in your app, see
<doc://com.apple.documentation/documentation/Xcode/allowing-apps-and-websites-to-link-to-your-content>.

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`SystemIntent`](/documentation/AppIntents/SystemIntent)

[`AppIntent`](/documentation/AppIntents/AppIntent)

[`URLRepresentableIntent`](/documentation/AppIntents/URLRepresentableIntent)

[`Sendable`](/documentation/Swift/Sendable)

[`PersistentlyIdentifiable`](/documentation/AppIntents/PersistentlyIdentifiable)

---

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)