Skip to content

RingRing provides simple and fast API for sending and receiving text messages (SMS), calls and emails all over the world. We take care of the telecom infrastructure and bring additional services such as Cloud Call Center solutions, Transactional emails, SIP trunking, ..

Notifications You must be signed in to change notification settings

RingRing-cloud/MessageApiClient-CSharp

Repository files navigation

MessageApi

RingRing provides simple and fast API for sending and receiving text messages (SMS), calls and emails all over the world. We take care of the telecom infrastructure and bring additional services such as Cloud Call Center solutions, Transactional emails, SIP trunking, ..

How to Use

  • Contact us at [email protected], we will create an account for you.
  • Once you have access to your account, you will be able to access to interface at https://portal.ringring.be. Here you will see all account information you need to send real messages through the API.
  • Lastly, download the code source from Github.

Example

class Program
{
    static void Main(string[] args)
    {
        MessageRequest r = new MessageRequest();
        r.ApiKey = "YOUR_ACCESS_KEY";
        r.To = "PHONE_NUMBER"; //Must in format E164 (32496XXYYZZ)
        r.Message = "Hello World !";
        r.MessageEncoding = SmsEncodings.Unicode; //this will bypass the default encoding set on the portal

        MessageApi m = new MessageApi();
        MessageResponse resp = m.SendMessage(r);

        Console.WriteLine(resp.ResultDescription);

        Console.ReadLine();
    }
}

Version

Example in .Net Framework 4.5, earlier version's are no longer supported as they do not support TLS 1.1 and TLS 1.2

Installation

This SDK has a dependencie to NewtonSoft Json (last version), be sure to reference this depedencie or add this one with NuGet Packet Manager

Documentation

http://docs.ringring.be

About

RingRing provides simple and fast API for sending and receiving text messages (SMS), calls and emails all over the world. We take care of the telecom infrastructure and bring additional services such as Cloud Call Center solutions, Transactional emails, SIP trunking, ..

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages