gatewayapi.com Open in urlscan Pro
35.244.215.189  Public Scan

Submitted URL: https://gatewayapi.org/
Effective URL: https://gatewayapi.com/
Submission: On August 02 via automatic, source certstream-suspicious — Scanned from US

Form analysis 1 forms found in the DOM

POST

<form method="POST" id="download-smsprices-form" data-hs-cf-bound="true"></form>

Text Content

YOU CONTROL YOUR DATA

We and our business partners use technologies, including cookies, to collect
information about you for various purposes, including:

 1. Functional
 2. Statistical
 3. Marketing

By clicking ‘Accept’, you give your consent for all these purposes. You can also
choose to specify the purposes you consent to by ticking the checkbox next to
the purpose and clicking ‘Save settings’.
You may withdraw your consent at any time by clicking the small icon at the
bottom left corner of the website.
You can read more about how we use cookies and other technologies and how we
collect and process personal data by clicking the link. Read more about cookies
Google privacy policy
Show details Hide details


NECESSARY

Strictly necessary cookies help make a website navigable by activating basic
functions such as page navigation and access to secure website areas. Without
these cookies, the website would not be able to work properly.

Service: Piwik Pro Purpose: Collects information about the users and their
activity on the website for analytics and reporting purposes. Privacy policy:
Piwik Pro - Privacy policy(opens in a new tab) Expiry: 30 minutes Name:
_pk_sesxxx Vendor: gatewayapi.com Service: Cookie Information Purpose: Supports
the website's technical functions. Privacy policy: Cookie Information - Privacy
policy(opens in a new tab) Expiry: a year Name: CookieInformationConsent Vendor:
gatewayapi.com Service: Piwik Pro Purpose: Collects information about the users
and their activity on the website for analytics and reporting purposes. Privacy
policy: Piwik Pro - Privacy policy(opens in a new tab) Expiry: 30 minutes Name:
_pk_sesxxx Vendor: .gatewayapi.com Service: Cloudflare Purpose: Pending Privacy
policy: Cloudflare - Privacy policy(opens in a new tab) Expiry: Session Name:
_cfuvid Vendor: .hubspot.com Service: Piwik Pro Purpose: Collects information
about the users and their activity on the website for analytics and reporting
purposes. Privacy policy: Piwik Pro - Privacy policy(opens in a new tab) Expiry:
a year Name: _pk_idxxx Vendor: gatewayapi.com Service: Piwik Pro Purpose:
Collects information about the users and their activity on the website for
analytics and reporting purposes. Privacy policy: Piwik Pro - Privacy
policy(opens in a new tab) Expiry: a year Name: _pk_idxxx Vendor:
.gatewayapi.com Service: Cloudflare Purpose: Pending Privacy policy: Cloudflare
- Privacy policy(opens in a new tab) Expiry: Session Name: _cfuvid Vendor:
.hsforms.com


FUNCTIONAL

Functional cookies make it possible to save information that changes the way the
website appears or acts. For instance your preferred language or region.

Service: Cloudflare Purpose: Supports the website's technical functions. Privacy
policy: Cloudflare - Privacy policy(opens in a new tab) Expiry: 17 minutes Name:
__cf_bm Vendor: .hubspot.com Service: Cloudflare Purpose: Supports the website's
technical functions. Privacy policy: Cloudflare - Privacy policy(opens in a new
tab) Expiry: 2 minutes Name: __cf_bm Vendor: .hsforms.com


STATISTICAL

Statistical cookies help the website owner understand how visitors interact with
the website by collecting and reporting information.

Service: Google Analytics Purpose: Collects information about the users and
their activity on the website for analytics and reporting purposes. Privacy
policy: Google Analytics - Privacy policy(opens in a new tab) Expiry: 20 hours
Name: FPLC Vendor: .gatewayapi.com Service: Google Analytics Purpose: Privacy
policy: Google Analytics - Privacy policy(opens in a new tab) Expiry: a year
Name: _ga_xxx Vendor: .gatewayapi.com Service: Google Analytics Purpose:
Collects information about the users and their activity on the website for
analytics and reporting purposes. Privacy policy: Google Analytics - Privacy
policy(opens in a new tab) Expiry: a few seconds Name: _gat_UA-xxx-xxx Vendor:
.gatewayapi.com Service: Piwik Pro Purpose: Collects information about the users
and their activity on the website for analytics and reporting purposes. Privacy
policy: Piwik Pro - Privacy policy(opens in a new tab) Expiry: a few seconds
Name: _pk_testcookiexxx Vendor: .gatewayapi.com Service: Google Analytics
Purpose: Collects information about the users and their activity on the website
for analytics and reporting purposes. Privacy policy: Google Analytics - Privacy
policy(opens in a new tab) Expiry: a year Name: FPID Vendor: .gatewayapi.com
Service: Meta Platforms, Inc Purpose: Collects information about the users and
their activity on the website for analytics and reporting purposes. Privacy
policy: Meta Platforms, Inc - Privacy policy(opens in a new tab) Expiry: 3
months Name: FPAU Vendor: .gatewayapi.com Service: Google Analytics Purpose:
Privacy policy: Google Analytics - Privacy policy(opens in a new tab) Expiry: a
year Name: _ga_xxx Vendor: gatewayapi.com Service: Google Analytics Purpose:
Collects information about the users and their activity on the website for
analytics and reporting purposes. Privacy policy: Google Analytics - Privacy
policy(opens in a new tab) Expiry: a year Name: _ga Vendor: .gatewayapi.com
Service: Google Analytics Purpose: Collects information about the users and
their activity on the website for analytics and reporting purposes. Privacy
policy: Google Analytics - Privacy policy(opens in a new tab) Expiry: a day
Name: _gid Vendor: .gatewayapi.com


