1s2u.com API Integrations

A reference for all features available to you via the HTTP interface for sending SMS.

With DLR you will be able to receive the status of sending your messages.

Customize and integrate all your website's monetary analysis into your system, or your Bulk SMS Panel.

Integrate Two-Way Communication with your system through the Inbound API.

Get your SMPP Bulk SMS Gateway with the SMPP API, or become Bulk SMS Provider.

We provide you with SMTP API to be used and integrated in your customized system.

Integrate the HLR API into your system.

Get the access and integerate the App Verification API into your system.

Description

Overview

DLR API Parameters

Parametres Value Description
mno mno The number to which the SMS was sent.
sid sid Sender Id/From clause in the SMS message.
msgid msgid A unique ID for the message
date date The received status date and time
status status The status of the message. Possible statuses include 'failed', DELIVRD, UNDELIV, expired or 'rejected'

DLR Response Codes

Description

https://api.1s2u.io/checkbalance?user=yourusername&pass=yourpassword

Overview

SMS API Parameters

Parametres Value Description
USER user Your account username
PASS pass Your Account Password

Response messages from Get Credits API

Return Values Description
00 Invalid username or password
0 or your account remaining balance remaining balance

Description

Overview

SMS API Parameters

Parametres Value Description
VN Internationl hosted SIM mobile number Your private virtual number
Username Username Your Account username

Response messages from Inbound API

{ "results ":
    [
        {
            "id":"xxxxxxxxxxxx",
            "from":"xxxxx",
            "date":"xxxx",
            "text":"xxxxxx"
        }
    ] 
}

Description

Our Cloud SMPP service is available to you after creating an account on our web site. It uses the same core platform and backend connections as our SMPP service. However you need to contact our support to whitelist your account to use the SMPP service and to add your server IP address to our Cloud SMPP Firewall.

Overview

Authentication

Capabilities & Limitations

SMS API Parameters

Parametres Value Description
Host smpp.1s2u.io You can connect to our SMPP host with your given username and password
Port 2779 Make sure to whitelist our SMPP port at your server side
USERNAME Username Your account username
PASSWORD Password Your Account Password

Description

Description

Overview

yourwebsitelink/?key=xxxx&ref=xxxxx&msisdn=xxxxxxxxxx

SMS API Parameters

Parametres Value Description
Key Key Your private key you can find it above or in user profile page
MsiSdn (Mobile Number) MsiSdn Max 10 numbers use comma between the numbers like 1111222222,333344444,..etc
Ref Ref Reference number for HLR Lookup

Error Code Parameters Details:

Parametres Number Description
Error Code 00 Invalid Reference Number (Should minimum 6 digit and each time you post the request must have unique number) and must be numeric only.
Error Code 01 Invalid Reference Number (Should minimum 6 digit and each time you post the request must have unique number) and must be numeric only.
Error Code 02 Invalid mobile number, for multi number you can use comma between the numbers maximum 500 numbers each time.
Error Code 03 Insufficient Balance.
{ "results ":[
        {
            "to":"xxxxxxxxxxxx",
            "country":"xxxxx",
            "errdesc":"xxxx",
            "operator":"xxxxxx",
            "mccmnc":"xxxxxxxxxxx",
            "imsi":"xx",
            "errcode":"xxxxx",
            "statusdesc":"xxxxxxxxxxxxxx",
            "msgstatus":"xxxxxxxxxxxxxxxx"
        }
    ] 
}

Response nodes description:

Sr. No. Node Name Description
1. to MSISDN for number lookup
2. country Ported country name if number is ported else original country name
3. operator Ported operator name in case of number is ported else original operator name
4. mccmnc Mobile Country Code and Mobile Network Code
5. errcode
6. statusdesc
Further info, please refer to the table below.
7. imsi International Mobile Subscriber Identity, used to uniquely identify the user of a mobile network
8. errdesc Please refer the table below.

Error Code types and descriptions:

Error Description Error Code Permanent
Absent Subscriber 001 false
Call Barred 001 false
Data Missing 001 false
SMS Facility Not Supported 001 false
HLR Abort 001 false
No Response 001 false
Reject Request 001 false
No Error 001 false
MSISDN Not Found 001 false
Invalid MSISDN 001 false
Request Method Not Allowed 001 false
Request Throttled 001 false
Invalid URL 001 false
System Failure 001 false
SMS Tele Service Not Provisioned 002 true
Time Out 001 false
Unexpected Data Value 001 false
Unknown Subscriber 002 true
Service Failure 003 false
CUG Reject 001 false
SMS Facility Not Supported 001 false
System Failure 001 false
Data Missing 001 false
Unexpected Data Value 001 false
Service Unreachable 003 false
Authentication Error 001 false
Not allowed to use this profile 001 false
Not allowed to use this service 001 false
Unknown user 001 false

Description

Overview

http://www.smscin.com/do.php

SMS API Parameters

Parametres Value Description
USERNAME Username you username in our system,like xxx@gmail.com
token token show at First Page you login, like 9ac2d96d7134bdfe61cba4724e174423
pid pid found at project list which you want use.
mobile mobile the mobile number you get, like 8615113875319

Steps for passing the parameters:

Oops! There are no items to display here.

Try selecting one of the category on the left. If it doesn't work,
let us know here.

Related Articles