Coder Social home page Coder Social logo

smslink-ro / example-for-receiving-sms-delivery-report-using-php Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 13 KB

Example for receiving SMS delivery report using PHP from SMSLink API - SMS Gateway (HTTP, SOAP, JSON or BULK)

Home Page: https://www.smslink.ro

PHP 100.00%
sms-delivery sms-gateway sms-report smslink sms-delivery-report delivery-report

example-for-receiving-sms-delivery-report-using-php's Introduction

Example for receiving SMS delivery report using PHP & SMS Gateway (HTTP), SMS Gateway (SOAP), SMS Gateway (JSON) or SMS Gateway (BULK)

This is an example for receiving SMS delivery report using SMSLink.ro API, called SMS Gateway. This example applies to all SMS Gateway APIs, such as SMS Gateway (HTTP), SMS Gateway (SOAP), SMS Gateway (JSON) or SMS Gateway (BULK)

SMSLink.ro allows you to send SMS to all mobile networks in Romania and also to more than 168 countries and more than 1000 mobile operators worldwide.

Requirements & Usage

  1. Create an account on SMSLink.ro
  2. Create a SMS Gateway connection at SMSLink.ro / SMS Gateway / Configuration & Settings. Each SMS Gateway connection is a pair of Connection ID and Password.
  3. Choose your desired SMS Gateway API for sending SMS, such as SMS Gateway (HTTP), SMS Gateway (SOAP), SMS Gateway (JSON) or SMS Gateway (BULK).
  4. Configure a public URL endpoint where SMSLink.ro will send each delivery report in a HTTP(S) GET or HTTPS(S) POST request. Delivery Reports parameters are sent by default as HTTPS(S) GET parameters, but you may choose between HTTPS(S) GET and HTTPS(S) POST parameters, by changing the corresponding setting in your SMSLink account.

Basic Parameters for the Delivery Report

  • message_id the unique message ID provided by SMS Gateway when sending the SMS
  • status 1 for Delivered SMS or 0 for Undelivered/Expired SMS
  • timestamp the UNIX timestamp of the delivery report

Optional Parameters for the Delivery Report

  • network_id the ID of the network in which the SMS was delivered, see possible values for this parameter here
  • network_type the type of the network in which the SMS was delivered, see possible values for this parameter here
  • delivery_report the delivery report as received from the mobile network operator
  • connection_id the Connection ID which was used to send the SMS
  • message_count the count of SMS segments for the SMS (values can be 1 for a SMS up to 160 characters or a larger value for concatenated SMS, longer that 160 characters)

In order to receive these additional parameters, you should activate this feature as described in the documentation, at the Delivery Report chapter, subchapter 2, located here.

Documentation

The complete documentation of the SMSLink - SMS Gateway API can be found here, describing all available APIs (HTTP GET / POST, SOAP / WSDL, JSON and more).

Additional modules and integrations

SMSLink also provides modules for major eCommerce platforms (on-premise & on-demand), integrations using Microsoft Power Automate, Zapier or Integromat and many other useful features. Read more about all available features here.

Support

For technical support inquiries contact us at [email protected] or by using any other available method described here.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.