MARKETING

Marketing cookies are used to track visitors across websites. The intention is
to display ads that are relevant and interesting to the individual user and thus
more valuable for publishers and third-party advertisers.

Service: Youtube, Google Purpose: Collects information about the users and their
activity on the website through embedded video players with the purpose of
delivering targeted advertising. Privacy policy: Youtube, Google - Privacy
policy(opens in a new tab) Expiry: 6 months Name: VISITOR_INFO1_LIVE Vendor:
.youtube.com Service: Facebook Purpose: Identifies browsers for the purposes of
providing advertising and site analytics services. Privacy policy: Facebook -
Privacy policy(opens in a new tab) Expiry: 3 months Name: _fbp Vendor:
.gatewayapi.com Service: HubSpot Purpose: Collects information about the users
and their activity on the website. The information is used to track and analyze
user behaviour and to deliver targeted advertising. Privacy policy: HubSpot -
Privacy policy(opens in a new tab) Expiry: Session Name: __hssrc Vendor:
.gatewayapi.com Service: Youtube, Google Purpose: Collects information about the
users and their activity on the website. The Information is used to track and
analyze user behavior, to meet the individual user needs and to deliver targeted
advertising. Privacy policy: Youtube, Google - Privacy policy(opens in a new
tab) Expiry: 6 months Name: VISITOR_PRIVACY_METADATA Vendor: .youtube.com
Service: LinkedIn Purpose: Supports online marketing by collecting information
about the users to promote products through partners and other platforms.
Privacy policy: LinkedIn - Privacy policy(opens in a new tab) Expiry: a month
Name: UserMatchHistory Vendor: .linkedin.com Service: HubSpot Purpose: Collects
information about the users and their activity on the website. The information
is used to track and analyze user behaviour and to deliver targeted advertising.
Privacy policy: HubSpot - Privacy policy(opens in a new tab) Expiry: 6 months
Name: __hstc Vendor: .gatewayapi.com Service: HubSpot Purpose: Collects
information about the users and their activity on the website. The information
is used to track and analyze user behaviour and to deliver targeted advertising.
Privacy policy: HubSpot - Privacy policy(opens in a new tab) Expiry: 6 months
Name: hubspotutk Vendor: .gatewayapi.com Service: Freewheel Purpose: Collects
information about the users and their activity on the website for analytics and
reporting purposes. Privacy policy: Freewheel - Privacy policy(opens in a new
tab) Expiry: Session Name: uid-xxx Vendor: .gatewayapi.com Service: LinkedIn
Purpose: Supports online marketing by collecting information about the users to
promote products through partners and other platforms. Privacy policy: LinkedIn
- Privacy policy(opens in a new tab) Expiry: a year Name: bscookie Vendor:
.www.linkedin.com Service: LinkedIn Purpose: Collects information about the
users and their activity on the website. The information is used to track and
analyze user behaviour and to deliver targeted advertising. Privacy policy:
LinkedIn - Privacy policy(opens in a new tab) Expiry: 3 months Name: li_sugr
Vendor: .linkedin.com Service: LinkedIn Purpose: Supports online marketing by
collecting information about the users to promote products through partners and
other platforms. Privacy policy: LinkedIn - Privacy policy(opens in a new tab)
Expiry: 6 months Name: li_gc Vendor: .linkedin.com Service: LinkedIn Purpose:
Supports online marketing by collecting information about the users to promote
products through partners and other platforms. Privacy policy: LinkedIn -
Privacy policy(opens in a new tab) Expiry: a day Name: lidc Vendor:
.linkedin.com Service: LinkedIn Purpose: Supports online marketing by collecting
information about the users to promote products through partners and other
platforms. Privacy policy: LinkedIn - Privacy policy(opens in a new tab) Expiry:
a year Name: bcookie Vendor: .linkedin.com Service: Youtube, Google Purpose:
Collects information about the users and their activity on the website through
embedded video players with the purpose of delivering targeted advertising.
Privacy policy: Youtube, Google - Privacy policy(opens in a new tab) Expiry:
Session Name: YSC Vendor: .youtube.com Service: LinkedIn Purpose: Collects
information about the users and their activity on the website. The Information
is used to track and analyze user behavior, to meet the individual user needs
and to deliver targeted advertising. Privacy policy: LinkedIn - Privacy
policy(opens in a new tab) Expiry: a month Name: AnalyticsSyncHistory Vendor:
.linkedin.com Service: Meta Platforms, Inc Purpose: Facebook's primary
advertising cookie, used to deliver, measure and improve the relevancy of ads.
Privacy policy: Meta Platforms, Inc - Privacy policy(opens in a new tab) Expiry:
3 months Name: fr Vendor: .facebook.com Service: Google Purpose: Remember your
recent searches, your previous interactions with an advertiser's ads, or search
results, and your visits to an advertiser's site to show you customized ads on
Google. Privacy policy: Google - Privacy policy(opens in a new tab) Expiry: 6
months Name: NID Vendor: .google.com Service: Google Purpose: Supports the
integration of a third-party platform on the website to deliver targeted
advertising. Privacy policy: Google - Privacy policy(opens in a new tab) Expiry:
3 months Name: _gcl_au Vendor: .gatewayapi.com Service: HubSpot Purpose:
Collects information about the users and their activity on the website. The
information is used to track and analyze user behaviour and to deliver targeted
advertising. Privacy policy: HubSpot - Privacy policy(opens in a new tab)
Expiry: 30 minutes Name: __hssc Vendor: .gatewayapi.com


