This API allows advertisers to submit a message to a mobile number that already opted-in to one of their lists.
The SMPP service is located at:
- URL: mcpn.us
- Port no': 2775
- Parameters (All are mandatory):
Parameter Name (Case Sensitive) |
Value |
Description |
Remarks |
user |
Advertiser's user id. |
The Advertiser's User Id that matches the api_id |
|
Password |
First 8 characters of the Advertiser's Api Id |
The Advertiser's First 8 characters of the api_id that matches the user i.e. if the api_id is 3kstHn1m4o6kswDa then need to supply only: 3kstHn1m |
Generated from edit profile |
Destination |
Mobile Number |
An international mobile number including the country code |
|
Message |
The SMS message |
|
|
Return Code
- If the API succeeds then it will return with message id.
- If an error occurs then exception is thrown with error code number.
- Here is the list of error Id and its description:
Error Code |
Description |
100 |
User Id is empty |
101 |
Password is empty |
102 |
Mobile destination is empty |
103 |
Message is empty |
104 |
Error while getting user data |
105 |
User not exists or invalid api id |
106 |
This API is not enabled please contact support |
107 |
Mobile destination is invalid |
108 |
This mobile number is not opted in to any of your opt-in lists |
109 |
No credits in the account or account disabled |
110 |
Error with mobile number |
111 |
Error while sending a message |
500 |
General Error |
Comments
0 comments
Article is closed for comments.