Una volta creato un account e un token API, puoi autenticarti tramite l’header HTTP Autorizzazione in questo modo
Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxMTY1NiIsImlhdCI6MTUxOTEyMDg2NX0.ZnGgbDC0OI3hPm2UXyl4rxU9JlpMTMBcTJT8RVgJbtQ
La nostra API supporta i Content-Type
application/xml. Puoi specificare un Content-Type con Accept Header in HTTP.
Di default, la nostra API riceve e ritorna XML.
Stato della richiesta
Here's the list of all the request statuses our API can send:
|-1||Errore di autenticazione|
|-4||Posticipazione data non corretta|
|-5||Errore nella lista contatti|
|-7||Errore dei dati|
|-8||La tua campagna è in attesa di moderazione|
Alcune informazioni sugli SMS
How many characters are there in an SMS?
Un SMS è fatto di 160 caratteri, secondo norme internazionali. Nei 160 caratteri sono compresi gli spazi, la punteggiatura, le lettere, le cifre e i caratteri speciali. 1 SMS ogni 153 caratteri.
Which are the allowed characters in an SMS?
The allowed characters in an SMS are defined in the default GSM-7 encoding table. As of today, we do not allow UTF-8 characters nor do we allow national shift tables.
Which are the two types of professional SMS?
Even though there is technically only one SMS, it exists a distinction separating two types of SMS according to the uses and legislation: alert SMS and promotional SMS.
L’SMS Promozionale è progettato per offerte commerciali, vendite private, regali, eventi commerciali etc.. It is authorized only between 8am and 8pm from Monday to Saturday and is forbidden on Sundays and bank holidays. This type of SMS forces you to offer to your recipients a way to unsubscribe from your commercial offers.
Alert SMS is designed for meetings, gatherings, weather alerts, emergencies, financial transactions, etc. Siccome sono SMS informativi e non commerciali, non sono sottoposti al medesimo regolamento. Gli SMS Alert possono essere inviati tutti i giorni e a tutte le ore del giorno. You don’t have to add a STOP mention for alert sms as they do not have a commercial impact.
La scelta fra un SMS promozionale e un SMS Alert è solo tua, e ti ringraziamo se rispetterai queste norme. If you are not sure, do not hesitate to contact our account executives, they’ll be glad to help you. Know that in case of problem due to a failure of respect of the rules, such as sending a promotional SMS as an alert SMS without a STOP mention, you’ll be held responsible.
How does unsubscription work?
You must always add a way for recipients to unsubscribe from your promotional SMS whereas it’s optional for alert sms. For Switzerland, you can easily add stop a link at the end of each message. Recipients will easily be able to unsubscribe by clicking on this link. For France, if the sender is not personalized, a 5-digit number will be displayed as the sender of the SMS. The recipients will then be able to reply “STOP” directly to this number, thus a STOP mention won’t be added. If the sender is customized, a STOP mention will automatically be added at the end of the message, indicating to the recipient how to unsubscribe (example: “STOP SMS at 36173”). You should know that every country has its own rules about the sender, so feel free to contact us if you wanna know anything about sending toward a particular country. Because of the European data protection regulation, make sure you only send your promotional SMS campaigns to clients that have given their explicit consent and to always offer a way to unsubscribe.
How to receive replies to SMS sendings?
In order to receive replies, you can't personalize the sender as it prevents the recipients from replying. You should also know that replies aren't available in every country. For instance, they're available in France, Belgium and Switzerland. If replies are allowed in the country you're sending towards, you can create a webhook to receive them.
How does sender personalization work?
As said before, every country has its own rules regarding the sender. For instance, for France and Switzerland, the sender can be up to 11 alphanumeric characters (no special character allowed). Remember that when the sender is personalized, your recipients are unable to reply. The sender can't be personalized for Belgium. For Switzerland the default sender, if not set, is a number to allow recipients to reply. You should also know that some phone models like iPhones are known for not being able to properly display 3 or less characters senders.
What is URL shortening used for?
Adding an URL to your message can be convenient but it would also take too many characters. URL shortening allows you to insert a link that's only 18 to 20 characters long. Furthermore, it also allows you to track the click of your recipients so you can see when and at which rate your recipients actually click on your link.
In which format the contacts’ numbers must be in when a list is created?
When you create a contact list, the numbers must be added in the international format E.164 (example: 41781234567). Beware, every SMS sent is charged by operators, an updated list will avoid unnecessary spending. Therefore, you should delete false numbers (too short or too long numbers) but also invalid numbers.
How long is user related data hold?
We allow our clients to choose the retention period of their data on our platform or through the API. Therefore, it’s now possible to customize the retention period of messages, campaigns, contacts lists and surveys. Whether you choose to personalize the retention period of your data or not, know that we do not keep your data forever: a maximum period is decreed anyway. Therefore, you should delete false numbers (too short or too long numbers) but also invalid numbers.