UNCLASSIFIED

We are in the process of classifying unclassified cookies together with the
providers of the individual cookies.

Service: Purpose: Expiry: Session Name:
chatlio_at--5c69c12f-2814-466f-6e24-83e8cbd910b7 Vendor: .gatewayapi.com
Service: Purpose: Expiry: Session Name:
chatlio_rt--5c69c12f-2814-466f-6e24-83e8cbd910b7 Vendor: .gatewayapi.com

Decline all Save settings Accept all
Necessary
Functional
Statistical
Marketing
powered by: Cookie Information


COOKIE POLICY

Your consent applies to the following domains: gatewayapi.com The cookie policy
was last updated on 29.07.2024


WHAT IS A COOKIE?

A cookie is a small data file stored in your computer, tablet or smartphone. A
cookie is not a program that can contain harmful malware or virus.


HOW OUR WEBSITE USES COOKIES

Some cookies perform essential functions for our website. Cookies also help us
get an overview of your visit to our website so we can continuously optimize and
tailor the experience to your needs and interests. For example, cookies remember
things like the items added to the shopping cart; whether you have visited our
website before; if you are logged in; and the specific language and currency you
prefer to see on the website. We also use cookies to target our ads specifically
to you on other websites. In general, we use cookies as part of our service to
present you with content that is as relevant to you as possible.

You can see the specific services that store cookies and why they do it, under
the different categories:

 1. Functional
 2. Statistical
 3. Marketing


HOW LONG ARE COOKIES STORED?

The length of time a cookie is stored on your devices and browsers varies. The
lifetime is calculated according to your last visit to the website. When a
cookie expires, it is automatically deleted. All our cookies’ lifetimes are
specified in our cookie policy.


HOW TO BLOCK OR DELETE COOKIES

You may at any time block all or just third-party cookies completely by changing
the browser settings on your computer, tablet or smartphone. The location of
these settings will depend on the browser you use. However, you should be aware
that if you block all or just third-party cookies, there may be functions and
services that you will be unable to use on the website (because these depend on
cookies).
You can opt-out of cookies from Google Analytics here.


HOW CAN YOU DELETE COOKIES?

It is easy to delete cookies that you have previously accepted. It depends on
which browser (Chrome, Firefox, Safari, etc.) and device (smartphone, tablet,
PC, Mac) you are using.
You can typically find this information under settings – Security and Privacy –
but this may vary from one browser to another. Specify which device/browser you
are using (click the appropriate link):

 * Internet Explorer
 * Microsoft Edge
 * Mozilla Firefox
 * Google Chrome
 * Opera
 * Safari
 * Flash cookies
 * Apple
 * Android
 * Chrome, Android


CHANGING YOUR CONSENT

You can change your consent by either deleting cookies from your browser or by
changing your original choice by clicking the link below:

You can change your consent by clicking here

Remember: If you use more than one browser, you must delete cookies in all of
them.


