> ## Documentation Index > Fetch the complete documentation index at: https://www.canva.dev/docs/apps/llms.txt > Use this file to discover all available pages before exploring further. # prepareUrlExpander API reference for the prepareUrlExpander method. NOTE: **This API is a preview**. Preview APIs are unstable and may change without warning. You can't release public apps using this API until it's stable. Prepares the `UrlExpanderIntent`. ## Parameters Intent interface for URL expansion and content retrieval operations. Properties of implementation}> **Parameters** Request parameters for URL expansion. Properties of request}> **Returns** `Promise` **Returns** Response from URL expansion operation. This is a `Promise` that resolves with the following object: The only valid value is `"completed"`. Result of completed URL expansion. Properties of result}> Reference to an asset with metadata. Properties of ref}> The only valid value is `"asset"`. The only valid value is `"not_found"`. **Parameters** Request parameters for content retrieval. Properties of request}> Reference to an asset with metadata. Properties of ref}> The only valid value is `"asset"`. **Returns** `Promise` **Returns** Response from content retrieval operation. This is a `Promise` that resolves with the following object: }> Completed response from content retrieval operation. The only valid value is `"completed"`. Properties of result}> The only valid value is `"asset"`. Union of all supported asset types. }> Image asset result structure. The only valid value is `"image"`. **Available values**: * `"image/heic"` * `"image/jpeg"` * `"image/png"` * `"image/svg+xml"` * `"image/tiff"` * `"image/webp"` Reference to an asset. Used as a unique identifier. }> Video asset result structure. The only valid value is `"video"`. **Available values**: * `"video/avi"` * `"video/x-msvideo"` * `"image/gif"` * `"video/x-m4v"` * `"video/x-matroska"` * `"video/quicktime"` * `"video/mp4"` * `"video/mpeg"` * `"video/webm"` Reference to an asset. Used as a unique identifier. }> Audio asset result structure. The only valid value is `"audio"`. **Available values**: * `"audio/mpeg"` * `"audio/mp4"` * `"audio/x-m4a"` * `"audio/mp3"` * `"audio/ogg"` * `"audio/wav"` * `"audio/x-wav"` * `"audio/x-pn-wav"` * `"audio/wave"` * `"audio/vnd.wave"` * `"audio/webm"` }> Document asset result structure. The only valid value is `"document"`. Supported mimetype for document assets. **Available values**: * `"application/pdf"` * `"application/msword"` * `"application/vnd.openxmlformats-officedocument.wordprocessingml.document"` * `"text/plain"` * `"text/markdown"` Reference to an asset. Used as a unique identifier. }> Sheet asset result structure. The only valid value is `"sheet"`. Supported mimetype for sheet assets. **Available values**: * `"text/csv"` * `"application/vnd.ms-excel"` * `"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"` Reference to an asset. Used as a unique identifier. }> Generic asset result structure. A generic asset is any file that is not already covered by other asset types such as ImageAsset etc. It is an error to pass a mime type that is covered by another asset type. The only valid value is `"generic"`. }> Error response from content retrieval operation. The only valid value is `"app_error"`. ## Returns `void`