'What is filename for SMS-sent images processed by Twilio?
When I send an SMS to my Twilio number which includes an image, there doesn't appear to be a filename associated with the image.
I'm using Twilio Studio.
Example:
- Send an SMS text with image to my Twilio number
- A Twilio Studio Flow pipes the
{{trigger.message.MediaUrl0}}
and sends an SMS text sent to my actual phone number - The URL is of the following format
https://api.twilio.com/2010-04-01/Accounts/<long-GUID-1>/Messages/<long-GUID-2>/Media/<long-GUID-3>
- Clicking on this URL opens a browser pointing to a translated URL
https://s3-external-1.amazonaws.com/media.twiliocdn.com/<long-GUID-1>/<long-GUID-4>
and showing the original image - But no filename.
I'm trying to access the filename so I can apply a naming convention to it. How is this accessed?
Solution 1:[1]
The URL to download the actual media is dynamically generated.
You can refer to the blog post here:
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Alan |