DO YOU HAVE ANY QUESTIONS?

If you have any comments or questions relating to our information and/or
processing of personal data, please feel welcome to contact us. The cookie
policy itself is updated once a month by Cookie Information. If you have any
questions about our cookie policy, you are welcome to contact Cookie Information
on their website.

Settings Accept all
powered by: Cookie Information
Functional Statistical Marketing
 * Services
 * Developers
 * Pricing
 * News

 * STANDARD & PREMIUM SMS
   
   
   
   Only first-rate SMS messages. Choose between Standard SMS or Premium SMS with
   encryption.

 * VIRTUAL NUMBERS
   
   
   
   Acquire virtual numbers to enable payment, donations or signup for
   competitions via SMS.

 * LOOKUP
   
   
   
   Use our Number Lookup service to test availability before SMS broadcasts.

 * EMAIL TO/FROM SMS
   
   
   
   Receive SMS messages in your email inbox and send emails that convert to SMS
   messages.

 * PRICING
   
   
   
   Read more about our price structure, possible country restrictions and add-on
   services.

 * COUNTRY RESTRICTIONS
   
   
   
   See possible restrictions for over 200 countries

 * NEWS
   
   
   
   Latest news, tips & tricks, customer cases and in-depth technical posts.

 * EU SETUP
   
   
   
   Learn more about the EU setup where hosting and ownership are entirely within
   the EU.

 * SMS APIS
   
   
   
   Use GatewayAPI's powerful SMS APIs to send messages globally.

 * SMS MARKETING
   
   
   
   Explore the opportunities and results SMS can bring to your marketing mix.

 * SMS SERVICE
   
   
   
   Set up an SMS service and get an effective communication channel with high
   impact.

 * SECURITY & COMPLIANCE
   
   
   
   Learn more about our leading security & compliance features. Your data are
   safe with us.

 * POPULAR INTEGRATIONS
   
   
   
   

 * WORDPRESS
   
   
   
   Use our WordPress SMS plugin to send SMS messages to your customers easily.

 * MAKE
   
   
   
   Use Make to set up advanced integrations and automations between thousands of
   services.

 * ZAPIER
   
   
   
   No-code platform for setting up integrations and automations between your
   favorite tools.

 * See all integrations

 * DOCUMENTATION
   
   
   
   View our API-options and learn how to connect with GatewayAPI.

 * HELP CENTER
   
   
   
   Learn how to quickly get started using your GatewayAPI account.

 * STATUS PAGE
   
   
   
   Watch the status of our APIs as well as secondary services.

 * SUPPORT
   
   
   
   Browse our FAQ or get in contact with our support team.

 * THE TEAM
   
   
   
   Meet the team behind GatewayAPI and find contact info.

 * CODE EXAMPLES
   
   
   
   Connect to GatewayAPI with your preferred coding language.

 * QUICKSTART VIDEOS
   
   
   
   

 * How to send SMS messages with PHP.

 * How to send SMS messages using WordPress.

 * Status
 * 
 * Help Center
 * 
 * The team

 * SELECT LANGUAGE
   
    * English
    * German
    * Danish
    * Italian
    * Swedish

 * Log in
 * Sign up
   with OC
   



 * SELECT LANGUAGE
   
    * English
    * German
    * Danish
    * Italian
    * Swedish

Status

Sign upLog in
 * The team
 * 
 * Contact us


GLOBAL COMMUNICATION PLATFORM - SUPERCHARGED WITH A POWERFUL SMS GATEWAY

GatewayAPI accelerates development by removing the learning curve and guesswork,
so you can get down to building right away with our APIs.

Sign up Talk to an expert




STRONG ENTERPRISE PARTNER FOR GLOBAL MESSAGING

Our high scalability and level of compliance ensures that we are with you all
the way, no matter the amount of messages you send or countries you operate in.
Sign up



WHAT DO YOU WANT TO BUILD?

Our global Communication Platform as a Service (CPaaS) offers an extensive list
of well-documented APIs that you can use to build, scale and refine your own
services with.
Learn more



THOUSANDS OF INTEGRATION OPTIONS

Integrate with your favorite tools. Our sophisticated integration options allow
you to implement GatewayAPI’s services, including our powerful SMS gateway, in
the tools you like to use, so you can have your first proof of concept up and
running in no time.
See all integrations

Play video

3 min. video


BREAK THROUGH THE CLUTTER

Getting the attention of your audience doesn’t have to be complicated. Find out
how our services can help you break through the clutter and engage with your
audience fast and efficiently. We are an award-winning platform with thousands
of satisfied customers globally.


CELEBRATING 25 YEARS OF ONLINECITY.IO: IMPORTANT LESSONS IN DIGITAL INNOVATION

