HTTP API

This page will help you get started with GONG API. You’ll be up and running in a jiffy!

This documentation will provide instructions on how to quickly integrate Infobip messaging services into various solutions by using GONG HTTP API. GONG API is based on REST standards. In order to interact with our API, any HTTP client in any programming language can be used.

COMMUNICATION CHANNELS

Our extensive API collections enable two-way communication with your customers over multiple communication channels:

  • SMS
  • Voice
  • PUSH notifications
  • Email
  • Multiple chat applications like Viber, Facebook Messenger, LINE, and Telegram

SERVICES

Based on standard communication channels, we have developed set of services rich with features, to help with you business needs

POST   How To Get Started?

Easy. Two steps only, actually:

1. CREATE GONG ACCOUNT

In order to use our API, you will need credentials. These are not used only for API but also for other GONG services like GONG portal. If you already have a GONG account you can skip this step. Otherwise, follow this link:

Create new account

2. TEST YOUR ACCOUNT BY SENDING A TEXT MESSAGE TO YOURSELF

The best way to check if your account is operational is to test it, and the best way to test it is to send one simple SMS to your own phone. Use this simple API call to send your first message.

Our base URL for all API calls is https://api.gongmsgn.com

Endpoint for sending simple SMS is

POST https://api.gongmsgn.com/restapi/sms/1/text/single

Authorization Note
Just to get started quickly, this time use Base64 encoding to encode yourUsername:yourPassword in header authorization. Later, in the production environment, we strongly suggest using API key. You can learn more about our API security in detail here.

  • Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==
    
    {  
       "to":"2348056661831",
       "text":"My first text message!"
    }

This API call will deliver SMS to your phone within seconds. You can examine documentation for this API method in more details here.

What To Do Next?

Before you dig into the implementation of our API, we strongly encourage you to familiarize yourself with our API basics and best practices.

Got Stuck?

Not a problem, we are here for you! We have the best support team available around the clock, in 10 languages, so just drop an email at support@gongmsgn.com

Subscribe to receive GONG API updates

                                                                                                                                                               Next: Send SMS: Introduction