🏳️Rock-Solid and Award-Winning SMS Gateway | GatewayAPI

Website favicongatewayapi.com

Access our top-tier SMS gateway services at an affordable price globally. No subscriptions and full compliance. Create a free account >>

You control your data

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

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

1.  Statistical

2.  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](javascript:TogglePage\(this, 'coiPage-3'\);) [Google privacy policy](https://business.safety.google/privacy/)

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:

Cookie Information

Purpose:

Supports the website's technical functions.

Privacy policy:

[Cookie Information - Privacy policy(opens in a new tab)](https://cookieinformation.com/cookie-and-privacy-policy/ "Privacy policy")

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)](https://piwik.pro/privacy-policy "Privacy policy")

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)](https://piwik.pro/privacy-policy "Privacy policy")

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)](https://piwik.pro/privacy-policy "Privacy policy")

Expiry:

30 minutes

Name:

\_pk\_sesxxx

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)](https://piwik.pro/privacy-policy "Privacy policy")

Expiry:

30 minutes

Name:

\_pk\_sesxxx

Vendor:

gatewayapi.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)](https://policies.google.com/technologies/partner-sites?hl=en "Privacy policy")

Expiry:

a few seconds

Name:

\_gat\_UA-xxx-xxx

Vendor:

.gatewayapi.com

Service:

Google Analytics

Purpose:

Privacy policy:

[Google Analytics - Privacy policy(opens in a new tab)](https://policies.google.com/technologies/partner-sites?hl=en "Privacy policy")

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)](https://policies.google.com/technologies/partner-sites?hl=en "Privacy policy")

Expiry:

a year

Name:

FPID

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)](https://policies.google.com/technologies/partner-sites?hl=en "Privacy policy")

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)](https://policies.google.com/technologies/partner-sites?hl=en "Privacy policy")

Expiry:

20 hours

Name:

FPLC

Vendor:

.gatewayapi.com

Service:

Google Analytics

Purpose:

Privacy policy:

[Google Analytics - Privacy policy(opens in a new tab)](https://policies.google.com/technologies/partner-sites?hl=en "Privacy policy")

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)](https://policies.google.com/technologies/partner-sites?hl=en "Privacy policy")

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:

Supports the integration of a third-party platform on the website.

Privacy policy:

[Youtube, Google - Privacy policy(opens in a new tab)](https://policies.google.com/technologies/partner-sites?hl=en "Privacy policy")

Expiry:

6 months

Name:

\_\_Secure-ROLLOUT\_TOKEN

Vendor:

.youtube.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)](https://policies.google.com/technologies/partner-sites?hl=en "Privacy policy")

Expiry:

6 months

Name:

VISITOR\_INFO1\_LIVE

Vendor:

.youtube.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)](https://policies.google.com/technologies/partner-sites?hl=en "Privacy policy")

Expiry:

Session

Name:

YSC

Vendor:

.youtube.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)](https://policies.google.com/technologies/partner-sites?hl=en "Privacy policy")

Expiry:

6 months

Name:

VISITOR\_PRIVACY\_METADATA

Vendor:

.youtube.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)](https://www.freewheel.com/privacy-policy "Privacy policy")

Expiry:

Session

Name:

uid-xxx

Vendor:

.gatewayapi.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)](https://www.facebook.com/privacy/explanation "Privacy policy")

Expiry:

3 months

Name:

\_fbp

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)](https://www.linkedin.com/legal/privacy-policy "Privacy policy")

Expiry:

6 months

Name:

li\_gc

Vendor:

.linkedin.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)](https://policies.google.com/technologies/partner-sites?hl=en "Privacy policy")

Expiry:

3 months

Name:

\_gcl\_au

Vendor:

.gatewayapi.com

Service:

Google Ads

Purpose:

Collects information about the users and their activity on the website for analytics and reporting purposes.

Privacy policy:

[Google Ads - Privacy policy(opens in a new tab)](https://policies.google.com/technologies/partner-sites?hl=en "Privacy policy")

Expiry:

3 months

Name:

FPAU

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)](https://www.linkedin.com/legal/privacy-policy "Privacy policy")

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)](https://www.linkedin.com/legal/privacy-policy "Privacy policy")

Expiry:

a year

Name:

bcookie

Vendor:

.linkedin.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\_rt--5c69c12f-2814-466f-6e24-83e8cbd910b7

Vendor:

.gatewayapi.com

Service:

Purpose:

Expiry:

Session

Name:

chatlio\_at--5c69c12f-2814-466f-6e24-83e8cbd910b7

Vendor:

.gatewayapi.com

Decline all Save settings Accept all

 Necessary

 Statistical

 Marketing

powered by: [Cookie Information](https://cookieinformation.com/)

Cookie policy

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

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

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.  Statistical

2.  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](https://tools.google.com/dlpage/gaoptout).

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](https://support.microsoft.com/en-us/help/17442/windows-internet-explorer-delete-manage-cookies#ie=ie-11)

*   [Microsoft Edge](https://support.microsoft.com/en-us/help/4027947/microsoft-edge-delete-cookies)

*   [Mozilla Firefox](https://support.mozilla.org/en-US/kb/delete-cookies-remove-info-websites-stored)

*   [Google Chrome](https://support.google.com/chrome/answer/95647?hl=en)

*   [Opera](https://help.opera.com/en/latest/web-preferences/#cookies)

*   [Safari](https://support.apple.com/en-us/HT201265)

*   [Flash cookies](https://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager07.html)

*   [Apple](https://support.apple.com/en-us/HT1677)

*   [Android](https://timeread.hubpages.com/hub/How-to-delete-internet-cookies-on-your-Droid-or-any-Android-device)

*   [Chrome, Android](https://support.google.com/chrome/answer/95647?co=GENIE.Platform%3DAndroid&hl=en)

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](javascript:TogglePage\(this, 'coiPage-1'\))

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](https://cookieinformation.com/). If you have any questions about our cookie policy, you are welcome to [contact Cookie Information on their website.](https://cookieinformation.com/)

Settings Accept all

powered by: [Cookie Information](https://cookieinformation.com/)

*   Statistical

*   Marketing

*   [](#)

    #### Select language

    *   [English](https://gatewayapi.com/)

    *   [German](https://gatewayapi.com/de/)

    *   [Danish](https://gatewayapi.com/da/)

    *   [Italian](https://gatewayapi.com/it/)

    *   [Swedish](https://gatewayapi.com/se/)

[Status](https://status.gatewayapi.com/)

[Sign up](https://onlinecity-id.io/gatewayapi/signup/?locale=en "Sign up")[Log in](https://onlinecity-id.io/gatewayapi/?locale=en "Log in")

*   [The team](https://gatewayapi.com/the-team/)

*   [Contact us](#mobile-menu-openchat)

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](https://onlinecity-id.io/gatewayapi/signup/?locale=en) [Talk to an expert](#openchat)

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](https://onlinecity-id.io/gatewayapi/signup/?locale=en)

EU setup

========

We offer an EU setup where hosting and ownership are held within the EU, which is a popular solution for those who have special requirements concerning their data.

[Learn more](https://gatewayapi.com/eu-setup/)

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](https://gatewayapi.com/integrations/)

[](https://gatewayapi.com/integrations/excel-sms-integration/)[](https://gatewayapi.com/integrations/woocommerce-sms-integration/)

[](https://gatewayapi.com/integrations/shopify/)[](https://gatewayapi.com/integrations/wordpress-sms-plugin/)[](https://gatewayapi.com/integrations/create-effective-sms-campaigns-with-our-sister-platform-relationcity/)

[](https://gatewayapi.com/integrations/magento-sms-integration/)[](https://gatewayapi.com/integrations/zendesk-sms-integration/)

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.

How to Send Your First SMS With GatewayAPI and cURL

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

Read our guide on how to send SMS messages using GatewayAPI and the cURL coding language.

[Read more](https://gatewayapi.com/blog/how-to-send-your-first-sms-with-gatewayapi-and-curl/)

Pricing

View SMS prices for over 200 countries

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

EUR

Country

Standard

As low as

Denmark(+45)

0.0401EUR

0.0327EUR

Sweden(+46)

0.0376EUR

0.027EUR

Norway(+47)

0.0462EUR

0.0342EUR

Germany(+49)

0.0642EUR

0.0597EUR

Download all 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 fully GDPR-compliant service, including European data storage and ISAE 3000 certification (comparable to a SOC-2 report). Furthermore, we offer a unique [EU setup](https://gatewayapi.com/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 APIs live and historically [here](https://status.gatewayapi.com/). 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](https://gatewayapi.com/#openchat) is ready to help you. Our average response time is less than 20 seconds within [working hours](https://gatewayapi.com/support/) 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

    async function sendSMS() {

      const token = "GoGenerateAnApiToken";

      const payload = {

        sender: "ExampleSMS",

        message: "Hello World",

        recipients: [

          { msisdn: 45_1234_5678 },

        ],

      };

      const resp = await fetch(

        "https://gatewayapi.com/rest/mtsms",

        {

          method: "POST",

          body: JSON.stringify(payload),

          headers: {

            "Content-Type": "application/json",

            "Authorization": `Token ${token}`,

          },

        },

      );

      console.log(await resp.json());

    }

    sendSMS();

1234567891011121314151617181920212223242526

    <?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

    require 'uri'

    require 'net/http'

    require 'json'

    body = {

      'recipients': [{'msisdn': 45_1234_5678}],

      'message': 'Hello World',

      'sender': 'ExampleSMS',

    }

    token = 'GoGenerateAnApiToken'

    resp = Net::HTTP.post(

      URI.parse('https://gatewayapi.com/rest/mtsms'),

      JSON.generate(body),

      {

        'Content-Type': 'application/json',

        'Authorization': "Token #{token}",

      },

    )

    puts resp.body

12345678910111213141516171819202122

#### WordPress

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

[Read more](https://gatewayapi.com/integrations/wordpress-sms-plugin/) [Set up plugin](https://wordpress.org/plugins/gatewayapi/)

#### Zapier

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

[Read more](https://gatewayapi.com/integrations/zapier/) [Go to Zapier](https://zapier.com/apps/gatewayapi/integrations)

#### SMPP

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

[Read more](https://gatewayapi.com/blog/get-started-with-smpp-short-message-peer-to-peer/) [Contact us](#openchat)

#### Make

Setting up SMS automation is a breeze with Make.

[Read more](https://gatewayapi.com/integrations/make/) [Go to Make](https://make.com/en/integrations/gatewayapi)

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

](https://gatewayapi.com/integrations/ "See all integrations")

[

Cicero

](https://gatewayapi.com/blog/using-gatewayapi-with-cicero/ "Cicero")

[

Office 365

](https://make.com/en/integration/3134-send-an-sms-message-to-each-new-row-in-an-office365-excel-spreadsheet/?pc=gatewayapi "Office 365")

[

CodeCanyon

](https://codecanyon.net/item/woocommerce-gatewayapi-sms-notifications/19583214 "CodeCanyon")

[

Dixa

](https://support.dixa.help/en/articles/225-send-sms-with-gatewayapi "Dixa")

[

Shopify

](https://gatewayapi.com/integrations/shopify/ "Shopify")

[

CodeCanyon

](https://codecanyon.net/item/woocommerce-gatewayapi-sms-notifications/19583214 "CodeCanyon")

[

Salesforce

](https://gatewayapi.com/integrations/salesforce-sms-integration/ "Salesforce")

[

Office 365

](https://make.com/en/integration/3134-send-an-sms-message-to-each-new-row-in-an-office365-excel-spreadsheet/?pc=gatewayapi "Office 365")

[

Google Mail

](https://make.com/en/integrations/gatewayapi/google-email/?pc=gatewayapi "Google Mail")

[

Magento

](https://gatewayapi.com/integrations/magento-sms-integration/ "Magento")

[

Google Mail

](https://make.com/en/integrations/gatewayapi/google-email/?pc=gatewayapi "Google Mail")

[

Wordpress

](https://gatewayapi.com/integrations/wordpress-sms-plugin/ "Wordpress")

[

SugarCRM

](https://make.com/en/integrations/gatewayapi/sugarcrm7/?pc=gatewayapi "SugarCRM")

[

Salesforce

](https://gatewayapi.com/integrations/salesforce-sms-integration/ "Salesforce")

[

Excel

](https://gatewayapi.com/integrations/excel-sms-integration/ "Excel")

[

Shopify

](https://gatewayapi.com/integrations/shopify/ "Shopify")

[

IFTTT

](https://gatewayapi.com/integrations/ifttt/ "IFTTT")

[

Slack

](https://gatewayapi.com/integrations/slack-sms-integration/ "Slack")

[

CodeCanyon

](https://codecanyon.net/item/woocommerce-gatewayapi-sms-notifications/19583214 "CodeCanyon")

[

Office 365

](https://make.com/en/integration/3134-send-an-sms-message-to-each-new-row-in-an-office365-excel-spreadsheet/?pc=gatewayapi "Office 365")

[

IFTTT

](https://gatewayapi.com/integrations/ifttt/ "IFTTT")

[

Facebook Messenger

](https://make.com/en/integrations/gatewayapi/facebook-messenger "Facebook Messenger")

[

Office 365

](https://make.com/en/integration/3134-send-an-sms-message-to-each-new-row-in-an-office365-excel-spreadsheet/?pc=gatewayapi "Office 365")

[

Magento

](https://gatewayapi.com/integrations/magento-sms-integration/ "Magento")

[

Dixa

](https://support.dixa.help/en/articles/225-send-sms-with-gatewayapi "Dixa")

[

Shopify

](https://gatewayapi.com/integrations/shopify/ "Shopify")

[

Brevo

](https://make.com/en/integrations/gatewayapi/sendinblue/?pc=gatewayapi "Brevo")

[

SugarCRM

](https://make.com/en/integrations/gatewayapi/sugarcrm7/?pc=gatewayapi "SugarCRM")

[

Salesforce

](https://gatewayapi.com/integrations/salesforce-sms-integration/ "Salesforce")

[

Slack

](https://gatewayapi.com/integrations/slack-sms-integration/ "Slack")

[

Cicero

](https://gatewayapi.com/blog/using-gatewayapi-with-cicero/ "Cicero")

[

Brevo

](https://make.com/en/integrations/gatewayapi/sendinblue/?pc=gatewayapi "Brevo")

[

Zapier

](https://gatewayapi.com/integrations/zapier/ "Zapier")

[

CodeCanyon

](https://codecanyon.net/item/woocommerce-gatewayapi-sms-notifications/19583214 "CodeCanyon")

[

Woocommerce

](https://gatewayapi.com/integrations/woocommerce-sms-integration/ "Woocommerce")

[

Google Mail

](https://make.com/en/integrations/gatewayapi/google-email/?pc=gatewayapi "Google Mail")

[

SugarCRM

](https://make.com/en/integrations/gatewayapi/sugarcrm7/?pc=gatewayapi "SugarCRM")

[

Cicero

](https://gatewayapi.com/blog/using-gatewayapi-with-cicero/ "Cicero")

[

Google Mail

](https://make.com/en/integrations/gatewayapi/google-email/?pc=gatewayapi "Google Mail")

[

Woocommerce

](https://gatewayapi.com/integrations/woocommerce-sms-integration/ "Woocommerce")

Loads of integration options

[](https://gatewayapi.com/integrations/slack-sms-integration/ "Slack")

[](https://gatewayapi.com/integrations/ifttt/ "IFTTT")

[](https://gatewayapi.com/integrations/woocommerce-sms-integration/ "Woocommerce")

[](https://gatewayapi.com/integrations/shopify/ "Shopify")

[](https://gatewayapi.com/integrations/wordpress-sms-plugin/ "Wordpress")

[](https://gatewayapi.com/integrations/magento-sms-integration/ "Magento")

[](https://gatewayapi.com/integrations/excel-sms-integration/ "Excel")

[](https://gatewayapi.com/integrations/prestashop-sms-integration/ "PrestaShop")

[](https://gatewayapi.com/integrations/zapier/ "Zapier")

[](https://make.com/en/integrations/gatewayapi/sendinblue/?pc=gatewayapi "Brevo")

[](https://make.com/en/integrations/gatewayapi/sugarcrm7/?pc=gatewayapi "SugarCRM")

[](https://gatewayapi.com/integrations/salesforce-sms-integration/ "Salesforce")

[](https://make.com/en/integrations/gatewayapi/google-email/?pc=gatewayapi "Google Mail")

[](https://gatewayapi.com/integrations/google-sheets-sms-integration/ "Google Sheets")

[](https://make.com/en/integration/3134-send-an-sms-message-to-each-new-row-in-an-office365-excel-spreadsheet/?pc=gatewayapi "Office 365")

[](https://make.com/en/integrations/apn/gatewayapi/ "Apple Push")

[](https://gatewayapi.com/blog/using-gatewayapi-with-cicero/ "Cicero")

[](https://codecanyon.net/item/woocommerce-gatewayapi-sms-notifications/19583214 "CodeCanyon")

[](https://support.dixa.help/en/articles/225-send-sms-with-gatewayapi "Dixa")

[](https://make.com/en/integrations/gatewayapi/facebook-messenger "Facebook Messenger")

[](https://make.com/en/integrations/gatewayapi/google-calendar "Google Calender")

[](https://gatewayapi.com/integrations/make/ "Make")

[](https://make.com/en/integrations/gatewayapi/intercom "Intercom")

[](https://gatewayapi.com/blog/bringing-kannel-apis-into-the-21st-century/ "Kannel")

[](https://make.com/en/integration/5089-send-an-sms-notification-when-a-person-unsubscribes-from-a-mailchimp-campaign "Mailchimp")

[](https://minuba.dk/support/send-sms-beskeder-fra-minuba-via-gatewayapi/ "Minuba")

[](https://github.com/nickdnk/gatewayapi-php "GatewayAPI PHP Library")

[](https://make.com/en/integrations/gatewayapi/skype "Skype")

[](https://gatewayapi.com/blog/get-started-with-smpp-short-message-peer-to-peer/ "SMPP")

[](https://gatewayapi.com/blog/using-gatewayapi-with-cicero/ "Systematic")

[](https://gatewayapi.com/blog/two-way-messaging-with-wolframalpha/ "Wolfram Alpha")

[](https://gatewayapi.com/integrations/zendesk-sms-integration/ "Zendesk")

[](https://make.com/en/integrations/gatewayapi/zoom "Zoom")

[](https://gatewayapi.com/integrations/flowize/ "Flowize")

[](https://gatewayapi.com/integrations/pipedrive-sms-integration/ "Pipedrive")

Function overview

Tailor GatewayAPI to your needs

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

[

#### Send / receive SMS messages

](https://gatewayapi.com/docs/apis/rest#sending-sms-es)

[

#### Acquire virtual numbers, short codes and keywords

](https://gatewayapi.com/virtual-numbers/)

[

#### Send secure SMS traffic

](https://gatewayapi.com/standard-premium-sms/)

[

#### Send SMS-to-email / email-to-SMS

](https://gatewayapi.com/docs/apis/email-to-sms/)

[

#### Perform HLR number lookup and verification

](https://gatewayapi.com/docs/apis/rest#hlr-and-number-lookup)

[

#### Set up SMS automation

](https://gatewayapi.com/integrations/make/)

[

#### Create SMS customer clubs

](https://gatewayapi.com/integrations/wordpress-sms-plugin/)

[See all of our APIs](https://gatewayapi.com/docs/)

“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 secure 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 secure 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

“Robust and user-friendly platform”

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

At VAOW Mobility, reliable communication is key to ensuring smooth and secure scooter rentals, and GatewayAPI delivers exactly that. Their robust and user-friendly platform makes sending authentication codes via SMS effortless.

Jonas Behlic, CEO of VAOW Mobility

“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](#testimonialCarousel) [Next](#testimonialCarousel)

* * *

gatewayapi-support-chat-widget