ONLINECITY.IO, GatewayAPI’s parent company, was founded 25 years ago. Read more
about its history as well as the guiding principles that have shaped the company
since its inception.

Read more
There are one or several restrictions on SMS traffic in this country
Pricing


VIEW SMS PRICES FOR OVER 200 COUNTRIES

GermanyDenmarkFranceUnited States
 * ×Germany
 * ×Denmark
 * ×France
 * ×United States
 * 

DKK EUR
Back to overview

Country Outbound Standard  High reliability and the lowest price possible from
top-end providers (learn more about Standard) Outbound Premium  All the benefits
of the Standard Class but with encrypted connections and the shortest possible
route to network operators (learn more about Premium)

Germany (+49) +49
As low as Helt ned til So niedrig wie Ända ner till Fino a
0.4451 DKK
As low as Helt ned til So niedrig wie Ända ner till Fino a
0.0597 EUR
Best in class Topkvalitet Klassenbester Toppkvalitet Qualità superiore
0.5103 DKK
Best in class Topkvalitet Klassenbester Toppkvalitet Qualità superiore
0.0684 EUR

Denmark (+45) +45
As low as Helt ned til So niedrig wie Ända ner till Fino a
0.219 DKK
As low as Helt ned til So niedrig wie Ända ner till Fino a
0.0294 EUR
Best in class Topkvalitet Klassenbester Toppkvalitet Qualità superiore
0.299 DKK
Best in class Topkvalitet Klassenbester Toppkvalitet Qualità superiore
0.0401 EUR

France (+33) +33
As low as Helt ned til So niedrig wie Ända ner till Fino a
0.2468 DKK
As low as Helt ned til So niedrig wie Ända ner till Fino a
0.0331 EUR
Best in class Topkvalitet Klassenbester Toppkvalitet Qualità superiore
0.33 DKK
Best in class Topkvalitet Klassenbester Toppkvalitet Qualità superiore
0.0442 EUR

United States (+1) +1
As low as Helt ned til So niedrig wie Ända ner till Fino a
0.05 DKK
As low as Helt ned til So niedrig wie Ända ner till Fino a
0.0067 EUR
Best in class Topkvalitet Klassenbester Toppkvalitet Qualità superiore
0.22 DKK
Best in class Topkvalitet Klassenbester Toppkvalitet Qualità superiore
0.0295 EUR


OUTGOING SMS, STANDARD



Fast & reliable delivery of your messages




Download all SMS prices
Pick preffered format Microsoft Excel (.XLSX) Comma Separated File (.CSV)

Sign up

More about our SMS prices

Rock-solid APIs


ALL THE SERVICES AND BENEFITS YOU NEED


INTUITIVE



Set up your GatewayAPI account and start sending messages right away. Get access
to intuitive and easy to use dashboards and services. In case you need help, our
support team is only one click away.




ROCK-SOLID UPTIME



Feel confident that you can always reach your recipients with our providers
around the world. Get access to a distinct level of dependability and technical
redundancy that guarantees rapid delivery of messages in real-time. Our
historical uptime of over 99.99% speaks for itself.




COMPLETE GDPR COMPLIANCE



With GatewayAPI as your messaging partner, you’ll have a 100% GDPR-compliant
service, including European data storage and ISAE 3000 certification (comparable
to a SOC-2 report). Furthermore, we offer a unique EU setup, trusted by
reputable organizations such as the Danish Ministry of Justice.




WE OFFER CRYSTAL-CLEAR TRANSPARENCY



You can keep track of the uptime of our SMS gateway live and historically here.
Our rates for 200+ countries as well as our ISAE 3000 GDPR report are freely
accessible. Additionally, you can accurately follow up on the delivery to each
recipient in the dashboard.




PICK FREELY FROM THE TOOLBOX



Reach new heights with our many add-on services. Supplement with our Email API
or Number Lookup API or with virtual numbers and keywords. Setting up automation
is a breeze with the many available integration options.




UNWAVERING SERVICE AND COMMITMENT



Our Support Team is ready to help you. Our average response time is less than 20
seconds within working hours and our satisfaction rate is a solid 98%.
Additionally, there are no minimum spending requirements for receiving support.



Parlez-vous C#?


CONNECT TO GATEWAYAPI WITH YOUR PREFERRED CODING LANGUAGE



c#
curl
go
httpie
java
node.js
php
python
ruby


using System.Net.Http.Json;
using System.Net.Http.Headers;

using HttpClient client = new HttpClient();

client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue(
    "Token",
    "GoGenerateAnApiToken"
);

var messages = new {
    sender = "ExampleSMS",
    message = "Hello World!",
    recipients = new[] { new { msisdn = 45_1234_5678 }},
};

