info@turnosxpress.com.ar
Frx8us2W@

noreply@turnosxpress.com.ar
4@qwLOny

Clave API
eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3NDYxMTc3NzUsImV4cCI6NDkwMTc5MTM3NSwicm9sZXMiOlsiUk9MRV9BRE1JTiIsIlJPTEVfVVNFUiJdLCJraWQiOiI2ODEzYTQ4ZjQ1NGQwYzA1YjAwYTcxYTciLCJhaWQiOiI2ODEzOGIzNjQ2NGFlYzAyMGQwZWY0YjkiLCJ1c2VybmFtZSI6ImhvcmFjaW9kcnNAZ21haWwuY29tIn0.BEIMAFx9SzwRkWK0UEhmem0KpswDK86s4_cdiNeuHLn47G_7dvzfsAR4zqa2EeVeCPC3J62qOtnhMH6GmIKaiZhx0C_ngTJ1nFVzENlZR7pk-R-QdnG8Iq6ZvQrXvQfd3NPi8MNGJAnWEHo9JW2HfvMW534TdBcBcAYTgU51EnLSMnoJMYQ7gkvkPugdIEtD01_2OM_KOx7HFG0svLACgnz_m0TKOxQD1XvDqzbOlCukQgkrftuHEJK5JYa_WrBuvS_RwiaS3CuLMny076gMNtEAJMiHYe4D-9zfMTzJJc-uWu-DB8ASwSwzwPWsNhVbzpsoZGtopWdZ3RJizk1r0g

ID Plantilla de recuperacion: 68139f23f3e003139b08b4f0


Ejemplo NODEJS
==============
var axios = require('axios');
var data = JSON.stringify({
"from": "notificaciones@empresa.com",
"to": "cliente@prueba.com",
"subject": "Hola {{nombre}} ya está disponible tu factura",
"html": "<html><img src=\"cid:logo\"/> <br> <h4> <b>Hola {{nombre}} {{apellido}}</b> </h4> <p> Adjuntamos tu factura del mes {{mes}} </p> </html>",
"substitutions": {
"nombre": "Juan",
"apellido": "Pérez",
"mes": "02/2023"
},
"attachments": [
{
"id": "logo",
"filename": "logo.jpg",
"disposition": "inline",
"content": "UEsDBBQABgAIAAAAIQDfpNJsWgEAACAFAAATAAgCW0Nvb…"
},
{
"disposition": "attachment",
"filename": "factura.doc",
"content": "UEsDBBQABgAIAAAAIQDfpNJsWgEAACAFAAATAAgCW0Nvb…"
}
]
});

var config = {
method: 'post',
maxBodyLength: Infinity,
url: 'https://api.envialosimple.email/api/v1/mail/send',
headers: { 
'Authorization': 'Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYX..jE2NzgzOTA0MjYsImV', 
'Content-Type': 'application/json'
},
data : data
};

axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});ode