How can I send files using SMS?
When you send an SMS via our gateway, you can also attach files to the message.
These files are sent in the SMS as a shortened link that takes your recipients directly to the download. With this feature you can send documents and images via SMS.
In this help article you will find information on:
- Selecting your file
- Sending via the webapp
- Sending via the API
When choosing your file, keep the following in mind:
- You can attach any file format.
- The size of the individual file must not exceed 8MB.
- The number of characters of the SMS will be reduced by the number of characters of the shortened link, not by the number of characters in the title.
How to add your attachment:
1. Select the file you want to send.
Log in to the webapp and select New SMS from the left menu. Then click the paperclip icon to the right of the message box.
Select the file you want to send via Select file or drag and drop the file onto the field.
2. Set the validity of the file link
Under the item Validity in days you define how long your file can be accessed under the sent link. The default setting is 3 days.
3. Optional: Set a password
If you wish, you can protect the access to your file with a password. Enter it in the last line at the Password (optional) item.
4. Add file to the message
Click Save. Your file will be added to the message. You will see it highlighted in gray.
Now you can create and send your message as usual.
Sending via HTTP API
You can also send file attachments directly via our API. For this purpose, the respective files must be passed as an associative array in the files parameter.
The respective parameters for file, validity period and password can be found in the HTTP API documentation under the point file attachments. Here you can also find examples.
Do you have any further questions about sending files via SMS?
Our support will be happy to help you.