Changes in C2SMS Send API
You have to pass the DLT approved Template Id as an additional parameter, along with all other parameters as you are passing currently.
Additional Parameter
Parameter Name | How to find its value? | |
DLT_TE_ID | Numeric Value (This DLT Template Id can be found from your DLT platform) | |
dev_mode | 1 (This is used for DLT Testing purposes) When you pass this additional parameter, the SMS will be delivered via DLT scenario. |
Sample Encoded API URLs:
If you are using Sendhttp API, pass DLT_TE_ID parameter in your API base URL
If you are using the V2 API, pass DLT_TE_ID parameter as below:
If you are using Old SendOTP API, pass DLT_TE_ID parameter as below:
Testing of SMS Content Template in DLT scenario:
1. Send an SMS bypassing DLT_TE_ID and dev_mode=1 on your mobile number
2. Now, check your phone for this SMS; if you have received this SMS, that means that this Template, Header, and Template Id combination will work in the right way once the DLT Template is LIVE.
3. If you have not received this SMS, login to the C2SMS panel, go to the logs section, and search for this particular number. You will be able to see the exact reason for failure when you bring the cursor on the red failure sign.
4. Based on the failure reason, correct your mistake and try again.
Notes:
a) Do not pass dev_mode=1 on LIVE traffic, this is just for testing purposes.
b) Kindly start passing your DLT Template Id in your APIs today itself, so you don’t have to make any changes on the Go-LIVE date!