using var resp = await client.PostAsync(
    "https://gatewayapi.com/rest/mtsms",
    JsonContent.Create(messages)
);

// On 2xx, print the SMS IDs received back from the API
// otherwise print the response content to see the error:
if (resp.IsSuccessStatusCode && resp.Content != null) {
    Console.WriteLine("success!");
    var content = await resp.Content.ReadFromJsonAsync<Dictionary<string, dynamic>>();
    foreach (var smsId in content["ids"].EnumerateArray()) {
        Console.WriteLine("allocated SMS id: {0:G}", smsId);
    }
} else if (resp.Content != null) {
    Console.WriteLine("failed :(\nresponse content:");
    var content = await resp.Content.ReadAsStringAsync();
    Console.WriteLine(content);
}

12345678910111213141516171819202122232425262728293031323334

curl -v "https://gatewayapi.com/rest/mtsms" \
  -u "GoGenerateAnApiToken": \
  -d sender="ExampleSMS" \
  -d message="Hello World" \
  -d recipients.0.msisdn=4512345678

12345

package main

import (
  "bytes"
  "encoding/json"
  "io/ioutil"
  "log"

  "github.com/mrjones/oauth"
)

func main() {
  // Authentication
  key := "Create-an-API-Key"
  secret := "GoGenerateAnApiKeyAndSecret"
  consumer := oauth.NewConsumer(key, secret, oauth.ServiceProvider{})
  client, err := consumer.MakeHttpClient(&oauth.AccessToken{})
  if err != nil {
    log.Fatal(err)
  }

  // Request
  type GatewayAPIRecipient struct {
    Msisdn uint64 `json:"msisdn"`
  }
  type GatewayAPIRequest struct {
    Sender     string                `json:"sender"`
    Message    string                `json:"message"`
    Recipients []GatewayAPIRecipient `json:"recipients"`
  }
  request := &GatewayAPIRequest{
    Sender:  "ExampleSMS",
    Message: "Hello World",
    Recipients: []GatewayAPIRecipient{
      {
        Msisdn: 4512345678,
      },
    },
  }

  // Send it
  var buf bytes.Buffer
  if err := json.NewEncoder(&buf).Encode(request); err != nil {
    log.Fatal(err)
  }
  res, err := client.Post(
    "https://gatewayapi.com/rest/mtsms",
    "application/json",
    &buf,
  )
  if err != nil {
    log.Fatal(err)
  }
  if res.StatusCode != 200 {
    body, _ := ioutil.ReadAll(res.Body)
    log.Fatalf("http error reply, status: %q, body: %q", res.Status, body)
  }

  // Parse the response
  type GatewayAPIResponse struct {
    Ids []uint64
  }
  response := &GatewayAPIResponse{}
  if err := json.NewDecoder(res.Body).Decode(response); err != nil {
    log.Fatal(err)
  }
  log.Println("ids", response.Ids)
}

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768

package main

import (
  "net/http"
  "net/url"
)

func main() {
  http.PostForm(
    "https://gatewayapi.com/rest/mtsms",
    url.Values{
      "token":   {"GoGenerateAnApiToken"},
      "sender":  {"ExampleSMS"},
      "message": {"Hello World"},
      "recipients.0.msisdn": {"4512345678"},
    },
  )
}

123456789101112131415161718

# install httpie oauth lib, with pip install httpie-oauth
http --auth-type=oauth1\
 --auth="Create-an-API-Key:GoGenerateAnApiKeyAndSecret"\
 "https://gatewayapi.com/rest/mtsms"\
 sender='ExampleSMS'\
 message='Hello world'\
 recipients:='[{"msisdn": 4512345678}]'

1234567

http --auth=GoGenerateAnApiToken: \
 https://gatewayapi.com/rest/mtsms\
 sender='ExampleSMS'\
 message='Hello world'\
 recipients:='[{"msisdn": 4512345678}]'

12345

// Install deps with gradle
//   compile 'com.squareup.okhttp3:okhttp:3.4.1'
//   compile 'se.akerfeldt:okhttp-signpost:1.1.0'
//   compile 'org.json:json:20160810'
final String key = "Create-an-API-Key";
final String secret = "GoGenerateAnApiKeyAndSecret";

OkHttpOAuthConsumer consumer = new OkHttpOAuthConsumer(key, secret);
OkHttpClient client = new OkHttpClient.Builder()
        .addInterceptor(new SigningInterceptor(consumer))
        .build();
JSONObject json = new JSONObject();
json.put("sender", "ExampleSMS");
json.put("message", "Hello World");
json.put("recipients", (new JSONArray()).put(
        (new JSONObject()).put("msisdn", 4512345678L)
));

