Sending an MMS using a Marketo webhook | Community
Skip to main content
Trevor_Sparks
New Participant
March 24, 2021
Question

Sending an MMS using a Marketo webhook

  • March 24, 2021
  • 1 reply
  • 3355 views

We send SMS messages using Twilio and a Marketo webhook to prospects who give us their mobile phone number.

 

Now we're trying to send MMS messages the same way. I can get the image to appear in the message but the image URL is part of the body of the message.

 

Does anyone know the correct way to code an MMS message in a Marketo webhook so the URL doesn't appear in the body? I've tried <Media> and Media= but no luck.

 

Thank you.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Amit_Jain
Community Manager
March 30, 2021

Hi Trevor,

 

I'm not an expert on Twilio but if you check here: https://www.twilio.com/docs/sms/send-messages#include-media-in-your-messages

 

It says you have to:

- pass a MediaUrl query parameter with actual image URL

- Define the content-type in the webhook header to support it. You can check the supported content types  here: https://www.twilio.com/docs/sms/accepted-mime-types#supported-mime-types

 

Let me know if this works.

 

Regards,

Amit

Ajay_Parikh1
New Participant
October 12, 2022

We're trying to have Twilio send an image along with our text messages (MMS vs. SMS).
We've already set up the tokens -  Body {{SMS Message}} and MediaURL {{SMS Media URL}} and updated our webhook to send values from those tokens to Twilio already but Twilio keeps ignoring the Media URL.

 

Can anyone tell me how to define 'content-type' in a Marketo webhook?

 

SanfordWhiteman
New Participant
October 12, 2022

I don’t think setting the HTTP Content-Type is what you want. But if you do, it would be set right there in Custom Headers.