Fax - Allow downloading of media via API
Joel Tan
Hi Lucas,
You should be able to set this up using the inbound rules at https://dashboard.clicksend.com/messaging-settings/sms/inbound-sms and https://dashboard.clicksend.com/messaging-settings/fax/inbound-fax.
For MMS, you have 2 options:
- POLL allows you to then use our sms/inbound endpoint to get the file url
- URL is used when you want us to push the reply directly to your server instead
Unfortunately for Fax, the only option we currently have available is URL. Because of this, I've edited the title of your post to only reflect Fax, and will take this under consideration as we build out our product.
Please reach out if you run into any issues setting this up.
L
Lucas
Joel Tan
Hello Joel,
Thank you for your reply. If I use the URL option for MMS, how can I specify only MMS? I only want my webhook to receive the contents of MMS messages and not SMS messages. It doesn't seem like I can add two clauses in the "match for" section of an inbound rule. How are files contained within an MMS message sent to my webhook? Do they come across as URLs or as files? The URLs are accessible by anyone who has the URL - is it possible to secure them somehow?
I see URL as an option under fax. Does that option not work at this time?
Thanks again for your help.
Lucas
L
Lucas
Joel Tan
Hi Joel,
I just wanted to let you know that I am able to send both inbound MMS and faxes to my webhook, which is awesome. MMS messages contain a more detailed payload, but the faxes do arrive and I'm able to work with them via API. Just wanted to share.
Thanks again for your help.
Lucas