RequestBody body = RequestBody.create(
        MediaType.parse("application/json; charset=utf-8"), json.toString());
Request signedRequest = (Request) consumer.sign(
        new Request.Builder()
                .url("https://gatewayapi.com/rest/mtsms")
                .post(body)
                .build()).unwrap();

try (Response response = client.newCall(signedRequest).execute()) {
    System.out.println(response.body().string());
}

1234567891011121314151617181920212223242526272829

import java.io.DataOutputStream;
import java.net.URL;
import java.net.URLEncoder;
import javax.net.ssl.HttpsURLConnection;

public class HelloWorld {
  public static void main(String[] args) throws Exception {
    URL url = new URL("https://gatewayapi.com/rest/mtsms");
    HttpsURLConnection con = (HttpsURLConnection) url.openConnection();
    con.setDoOutput(true);

    DataOutputStream wr = new DataOutputStream(con.getOutputStream());
    wr.writeBytes(
      "token=GoGenerateAnApiToken"
      + "&sender=" + URLEncoder.encode("ExampleSMS", "UTF-8")
      + "&message=" + URLEncoder.encode("Hello World", "UTF-8")
      + "&recipients.0.msisdn=4512345678"
    );
    wr.close();

    int responseCode = con.getResponseCode();
    System.out.println("Got response " + responseCode);
  }
}

123456789101112131415161718192021222324

const fetch = require("node-fetch"); // npm install node-fetch
const util = require("util");

async function sendSMS() {
  const payload = {
    sender: "ExampleSMS",
    message: "Hello World",
    recipients: [
      { msisdn: 4512345678 },
    ],
  };

  const apiToken = "GoGenerateAnApiToken";
  const encodedAuth = Buffer.from(`${apiToken}:`).toString("base64");

  const resp = await fetch("https://gatewayapi.com/rest/mtsms", {
    method: "post",
    body: JSON.stringify(payload),
    headers: {
      Authorization: `Basic ${encodedAuth}`,
      "Content-Type": "application/json",
    },
  });
  const json = await resp.json()
  console.log(util.inspect(json, {showHidden: false, depth: null}));
  if (resp.ok) {
    console.log("congrats! messages are on their way!");
  } else {
    console.log("oh-no! something went wrong...");
  }
}

sendSMS();

123456789101112131415161718192021222324252627282930313233

<?php
//Send an SMS using Gatewayapi.com
$url = "https://gatewayapi.com/rest/mtsms";
$api_token = "GoGenerateAnApiToken";

//Set SMS recipients and content
$recipients = [4512345678, 4587654321];
$json = [
    'sender' => 'ExampleSMS',
    'message' => 'Hello world',
    'recipients' => [],
];
foreach ($recipients as $msisdn) {
    $json['recipients'][] = ['msisdn' => $msisdn];
}

//Make and execute the http request
//Using the built-in 'curl' library
$ch = curl_init();
curl_setopt($ch,CURLOPT_URL, $url);
curl_setopt($ch,CURLOPT_HTTPHEADER, array("Content-Type: application/json"));
curl_setopt($ch,CURLOPT_USERPWD, $api_token.":");
curl_setopt($ch,CURLOPT_POSTFIELDS, json_encode($json));
curl_setopt($ch,CURLOPT_RETURNTRANSFER, true);
$result = curl_exec($ch);
curl_close($ch);
print($result);
$json = json_decode($result);
print_r($json->ids);

1234567891011121314151617181920212223242526272829

# Install deps with: pip install requests
import requests

def send_sms(sender: str, msg_content: str, recipients: list[int]):
    token="GoGenerateAnApiToken"

    payload = {
        "sender": sender,
        "message": msg_content,
        "recipients": [
            {"msisdn": recipient_number}
            for recipient_number in recipients
        ],
    }

    resp = requests.post(
        "https://gatewayapi.com/rest/mtsms",
        json=payload,
        auth=(token, ""),
    )
    resp.raise_for_status()
    print(resp.json())

send_sms("ExampleSMS", "Hello World", [45_1234_5678])

123456789101112131415161718192021222324

# encoding: utf-8

# Install deps with: gem install oauth
require 'oauth'
require 'json'

consumer = OAuth::Consumer.new(
  'Create-an-API-Key',
  'GoGenerateAnApiKeyAndSecret',
  :site => 'https://gatewayapi.com/rest',
  :scheme => :header
)
access = OAuth::AccessToken.new consumer
body = JSON.generate({
  'recipients' => [{'msisdn' => 4512345678}],
  'message' => 'Hello World',
  'sender' => 'ExampleSMS',
})
response = access.post('/mtsms', body, {'Content-Type'=>'application/json'})
puts response.body

1234567891011121314151617181920



WORDPRESS

Free plugin for sending SMS messages and setting up 2-factor login.

