Campagne content vullen
Vult de campagne met html, of laat Laposta de html ophalen van een URL. Geef er een van beide mee; stuur je allebei, dan wint de html.
Gevonden problemen komen terug in
Gefundene Probleme kommen in
Los problemas encontrados se devuelven en
Gevonden problemen komen terug in
report, bijvoorbeeld een ontbrekende afmeldlink of een afbeelding die niet geladen kan worden. Verzenden kan ook zonder die problemen op te lossen, maar het is verstandig ze eerst na te lopen.
Filling in the content of a campaign The campaign can either be filled directly with html, or through a URL, in which case Laposta imports the html found at the specified URL. One of the two must be chosen. If both parameters are given the html is taken. If the import fails, a 400 error message from the API will occur. If it does succeed in importing the html, but problems were found during the import, they are shown in the variable report in the response. These may include: Solving these problems is not necessary in order to properly send the newsletter, but it is highly recommended. In the case of a free account, our advertising is added to the bottom of the newsletter. If the offered html does not contain an unsubscribe link, it will simply be added by our program.
Füllt die Kampagne mit HTML, oder lässt Laposta das HTML von einer URL abholen. Gib eines von beiden mit; schickst du beides, gewinnt das HTML.Gefundene Probleme kommen in
report zurück, zum Beispiel ein fehlender Abmeldelink oder ein Bild, das nicht geladen werden kann. Versenden ist auch möglich, ohne diese Probleme zu lösen, aber es ist sinnvoll, sie vorher durchzugehen.
Rellena la campaña con html, o deja que Laposta obtenga el html de una URL. Envía una de las dos cosas; si envías ambas, gana el html.Los problemas encontrados se devuelven en
report, por ejemplo un enlace de baja que falta o una imagen que no se puede cargar. También puedes enviar la campaña sin resolver esos problemas, pero conviene revisarlos primero.Autenticación
AuthorizationBasic
Vul je API-sleutel in bij
api_key en laat leave_empty leeg. De API gebruikt basic auth, waarbij je sleutel de plaats van de gebruikersnaam inneemt. In curl schrijf je dat als -u JOUW_SLEUTEL:, met een dubbele punt en niets erachter.
Enter your API key at api_key and leave leave_empty empty. The API uses basic auth, with your key in place of the username. In curl that reads -u YOUR_KEY:, with a colon and nothing after it.
Trage deinen API-Schlüssel bei api_key ein und lass leave_empty leer. Die API nutzt Basic Auth, wobei dein Schlüssel an die Stelle des Benutzernamens tritt. In curl schreibst du das als -u DEIN_SCHLUESSEL:, mit einem Doppelpunkt und nichts dahinter.
Introduce tu clave API en api_key y deja leave_empty vacío. La API usa basic auth, con tu clave en lugar del nombre de usuario. En curl se escribe como -u TU_CLAVE:, con dos puntos y nada después.Parámetros de ruta
campaign_id
Het id van de campagne. Dat vind je in het antwoord van Alle campagnes opvragen.
The id of the campaign. You find it in the response of Get all campaigns.
Die ID der Kampagne. Du findest sie in der Antwort von Alle Kampagnen abrufen.
El id de la campaña. Lo encuentras en la respuesta de Obtener todas las campañas.
Solicitud
This endpoint expects an object.
html
De html voor de campagne.
The html for the campaign
Das HTML für die Kampagne.
El html de la campaña.
import_url
De url vanwaar de html geïmporteerd moet worden.
The URL from which the html must be imported
Die URL, von der das HTML importiert werden soll.
La url desde la que se debe importar el html.
inline_css
Eventueel inlinen van css (true of false)
Potential inlining of css (true or false)
CSS eventuell inline setzen (true oder false)
Aplicar el css en línea si se desea (true o false)
javascript
Er is javascript aangetroffen.
JavaScript was encountered
Es wurde JavaScript gefunden.
Se ha detectado javascript.
flash
Er is flash aangetroffen.
Flash was encountered
Es wurde Flash gefunden.
Se ha detectado flash.
no_unsubscribe
Er is geen afmeldlink gevonden.
No unsubscribe could be located
Es wurde kein Abmeldelink gefunden.
No se ha encontrado ningún enlace de baja.
empty_unsubscribe
Er is een lege afmeldlink gevonden.
Empty unsubscribe encountered
Es wurde ein leerer Abmeldelink gefunden.
Se ha encontrado un enlace de baja vacío.
css
Er zijn ontbrekende externe css bestanden (worden opgesomd)
Missing external css files (listed)
Es fehlen externe CSS-Dateien (werden aufgelistet)
Faltan archivos css externos (se enumeran)
images
Er zijn ontbrekende externe afbeeldingen (worden opgesomd)
Missing external images (listed)
Es fehlen externe Bilder (werden aufgelistet)
Faltan imágenes externas (se enumeran)
Respuesta
De aanvraag is gelukt.
The request succeeded.
Die Anfrage war erfolgreich.
La solicitud se ha realizado correctamente.
campaign
Errores
400
Bad Request Error
401
Unauthorized Error
429
Too Many Requests Error