---
schema_version: "1"
id: 7f4a0d87f17a7a65bdc888a76707b5861efa538698d5979cca76699aeab0ce6b
title: MMS_Content_URL()
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud/ampscript/references/sms/mc-ampscript-reference-sms-mms-content-url.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sms/mc-ampscript-reference-sms-mms-content-url.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 7e3016ac259284df73c39dfc38dd58353af0774ddc289282244029ab48d48ea6
products:
  - AMPscript for Marketing Cloud
  - Marketing Cloud
---
# MMS_Content_URL()

Returns the URL of MMS content sent from a mobile-originated (MO) message. A mobile-originated message is a message sent from the mobile device of a subscriber to your SMS phone number. Compare MO messages to mobile-terminated (MT) messages, which are messages that you send to a subscriber’s mobile device.

**important:** You can only use this AMPscript function in MobileConnect. You can’t use this function in email messages, landing pages, or other content types.

## Availability

<table>
  <tr>
    <td>Marketing Cloud Engagement</td>
    <td>✅ Yes</td>
  </tr>
  <tr>
    <td>Marketing Cloud Next</td>
    <td>❌ No</td>
  </tr>
</table>

## Syntax

```
MMS_Content_URL(position)
```

The `MMS_Content_Url()` function accepts one parameter.

- `position` (integer): Required. The index of the MMS content to return the URL for. The first MMS content item in the message has an index of 0, the second item has an index of 1, and so on.

## See Also

- [Msg()](https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sms/mc-ampscript-reference-sms-msg.md)