Read more Set up plugin

ZAPIER

Integrate with over 5,000 apps via Zapier and get started automating SMS
workflows.

Read more Go to Zapier

SMPP

Hook up to GatewayAPI with a direct SMPP-connection and send huge volumes of
text messages seamlessly.

Read more Contact us

MAKE

Setting up SMS automation is a breeze with Make.

Read more Go to Make

Integrate easily with GatewayAPI

Integrate with our APIs in your preferred programming language. Or use Zapier,
Flowize or Make to connect with GatewayAPI: Just find the app, service or
platform you want to integrate with and get started right away!

Whichever method you choose, it’s fast and easy to set up.

See all integrations

Brevo
Magento
Brevo
PrestaShop
Brevo
IFTTT
Woocommerce
CodeCanyon
Excel
Slack
Cicero
Office 365
Facebook Messenger
Cicero
Brevo
Wordpress
PrestaShop
Facebook Messenger
CodeCanyon
Facebook Messenger
Salesforce
SugarCRM
Google Mail
Office 365
Apple Push
SugarCRM
Wordpress
Cicero
Facebook Messenger
Apple Push
CodeCanyon
Brevo
IFTTT
Shopify
Magento
Slack
Magento
Wordpress
Office 365
Salesforce

Loads of integration options


Function overview


TAILOR GATEWAYAPI TO YOUR NEEDS

SEND / RECEIVE SMS MESSAGES

ACQUIRE VIRTUAL NUMBERS, SHORT CODES AND KEYWORDS

SEND ENCRYPTED SMS TRAFFIC

SEND SMS-TO-EMAIL / EMAIL-TO-SMS

PERFORM HLR NUMBER LOOKUP AND VERIFICATION

SET UP SMS AUTOMATION

CREATE SMS CUSTOMER CLUBS

See all of our APIs
 1. 
 2. 
 3. 
 4. 
 5. 
 6. 


“WE CAN NOW OFFER A MORE AVAILABLE CUSTOMER SERVICE”

With the integration of GatewayAPI into our own CRM-system we can offer a much
more available customer service. Our internal processes are more effective as
well. We now send fewer messages per customer without having altered the amount
of information we share. We simply send fewer reminders, since the customers
instantly read and react to the text messages.

Frederik Friche, Lawyer at NEMADVOKAT


“THE ENCRYPTED FLOWS IN PREMIUM SUITED OUR NEEDS PERFECTLY”

It was important for us that the SMS gateway we chose was secure since our
messages contain sensitive information. The encrypted flows in GatewayAPI
Premium suited our needs perfectly for this. There is something really powerful
about SMS messages. Most people read SMS messages instantly, and are more likely
to act after reading an SMS than after reading an email.

Martin Riedel, CEO and founder of Realkreditkonsulenterne


“EVERYTHING JUST FELL INTO PLACE”

I have rarely been part of a project with so many organisations and such a short
deadline where everything just fell into place. Huge praise to the team behind
GatewayAPI for having solved the tasks so professionally.

Steen Bechmann Henningsen, IT Manager at Roskilde Festival


“UNITED IN OUR FOCUS ON RELIABILITY AND SUPPORT AVAILABILITY”

It was clear that GatewayAPI and I were united in our focus on stability,
reliability and support availability. We had a very open and informal dialogue,
and there was always time to discuss details or ask for special requests. This
made the whole implementation run very smoothly. The great collaboration has
continued after the initial implementation.

Flemming Bøgely, CEO and founder of Blue Idea


“PROACTIVE AND EXTREMELY COMPETITIVE PRICES”

We have chosen to cooperate with GatewayAPI for several reasons. First of all,
their interfaces are user-friendly, their documentation and approach to the SMS
API seem logical and easy to implement. Furthermore, they have been proactive in
terms of new solutions, and last but not least their prices are extremely
competitive.

Rikke Hansen, Consultant at Danish Red Cross


“API IS WELL DESCRIBED AND EASY TO INTEGRATE WITH”

We chose GatewayAPI rather than competing solutions because the SMS API is well
documented and thus easy to integrate with. Additionally, GatewayAPI was able to
deliver an SMS solution that covered all the necessary countries. When Minuba
contacted GatewayAPI the first time, we experienced a personal service with
positive help, which made our choice easy.

Zaza Michelsen, Communications Manager at Minuba

Previous Next

--------------------------------------------------------------------------------

Let's stay connected
 * 
 * 
 * 

Information
 * Cookie policy
 * Security & Compliance
 * News

Menu
 * Products
 * Support
 * Developers
 * Company
 * Pricing
 * Privacy

All rights reserved. Copyright © ONLINECITY.IO - GatewayAPI is an ONLINECITY.IO
brand