Twórz masowe kampanie SMS, wysyłaj alerty, spotkania lub powiadomienia przez SMS.
Wysyłaj wiadomości za pomocą automatycznych cyfrowych połączeń głosowych na dowolny numer telefonu na świecie.
Wyślij SMS-a z certyfikowaną treścią, stanowiącą wiarygodny dowód.
Wysyłaj SMS-y ze swojego konta e-mail w taki sam sposób, w jaki wysyłasz e-mail
Prowadź kampanie email marketingowe, automatyzuj kampanie i łącz się z emailem w zaawansowany sposób
Wysyłaj certyfikowaną komunikację za pomocą certyfikowanej wiadomości e-mail ze swojego konta e-mail
Serwer SMTP do wysyłania wiadomości e-mail zoptymalizowanych pod kątem ulepszania kampanii e-mail marketingu
Twórz strony docelowe dla swoich kampanii e-mailowych i przyciągaj nowych klientów
Twórz umowy i wysyłaj je dowolnym kanałem, podpisuj umowy odręcznie
Generuj i wysyłaj hasła jednorazowe dowolnym kanałem
Zwiększ bezpieczeństwo swoich aplikacji, wdrażając podwójne uwierzytelnianie użytkowników
Połącz swoją firmę z WhatsAPP. Wysyłaj powiadomienia i rozmawiaj ze swoimi klientami
Zautomatyzuj rozmowy na czacie z klientami za pomocą botów czatu.
Połącz się z nowymi klientami dzięki naszej usłudze czatu internetowego
Przeprowadź ankietę jakości i poznaj opinie swoich klientów
Lojalność klientów, wysyłając spersonalizowane kupony rabatowe.
Automatyzuj kampanie marketingowe i automatycznie zdobywaj lojalność
Generuj kody QR całkowicie bezpłatnie z dowolnego adresu URL.
Twórz strony docelowe dzięki naszemu edytorowi lądowań i wysyłaj je SMS-em, e-mailem lub używaj, jak chcesz.
Wygeneruj czat internetowy WhatsAPP dla swojej witryny, kompatybilny ze wszystkimi platformami
Twórz wspaniałe niestandardowe formularze i legalnie buduj bazy danych dla swoich kampanii marketingowych
Wysyłaj SMS-y ze swojego oprogramowania za pomocą naszego API
Wysyłaj certyfikowane SMS-y, sprawdzaj status dostawy i pobieraj certyfikaty za pomocą naszego API.
Wykonuj połączenia automatycznie ze swojego oprogramowania
Wysyłaj i automatyzuj wysyłanie wiadomości e-mail za pośrednictwem interfejsu API, połącz swoje oprogramowanie z e-mail marketingiem
Połącz się ze swoimi klientami za pomocą WhatsAPP przez API
Zarządzaj systemem czatu z API. Uzyskaj dostęp lub odpowiadaj na konwersacje z naszego API.
Zarządzaj wszystkimi szablonami kont, twórz szablony SMS lub e-mail z naszego API.
String afilnet_class="template"; String afilnet_method="addtemplate"; String afilnet_user="user"; String afilnet_password="password"; String afilnet_title="title test"; String afilnet_message="title message"; String afilnet_type="mobile"; // Create an URL request String sUrl = "https://www.afilnet.com/api/http/?class="+afilnet_class+"&method="+afilnet_method+"&user="+afilnet_user+"&password="+afilnet_password+"&title="+afilnet_title+"&message="+afilnet_message+"&type="+afilnet_type; URL url = new URL(sUrl); StringBuilder builder = new StringBuilder(); BufferedReader theJSONline = new BufferedReader(new InputStreamReader(url.openStream())); builder.append(theJSONline.readLine()); String content = builder.toString();
String afilnet_class="template"; String afilnet_method="addtemplate"; String afilnet_user="user"; String afilnet_password="password"; String afilnet_title="title test"; String afilnet_message="title message"; String afilnet_type="mobile"; // Create the POST request String post = "class="+afilnet_class+"&method="+afilnet_method+"&user="+afilnet_user+"&password="+afilnet_password+"&title="+afilnet_title+"&message="+afilnet_message+"&type="+afilnet_type; // We generate the URL URL myurl = new URL("https://www.afilnet.com/api/http/"); // We create the connection HttpURLConnection con = (HttpURLConnection) myurl.openConnection(); con.setDoOutput(true); con.setRequestProperty("Content-Type", "application/x-www-form-urlencoded"); con.setRequestProperty("Content-Length", String.valueOf(post.length())); con.setRequestMethod("POST"); // We build the OutputStream os = con.getOutputStream(); os.write(post.getBytes()); os.close(); StringBuilder sb = new StringBuilder(); int HttpResult = con.getResponseCode(); if(HttpResult == HttpURLConnection.HTTP_OK) { BufferedReader br = new BufferedReader(new InputStreamReader(con.getInputStream(),"utf-8")); String line = null; while ((line = br.readLine()) != null) { sb.append(line + "\n"); } br.close(); System.out.println(""+sb.toString()); } else { System.out.println(con.getResponseCode()); System.out.println(con.getResponseMessage()); }
String afilnet_class="template"; String afilnet_method="addtemplate"; String afilnet_user="user"; String afilnet_password="password"; String afilnet_title="title test"; String afilnet_message="title message"; String afilnet_type="mobile"; // Create the POST request String post = "class="+afilnet_class+"&method="+afilnet_method+"&title="+afilnet_title+"&message="+afilnet_message+"&type="+afilnet_type; // We generate the URL URL myurl = new URL("https://www.afilnet.com/api/basic/"); // We create the connection HttpURLConnection con = (HttpURLConnection) myurl.openConnection(); String encoded = Base64.getEncoder().encodeToString((afilnet_user+":"+afilnet_password).getBytes(StandardCharsets.UTF_8)); con.setRequestProperty("Authorization", "Basic "+encoded); con.setDoOutput(true); con.setRequestProperty("Content-Type", "application/x-www-form-urlencoded"); con.setRequestProperty("Content-Length", String.valueOf(post.length())); con.setRequestMethod("POST"); // We build the OutputStream os = con.getOutputStream(); os.write(post.getBytes()); os.close(); StringBuilder sb = new StringBuilder(); int HttpResult = con.getResponseCode(); if(HttpResult == HttpURLConnection.HTTP_OK) { BufferedReader br = new BufferedReader(new InputStreamReader(con.getInputStream(),"utf-8")); String line = null; while ((line = br.readLine()) != null) { sb.append(line + "\n"); } br.close(); System.out.println(""+sb.toString()); } else { System.out.println(con.getResponseCode()); System.out.println(con.getResponseMessage()); }
String afilnet_class="template"; String afilnet_method="addtemplate"; String afilnet_user="user"; String afilnet_password="password"; String afilnet_title="title test"; String afilnet_message="title message"; String afilnet_type="mobile"; // Create the POST request String post = "class="+afilnet_class+"&method="+afilnet_method+"&title="+afilnet_title+"&message="+afilnet_message+"&type="+afilnet_type; // We generate the URL URL myurl = new URL("https://www.afilnet.com/api/basic/"); // We create the connection HttpURLConnection con = (HttpURLConnection) myurl.openConnection(); String encoded = Base64.getEncoder().encodeToString((afilnet_user+":"+afilnet_password).getBytes(StandardCharsets.UTF_8)); con.setRequestProperty("Authorization", "Basic "+encoded); con.setDoOutput(true); con.setRequestProperty("Content-Type", "application/x-www-form-urlencoded"); con.setRequestProperty("Content-Length", String.valueOf(post.length())); con.setRequestMethod("POST"); // We build the OutputStream os = con.getOutputStream(); os.write(post.getBytes()); os.close(); StringBuilder sb = new StringBuilder(); int HttpResult = con.getResponseCode(); if(HttpResult == HttpURLConnection.HTTP_OK) { BufferedReader br = new BufferedReader(new InputStreamReader(con.getInputStream(),"utf-8")); String line = null; while ((line = br.readLine()) != null) { sb.append(line + "\n"); } br.close(); System.out.println(""+sb.toString()); } else { System.out.println(con.getResponseCode()); System.out.println(con.getResponseMessage()); }String afilnet_class="template"; String afilnet_method="gettemplates"; String afilnet_user="user"; String afilnet_password="password"; String afilnet_type="mobile"; String afilnet_start="0"; // Create an URL request String sUrl = "https://www.afilnet.com/api/http/?class="+afilnet_class+"&method="+afilnet_method+"&user="+afilnet_user+"&password="+afilnet_password+"&type="+afilnet_type+"&start="+afilnet_start; URL url = new URL(sUrl); StringBuilder builder = new StringBuilder(); BufferedReader theJSONline = new BufferedReader(new InputStreamReader(url.openStream())); builder.append(theJSONline.readLine()); String content = builder.toString();
String afilnet_class="template"; String afilnet_method="gettemplates"; String afilnet_user="user"; String afilnet_password="password"; String afilnet_type="mobile"; String afilnet_start="0"; // Create the POST request String post = "class="+afilnet_class+"&method="+afilnet_method+"&user="+afilnet_user+"&password="+afilnet_password+"&type="+afilnet_type+"&start="+afilnet_start; // We generate the URL URL myurl = new URL("https://www.afilnet.com/api/http/"); // We create the connection HttpURLConnection con = (HttpURLConnection) myurl.openConnection(); con.setDoOutput(true); con.setRequestProperty("Content-Type", "application/x-www-form-urlencoded"); con.setRequestProperty("Content-Length", String.valueOf(post.length())); con.setRequestMethod("POST"); // We build the OutputStream os = con.getOutputStream(); os.write(post.getBytes()); os.close(); StringBuilder sb = new StringBuilder(); int HttpResult = con.getResponseCode(); if(HttpResult == HttpURLConnection.HTTP_OK) { BufferedReader br = new BufferedReader(new InputStreamReader(con.getInputStream(),"utf-8")); String line = null; while ((line = br.readLine()) != null) { sb.append(line + "\n"); } br.close(); System.out.println(""+sb.toString()); } else { System.out.println(con.getResponseCode()); System.out.println(con.getResponseMessage()); }
String afilnet_class="template"; String afilnet_method="gettemplates"; String afilnet_user="user"; String afilnet_password="password"; String afilnet_type="mobile"; String afilnet_start="0"; // Create the POST request String post = "class="+afilnet_class+"&method="+afilnet_method+"&type="+afilnet_type+"&start="+afilnet_start; // We generate the URL URL myurl = new URL("https://www.afilnet.com/api/basic/"); // We create the connection HttpURLConnection con = (HttpURLConnection) myurl.openConnection(); String encoded = Base64.getEncoder().encodeToString((afilnet_user+":"+afilnet_password).getBytes(StandardCharsets.UTF_8)); con.setRequestProperty("Authorization", "Basic "+encoded); con.setDoOutput(true); con.setRequestProperty("Content-Type", "application/x-www-form-urlencoded"); con.setRequestProperty("Content-Length", String.valueOf(post.length())); con.setRequestMethod("POST"); // We build the OutputStream os = con.getOutputStream(); os.write(post.getBytes()); os.close(); StringBuilder sb = new StringBuilder(); int HttpResult = con.getResponseCode(); if(HttpResult == HttpURLConnection.HTTP_OK) { BufferedReader br = new BufferedReader(new InputStreamReader(con.getInputStream(),"utf-8")); String line = null; while ((line = br.readLine()) != null) { sb.append(line + "\n"); } br.close(); System.out.println(""+sb.toString()); } else { System.out.println(con.getResponseCode()); System.out.println(con.getResponseMessage()); }
String afilnet_class="template"; String afilnet_method="gettemplates"; String afilnet_user="user"; String afilnet_password="password"; String afilnet_type="mobile"; String afilnet_start="0"; // Create the POST request String post = "class="+afilnet_class+"&method="+afilnet_method+"&type="+afilnet_type+"&start="+afilnet_start; // We generate the URL URL myurl = new URL("https://www.afilnet.com/api/basic/"); // We create the connection HttpURLConnection con = (HttpURLConnection) myurl.openConnection(); String encoded = Base64.getEncoder().encodeToString((afilnet_user+":"+afilnet_password).getBytes(StandardCharsets.UTF_8)); con.setRequestProperty("Authorization", "Basic "+encoded); con.setDoOutput(true); con.setRequestProperty("Content-Type", "application/x-www-form-urlencoded"); con.setRequestProperty("Content-Length", String.valueOf(post.length())); con.setRequestMethod("POST"); // We build the OutputStream os = con.getOutputStream(); os.write(post.getBytes()); os.close(); StringBuilder sb = new StringBuilder(); int HttpResult = con.getResponseCode(); if(HttpResult == HttpURLConnection.HTTP_OK) { BufferedReader br = new BufferedReader(new InputStreamReader(con.getInputStream(),"utf-8")); String line = null; while ((line = br.readLine()) != null) { sb.append(line + "\n"); } br.close(); System.out.println(""+sb.toString()); } else { System.out.println(con.getResponseCode()); System.out.println(con.getResponseMessage()); }String afilnet_class="template"; String afilnet_method="gettemplate"; String afilnet_user="user"; String afilnet_password="password"; String afilnet_idtemplate="1000"; // Create an URL request String sUrl = "https://www.afilnet.com/api/http/?class="+afilnet_class+"&method="+afilnet_method+"&user="+afilnet_user+"&password="+afilnet_password+"&idtemplate="+afilnet_idtemplate; URL url = new URL(sUrl); StringBuilder builder = new StringBuilder(); BufferedReader theJSONline = new BufferedReader(new InputStreamReader(url.openStream())); builder.append(theJSONline.readLine()); String content = builder.toString();
String afilnet_class="template"; String afilnet_method="gettemplate"; String afilnet_user="user"; String afilnet_password="password"; String afilnet_idtemplate="1000"; // Create the POST request String post = "class="+afilnet_class+"&method="+afilnet_method+"&user="+afilnet_user+"&password="+afilnet_password+"&idtemplate="+afilnet_idtemplate; // We generate the URL URL myurl = new URL("https://www.afilnet.com/api/http/"); // We create the connection HttpURLConnection con = (HttpURLConnection) myurl.openConnection(); con.setDoOutput(true); con.setRequestProperty("Content-Type", "application/x-www-form-urlencoded"); con.setRequestProperty("Content-Length", String.valueOf(post.length())); con.setRequestMethod("POST"); // We build the OutputStream os = con.getOutputStream(); os.write(post.getBytes()); os.close(); StringBuilder sb = new StringBuilder(); int HttpResult = con.getResponseCode(); if(HttpResult == HttpURLConnection.HTTP_OK) { BufferedReader br = new BufferedReader(new InputStreamReader(con.getInputStream(),"utf-8")); String line = null; while ((line = br.readLine()) != null) { sb.append(line + "\n"); } br.close(); System.out.println(""+sb.toString()); } else { System.out.println(con.getResponseCode()); System.out.println(con.getResponseMessage()); }
String afilnet_class="template"; String afilnet_method="gettemplate"; String afilnet_user="user"; String afilnet_password="password"; String afilnet_idtemplate="1000"; // Create the POST request String post = "class="+afilnet_class+"&method="+afilnet_method+"&idtemplate="+afilnet_idtemplate; // We generate the URL URL myurl = new URL("https://www.afilnet.com/api/basic/"); // We create the connection HttpURLConnection con = (HttpURLConnection) myurl.openConnection(); String encoded = Base64.getEncoder().encodeToString((afilnet_user+":"+afilnet_password).getBytes(StandardCharsets.UTF_8)); con.setRequestProperty("Authorization", "Basic "+encoded); con.setDoOutput(true); con.setRequestProperty("Content-Type", "application/x-www-form-urlencoded"); con.setRequestProperty("Content-Length", String.valueOf(post.length())); con.setRequestMethod("POST"); // We build the OutputStream os = con.getOutputStream(); os.write(post.getBytes()); os.close(); StringBuilder sb = new StringBuilder(); int HttpResult = con.getResponseCode(); if(HttpResult == HttpURLConnection.HTTP_OK) { BufferedReader br = new BufferedReader(new InputStreamReader(con.getInputStream(),"utf-8")); String line = null; while ((line = br.readLine()) != null) { sb.append(line + "\n"); } br.close(); System.out.println(""+sb.toString()); } else { System.out.println(con.getResponseCode()); System.out.println(con.getResponseMessage()); }
String afilnet_class="template"; String afilnet_method="gettemplate"; String afilnet_user="user"; String afilnet_password="password"; String afilnet_idtemplate="1000"; // Create the POST request String post = "class="+afilnet_class+"&method="+afilnet_method+"&idtemplate="+afilnet_idtemplate; // We generate the URL URL myurl = new URL("https://www.afilnet.com/api/basic/"); // We create the connection HttpURLConnection con = (HttpURLConnection) myurl.openConnection(); String encoded = Base64.getEncoder().encodeToString((afilnet_user+":"+afilnet_password).getBytes(StandardCharsets.UTF_8)); con.setRequestProperty("Authorization", "Basic "+encoded); con.setDoOutput(true); con.setRequestProperty("Content-Type", "application/x-www-form-urlencoded"); con.setRequestProperty("Content-Length", String.valueOf(post.length())); con.setRequestMethod("POST"); // We build the OutputStream os = con.getOutputStream(); os.write(post.getBytes()); os.close(); StringBuilder sb = new StringBuilder(); int HttpResult = con.getResponseCode(); if(HttpResult == HttpURLConnection.HTTP_OK) { BufferedReader br = new BufferedReader(new InputStreamReader(con.getInputStream(),"utf-8")); String line = null; while ((line = br.readLine()) != null) { sb.append(line + "\n"); } br.close(); System.out.println(""+sb.toString()); } else { System.out.println(con.getResponseCode()); System.out.println(con.getResponseMessage()); }String afilnet_class="template"; String afilnet_method="deletetemplate"; String afilnet_user="user"; String afilnet_password="password"; String afilnet_idtemplate="1000"; // Create an URL request String sUrl = "https://www.afilnet.com/api/http/?class="+afilnet_class+"&method="+afilnet_method+"&user="+afilnet_user+"&password="+afilnet_password+"&idtemplate="+afilnet_idtemplate; URL url = new URL(sUrl); StringBuilder builder = new StringBuilder(); BufferedReader theJSONline = new BufferedReader(new InputStreamReader(url.openStream())); builder.append(theJSONline.readLine()); String content = builder.toString();
String afilnet_class="template"; String afilnet_method="deletetemplate"; String afilnet_user="user"; String afilnet_password="password"; String afilnet_idtemplate="1000"; // Create the POST request String post = "class="+afilnet_class+"&method="+afilnet_method+"&user="+afilnet_user+"&password="+afilnet_password+"&idtemplate="+afilnet_idtemplate; // We generate the URL URL myurl = new URL("https://www.afilnet.com/api/http/"); // We create the connection HttpURLConnection con = (HttpURLConnection) myurl.openConnection(); con.setDoOutput(true); con.setRequestProperty("Content-Type", "application/x-www-form-urlencoded"); con.setRequestProperty("Content-Length", String.valueOf(post.length())); con.setRequestMethod("POST"); // We build the OutputStream os = con.getOutputStream(); os.write(post.getBytes()); os.close(); StringBuilder sb = new StringBuilder(); int HttpResult = con.getResponseCode(); if(HttpResult == HttpURLConnection.HTTP_OK) { BufferedReader br = new BufferedReader(new InputStreamReader(con.getInputStream(),"utf-8")); String line = null; while ((line = br.readLine()) != null) { sb.append(line + "\n"); } br.close(); System.out.println(""+sb.toString()); } else { System.out.println(con.getResponseCode()); System.out.println(con.getResponseMessage()); }
String afilnet_class="template"; String afilnet_method="deletetemplate"; String afilnet_user="user"; String afilnet_password="password"; String afilnet_idtemplate="1000"; // Create the POST request String post = "class="+afilnet_class+"&method="+afilnet_method+"&idtemplate="+afilnet_idtemplate; // We generate the URL URL myurl = new URL("https://www.afilnet.com/api/basic/"); // We create the connection HttpURLConnection con = (HttpURLConnection) myurl.openConnection(); String encoded = Base64.getEncoder().encodeToString((afilnet_user+":"+afilnet_password).getBytes(StandardCharsets.UTF_8)); con.setRequestProperty("Authorization", "Basic "+encoded); con.setDoOutput(true); con.setRequestProperty("Content-Type", "application/x-www-form-urlencoded"); con.setRequestProperty("Content-Length", String.valueOf(post.length())); con.setRequestMethod("POST"); // We build the OutputStream os = con.getOutputStream(); os.write(post.getBytes()); os.close(); StringBuilder sb = new StringBuilder(); int HttpResult = con.getResponseCode(); if(HttpResult == HttpURLConnection.HTTP_OK) { BufferedReader br = new BufferedReader(new InputStreamReader(con.getInputStream(),"utf-8")); String line = null; while ((line = br.readLine()) != null) { sb.append(line + "\n"); } br.close(); System.out.println(""+sb.toString()); } else { System.out.println(con.getResponseCode()); System.out.println(con.getResponseMessage()); }
Odkryj zalety i wady każdego z naszych interfejsów API. Dowiedz się, który interfejs API jest najlepszy dla Twojego oprogramowania w języku Java.
Ten interfejs API umożliwia łączenie się z nami z języka Java w celu wysyłania żądań za pośrednictwem żądań HTTP GET. To żądanie wysyła parametry pod tym samym adresem URL, co żądanie.
API żądania POST umożliwia łączenie się z naszym API z języka Java poprzez wysyłanie parametrów żądania za pomocą parametrów HTTP POST. Informacje są wysyłane niezależnie od adresu URL.
Podstawowe API uwierzytelniania umożliwia korzystanie z żądań GET i POST w języku Java z dodatkową warstwą bezpieczeństwa, ponieważ w tym przypadku nazwa użytkownika i hasło są przesyłane w nagłówku żądania.
SOAP umożliwia wysyłanie żądań w formacie XML z Java, SOAP dodaje dodatkową warstwę bezpieczeństwa do żądań API.
Nasze API JSON umożliwia wysyłanie żądań w formacie JSON z Java, dodatkowo to API dodaje protokół oAuth 2.0 do uwierzytelniania, co pozwala dodać dodatkową warstwę bezpieczeństwa.
Aby mieć dostęp do API, musisz być klientem Afilnet. Rejestracja zajmie kilka minut.
Nasza firma zaoferuje Ci saldo próbne, które pozwoli Ci przetestować z API, którego potrzebujesz.
Wykonaj integrację API przy użyciu wybranego języka programowania. Jeśli masz jakieś pytania lub sugestie dotyczące API, skontaktuj się z nami
Everything Ready!, Udało się poprawić komunikację z Afilnet. Jesteśmy tutaj, aby wspierać nasz interfejs API, gdy go potrzebujesz
Skontaktuj się z naszym zespołem, jeśli masz jakiekolwiek pytania, korzystając z oferowanych przez nas metod kontaktu. Nasz zespół postara się zaoferować natychmiastowe rozwiązanie i pomoże w integracji naszego API z Twoim oprogramowaniem.
Zarejestruj się za darmo i wypróbuj Afilnet! Oferujemy bezpłatną wersję próbną naszych usług. *
Firma *
Imię *
Email *
Numer telefonu *
(*) Promocja ważna tylko dla firm, które nigdy wcześniej nie korzystały z usługi Afilnet. Prosząc o bezpłatne saldo, Afilnet może poprosić o zweryfikowanie informacji o Twojej firmie