---
title: OpenURLIntent
framework: appintents
role: symbol
role_heading: Structure
path: appintents/openurlintent
---

# OpenURLIntent

An intent that opens a universal link.

## Declaration

```swift
struct OpenURLIntent
```

## Overview

Overview Return an OpenURLIntent as the IntentResult of another app intent’s perform() method or use place the intent on a button that appears on an interactive widget or Live Activity. Note that you need to use a universal link for your URL representation, you can’t use a custom URL scheme. For more information about universal links, see Allowing apps and websites to link to your content.

## Topics

### Initializers

- [init(_:)](appintents/openurlintent/init(_:).md)
- [init(urlRepresentable:)](appintents/openurlintent/init(urlrepresentable:)-53fa0.md)
- [init(urlRepresentable:)](appintents/openurlintent/init(urlrepresentable:)-8r4bl.md)

### Instance Properties

- [$url](appintents/openurlintent/$url.md)
- [url](appintents/openurlintent/url.md)

## Relationships

### Conforms To

- [AppIntent](appintents/appintent.md)
- [PersistentlyIdentifiable](appintents/persistentlyidentifiable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [SystemIntent](appintents/systemintent.md)
- [URLRepresentableIntent](appintents/urlrepresentableintent.md)

## See Also

### Common actions

- [OpenIntent](appintents/openintent.md)
- [SetValueIntent](appintents/setvalueintent.md)
- [DeleteIntent](appintents/deleteintent.md)
- [DeprecatedAppIntent](appintents/deprecatedappintent.md)
- [ShowInAppSearchResultsIntent](appintents/showinappsearchresultsintent.md)
