SMPP
SMPP is an industry standard for sending and receiving SMS. Contact our customer service to enable this feature.
1. Get SMPP account
Please get in touch with customer service to create your own SMPP account.
2. SMPP Usage
① Connect
Please connect the server below:
Server address | Server Port | SSL Server Port |
---|---|---|
smpp.ycloud.com | 30002 | 30012 |
Contact us to retrieve our public certificate.
② Binding
To send a bind request, please contact us to retrieve your SMPP System ID & Password.
Status | Description |
---|---|
0 | Succeed |
3 | Invalid SMPP System ID & Password |
5 | Exceed the limit of connections |
③ Submitting Messages
Status | Description |
---|---|
0 | Succeed |
4 | Invalid phone number |
6 | Exceed the limit of connections |
④ Delivery Reports
Here is an example of the 'short_message' parameter in the 'deliver_sm' PDU:
id:11041301030001006668 sub:001 dlvrd:001 submit date:2111040501 done date:2111040501 stat:DELIVRD err:0 text:none
'submit data' and 'done date' is UTC time.
'err' is '0' when delivered, other numeric values are:
err | Description |
---|---|
3 | Insufficient balance |
4 | Sensitive words are not allowed |
10 | The phone number is on blacklist |
18 | The signature is invalid. Signature is required for Chinese mainland SMS |
65 | Rejected by us, typically for Chinese mainland SMS |
Updated 8 months ago