The API allows you to send messages through your projects and services over HTTP/HTTPS, SMTP and SMPP protocols. Ready-made libraries in different programming languages connect to your project and help you send messages from anywhere with a single command. For simplified authorization, instead of a login and password pair, you can use a special API key.
Sending a picture or video in a message is possible in one of the following ways:
в виде полного http(s)-адреса внешнего или загруженного в систему файла, указанного в тексте сообщения, в формате <file http(s)://...>. Для файлов, загруженных в систему в личном кабинете на странице "Медиа файлы" возможно указание прямой ссылки на файл в виде https://smscentre.com/files/sms/..., либо сокращенной <file /files/sms/...>;
by the POST method in the body of an http(s) request to the server. With this method of sending, the attached file must be designated in the message text in a special way in the form of "<file 1>";
by adding a special additional fileurl parameter to http(s), containing the full http(s) address of the transmitted external file. When using fileurl, passing the mes parameter in the request is optional.
The attached file must not exceed 10 MB in size and must comply with one of the following formats:
jpg, jpeg, png – for pictures;
3gp, mp4 – for the video.
Before using the linked message texts, you must register them in the templates..
This website uses cookies and transmits data to web analytics services to improve functionality. By using the website, you agree to this. To close